Checkstyle Results

The following document contains the results of Checkstyle .

Summary

Files Infos Warnings Errors
148 0 0 243

Files

Files I W E
net/sf/statcvs/Main.java 0 0 14
net/sf/statcvs/Messages.java 0 0 4
net/sf/statcvs/ant/StatCvsTask.java 0 0 12
net/sf/statcvs/charts/ChartImage.java 0 0 5
net/sf/statcvs/charts/ChartUtils.java 0 0 9
net/sf/statcvs/charts/CommitScatterChartMaker.java 0 0 9
net/sf/statcvs/charts/DirectoryPieChartMaker.java 0 0 1
net/sf/statcvs/charts/LOCChartMaker.java 0 0 10
net/sf/statcvs/charts/ModifyAddChartMaker.java 0 0 6
net/sf/statcvs/charts/SymbolicNameAnnotation.java 0 0 3
net/sf/statcvs/charts/TimeBarChartMaker.java 0 0 2
net/sf/statcvs/charts/TimeLineChartMaker.java 0 0 2
net/sf/statcvs/charts/package.html 0 0 1
net/sf/statcvs/input/CvsFileBlockParser.java 0 0 2
net/sf/statcvs/input/CvsLogBuilder.java 0 0 3
net/sf/statcvs/input/CvsLogfileParser.java 0 0 3
net/sf/statcvs/input/CvsRevisionParser.java 0 0 5
net/sf/statcvs/input/FileBuilder.java 0 0 5
net/sf/statcvs/input/RepositoryFileManager.java 0 0 2
net/sf/statcvs/model/Author.java 0 0 1
net/sf/statcvs/model/Commit.java 0 0 1
net/sf/statcvs/model/Directory.java 0 0 1
net/sf/statcvs/model/Repository.java 0 0 3
net/sf/statcvs/model/Revision.java 0 0 5
net/sf/statcvs/model/VersionedFile.java 0 0 2
net/sf/statcvs/output/CommandLineParser.java 0 0 2
net/sf/statcvs/output/ConfigurationOptions.java 0 0 11
net/sf/statcvs/output/CssHandler.java 0 0 1
net/sf/statcvs/output/CvswebIntegration.java 0 0 1
net/sf/statcvs/output/RepoMapPageMaker.java 0 0 3
net/sf/statcvs/output/ViewCvsIntegration.java 0 0 1
net/sf/statcvs/output/WebRepositoryIntegration.java 0 0 1
net/sf/statcvs/output/package.html 0 0 1
net/sf/statcvs/pages/CommitListFormatter.java 0 0 2
net/sf/statcvs/pages/DeveloperPageMaker.java 0 0 5
net/sf/statcvs/pages/DirectoryPageMaker.java 0 0 2
net/sf/statcvs/pages/DirectorySizesPageMaker.java 0 0 1
net/sf/statcvs/pages/DirectoryTreeFormatter.java 0 0 1
net/sf/statcvs/pages/HTML.java 0 0 5
net/sf/statcvs/pages/IndexPageMaker.java 0 0 1
net/sf/statcvs/pages/LogPageMaker.java 0 0 2
net/sf/statcvs/pages/MarkupHTML.java 0 0 3
net/sf/statcvs/pages/MarkupXDoc.java 0 0 3
net/sf/statcvs/pages/Page.java 0 0 4
net/sf/statcvs/pages/ReportSuiteMaker.java 0 0 4
net/sf/statcvs/pages/TwitterHelp.java 0 0 3
net/sf/statcvs/pages/package.html 0 0 1
net/sf/statcvs/pages/xml/CommitListXml.java 0 0 1
net/sf/statcvs/pages/xml/DirectoriesXml.java 0 0 1
net/sf/statcvs/pages/xml/FilesXml.java 0 0 1
net/sf/statcvs/pages/xml/GenerateXml.java 0 0 2
net/sf/statcvs/pages/xml/LogXmlMaker.java 0 0 1
net/sf/statcvs/pages/xml/MarkupXML.java 0 0 3
net/sf/statcvs/pages/xml/RevisedFilesXml.java 0 0 2
net/sf/statcvs/pages/xml/XML.java 0 0 2
net/sf/statcvs/pages/xml/package.html 0 0 1
net/sf/statcvs/renderer/HTMLTableCellRenderer.java 0 0 1
net/sf/statcvs/renderer/XMLRenderer.java 0 0 1
net/sf/statcvs/renderer/package.html 0 0 1
net/sf/statcvs/reportmodel/Column.java 0 0 1
net/sf/statcvs/reportmodel/HelperTimePoint.java 0 0 1
net/sf/statcvs/reportmodel/RatioColumn.java 0 0 2
net/sf/statcvs/reportmodel/package.html 0 0 1
net/sf/statcvs/reports/AbstractRollingLocTableReport.java 0 0 11
net/sf/statcvs/reports/CloudCommitTableReport.java 0 0 8
net/sf/statcvs/reports/DevelopersOfTheMonthTable.java 0 0 2
net/sf/statcvs/reports/FileTypeReport.java 0 0 6
net/sf/statcvs/reports/FilesRevisionCountComparator.java 0 0 2
net/sf/statcvs/reports/LOCSeriesBuilder.java 0 0 1
net/sf/statcvs/reports/TopDevelopersTableReport.java 0 0 2
net/sf/statcvs/reports/package.html 0 0 1
net/sf/statcvs/util/ConsoleOutErrHandler.java 0 0 1
net/sf/statcvs/util/CvsLogUtils.java 0 0 2
net/sf/statcvs/util/FilePatternMatcher.java 0 0 4
net/sf/statcvs/util/FileUtils.java 0 0 5
net/sf/statcvs/util/IntegerMap.java 0 0 2
net/sf/statcvs/util/LogFormatter.java 0 0 2
net/sf/statcvs/util/LookaheadReader.java 0 0 1
net/sf/statcvs/weblinks/bugs/BugTracker.java 0 0 1
net/sf/statcvs/weblinks/bugs/package.html 0 0 1

net/sf/statcvs/Main.java

Error Line
Error Utility classes should not have a public or default constructor. 52
Error Line matches the illegal pattern 'System\.out\.println'. 61
Error Line matches the illegal pattern 'System\.err\.println'. 79
Error Line matches the illegal pattern 'System\.err\.println'. 95
Error Line matches the illegal pattern 'System\.out\.println'. 100
Error Line matches the illegal pattern 'System\.out\.println'. 119
Error Line matches the illegal pattern 'System\.err\.println'. 124
Error Line matches the illegal pattern 'System\.err\.println'. 125
Error Line matches the illegal pattern 'System\.err\.println'. 130
Error Line matches the illegal pattern 'System\.err\.println'. 131
Error Line matches the illegal pattern 'System\.err\.println'. 136
Error NPath Complexity is 1,536 (max allowed is 200). 147
Error '1000' is a magic number. 250
Error '1024' is a magic number. 251

net/sf/statcvs/Messages.java

Error Line
Error Utility classes should not have a public or default constructor. 36
Error Return count is 6 (max allowed is 3). 58
Error Nested try depth is 2 (max allowed is 1). 70
Error Must have at least one statement. 75

net/sf/statcvs/ant/StatCvsTask.java

Error Line
Error Redundant throws: 'BuildException' is unchecked exception. 75
Error Cyclomatic Complexity is 19 (max allowed is 15). 92
Error NPath Complexity is 262,144 (max allowed is 200). 92
Error 'logFile' hides a field. 159
Error 'outDir' hides a field. 173
Error 'cssFile' hides a field. 214
Error 'notesFile' hides a field. 222
Error 'viewcvs' hides a field. 229
Error 'viewvc' hides a field. 236
Error 'jcvsweb' hides a field. 257
Error Comment matches to-do format 'TODO:'. 290
Error 'nonDeveloperLogin' hides a field. 295

net/sf/statcvs/charts/ChartImage.java

Error Line
Error Comment matches to-do format 'TODO:'. 15
Error 'static' modifier out of order with the JLS suggestions. 21
Error Name 'logger' must match pattern '^[A-Z][A-Z0-9]*(_[A-Z0-9]+)*$'. 21
Error 'static' modifier out of order with the JLS suggestions. 25
Error 'static' modifier out of order with the JLS suggestions. 26

net/sf/statcvs/charts/ChartUtils.java

Error Line
Error Class ChartUtils should be declared as final. 11
Error '3' is a magic number. 34
Error '3' is a magic number. 46
Error Name 'MAX_RED' must match pattern '^[a-z][a-zA-Z0-9]*$'. 52
Error '200' is a magic number. 52
Error Name 'MAX_GREEN' must match pattern '^[a-z][a-zA-Z0-9]*$'. 53
Error '150' is a magic number. 53
Error Name 'MAX_BLUE' must match pattern '^[a-z][a-zA-Z0-9]*$'. 54
Error '250' is a magic number. 54

net/sf/statcvs/charts/CommitScatterChartMaker.java

Error Line
Error Class Data Abstraction Coupling is 17 (max allowed is 13) classes [Second, StandardXYItemRenderer, Dimension, JFreeChart, Color, NumberTickUnit, DateAxis, CombinedDomainXYPlot, TimeSeries, Date, DecimalFormat, Font, TimeSeriesCollection, Rectangle, ArrayList, XYPlot, NumberAxis]. 61
Error 'static' modifier out of order with the JLS suggestions. 63
Error '10' is a magic number. 98
Error '60.0' is a magic number. 136
Error '6.0' is a magic number. 143
Error '24.0' is a magic number. 145
Error '9' is a magic number. 146
Error '70' is a magic number. 160
Error '110' is a magic number. 160

net/sf/statcvs/charts/DirectoryPieChartMaker.java

Error Line
Error '0.8f' is a magic number. 92

net/sf/statcvs/charts/LOCChartMaker.java

Error Line
Error Comment matches to-do format 'TODO:'. 41
Error '0xFF' is a magic number. 120
Error '0xFF' is a magic number. 120
Error '0x55' is a magic number. 120
Error '240' is a magic number. 121
Error '220' is a magic number. 121
Error '0x55' is a magic number. 121
Error '0.9' is a magic number. 270
Error '0.1' is a magic number. 270
Error '10' is a magic number. 273

net/sf/statcvs/charts/ModifyAddChartMaker.java

Error Line
Error Cyclomatic Complexity is 16 (max allowed is 15). 57
Error NPath Complexity is 6,984 (max allowed is 200). 57
Error '100' is a magic number. 115
Error '20.0' is a magic number. 140
Error '100.0' is a magic number. 141
Error '110' is a magic number. 155

net/sf/statcvs/charts/SymbolicNameAnnotation.java

Error Line
Error Comment matches to-do format 'TODO:'. 34
Error 'static' modifier out of order with the JLS suggestions. 60
Error Line is longer than 160 characters. 82

net/sf/statcvs/charts/TimeBarChartMaker.java

Error Line
Error 'static' modifier out of order with the JLS suggestions. 100
Error 'static' modifier out of order with the JLS suggestions. 121

net/sf/statcvs/charts/TimeLineChartMaker.java

Error Line
Error Line is longer than 160 characters. 45
Error 'timeLine' hides a field. 91

net/sf/statcvs/charts/package.html

Error Line
Error Missing package documentation file. 0

net/sf/statcvs/input/CvsFileBlockParser.java

Error Line
Error Must have at least one statement. 145
Error Must have at least one statement. 161

net/sf/statcvs/input/CvsLogBuilder.java

Error Line
Error Redundant 'public' modifier. 51
Error Redundant 'public' modifier. 63
Error Redundant 'public' modifier. 71

net/sf/statcvs/input/CvsLogfileParser.java

Error Line
Error Comment matches to-do format 'TODO:'. 75
Error Must have at least one statement. 94
Error Must have at least one statement. 104

net/sf/statcvs/input/CvsRevisionParser.java

Error Line
Error '6' is a magic number. 131
Error '11' is a magic number. 140
Error '10' is a magic number. 143
Error '8' is a magic number. 157
Error Must have at least one statement. 190

net/sf/statcvs/input/FileBuilder.java

Error Line
Error Unused import - net.sf.statcvs.model.Revision. 35
Error Return count is 4 (max allowed is 3). 122
Error Must have at least one statement. 178
Error Return count is 5 (max allowed is 3). 206
Error '60000' is a magic number. 308

net/sf/statcvs/input/RepositoryFileManager.java

Error Line
Error Must have at least one statement. 108
Error Must have at least one statement. 115

net/sf/statcvs/model/Author.java

Error Line
Error Comment matches to-do format 'TODO:'. 28

net/sf/statcvs/model/Commit.java

Error Line
Error Comment matches to-do format 'TODO:'. 32

net/sf/statcvs/model/Directory.java

Error Line
Error Comment matches to-do format 'TODO:'. 32

net/sf/statcvs/model/Repository.java

Error Line
Error Comment matches to-do format 'TODO:'. 33
Error Comment matches to-do format 'TODO:'. 34
Error Comment matches to-do format 'TODO:'. 79

net/sf/statcvs/model/Revision.java

Error Line
Error Comment matches to-do format 'TODO:'. 36
Error Comment matches to-do format 'TODO:'. 37
Error More than 8 parameters. 100
Error Return count is 7 (max allowed is 3). 291
Error Comment matches to-do format 'TODO:'. 320

net/sf/statcvs/model/VersionedFile.java

Error Line
Error Comment matches to-do format 'TODO:'. 34
Error Line is longer than 160 characters. 208

net/sf/statcvs/output/CommandLineParser.java

Error Line
Error Cyclomatic Complexity is 48 (max allowed is 15). 76
Error switch without "default" clause. 226

net/sf/statcvs/output/ConfigurationOptions.java

Error Line
Error Comment matches to-do format 'TODO:'. 58
Error Class Data Abstraction Coupling is 23 (max allowed is 13) classes [DefaultCssHandler, FileReader, StandardXYBarPainter, File, CvswebIntegration, Mantis, JCVSWebIntegration, ConfigurationException, Color, Properties, ChoraIntegration, FileInputStream, ViewCvsIntegration, BufferedReader, StandardBarPainter, TracIntegration, ViewVcIntegration, FilePatternMatcher, ArrayList, URL, UrlCssHandler, LocalFileCssHandler, Bugzilla]. 63
Error Utility classes should not have a public or default constructor. 63
Error '6' is a magic number. 589
Error '16' is a magic number. 592
Error Return count is 4 (max allowed is 3). 604
Error Return count is 4 (max allowed is 3). 626
Error Return count is 4 (max allowed is 3). 648
Error Return count is 4 (max allowed is 3). 673
Error '6' is a magic number. 681
Error '16' is a magic number. 684

net/sf/statcvs/output/CssHandler.java

Error Line
Error Comment matches to-do format 'TODO:'. 32

net/sf/statcvs/output/CvswebIntegration.java

Error Line
Error Parameter baseURL should be final. 46

net/sf/statcvs/output/RepoMapPageMaker.java

Error Line
Error Unused import - net.sf.statcvs.model.Repository. 35
Error Must have at least one statement. 122
Error Line is longer than 160 characters. 240

net/sf/statcvs/output/ViewCvsIntegration.java

Error Line
Error Parameter baseURL should be final. 46

net/sf/statcvs/output/WebRepositoryIntegration.java

Error Line
Error Redundant 'public' modifier. 94

net/sf/statcvs/output/package.html

Error Line
Error Missing package documentation file. 0

net/sf/statcvs/pages/CommitListFormatter.java

Error Line
Error Cyclomatic Complexity is 17 (max allowed is 15). 175
Error NPath Complexity is 307 (max allowed is 200). 175

net/sf/statcvs/pages/DeveloperPageMaker.java

Error Line
Error 'static' modifier out of order with the JLS suggestions. 30
Error 'static' modifier out of order with the JLS suggestions. 31
Error NPath Complexity is 1,024 (max allowed is 200). 56
Error Line is longer than 160 characters. 114
Error Line is longer than 160 characters. 123

net/sf/statcvs/pages/DirectoryPageMaker.java

Error Line
Error 'static' modifier out of order with the JLS suggestions. 28
Error Empty statement. 68

net/sf/statcvs/pages/DirectorySizesPageMaker.java

Error Line
Error '6' is a magic number. 26

net/sf/statcvs/pages/DirectoryTreeFormatter.java

Error Line
Error 'directory' hides a field. 64

net/sf/statcvs/pages/HTML.java

Error Line
Error Comment matches to-do format 'TODO:'. 14
Error Comment matches to-do format 'TODO:'. 161
Error Line matches the illegal pattern 'System\.out\.println'. 255
Error Line matches the illegal pattern 'System\.out\.println'. 257
Error Line matches the illegal pattern 'System\.out\.println'. 262

net/sf/statcvs/pages/IndexPageMaker.java

Error Line
Error '10' is a magic number. 80

net/sf/statcvs/pages/LogPageMaker.java

Error Line
Error 'static' modifier out of order with the JLS suggestions. 19
Error 'static' modifier out of order with the JLS suggestions. 20

net/sf/statcvs/pages/MarkupHTML.java

Error Line
Error Class MarkupHTML should be declared as final. 10
Error 'static' modifier out of order with the JLS suggestions. 11
Error Name 'instance' must match pattern '^[A-Z][A-Z0-9]*(_[A-Z0-9]+)*$'. 11

net/sf/statcvs/pages/MarkupXDoc.java

Error Line
Error Class MarkupXDoc should be declared as final. 10
Error 'static' modifier out of order with the JLS suggestions. 11
Error Name 'instance' must match pattern '^[A-Z][A-Z0-9]*(_[A-Z0-9]+)*$'. 11

net/sf/statcvs/pages/Page.java

Error Line
Error 'static' modifier out of order with the JLS suggestions. 22
Error 'static' modifier out of order with the JLS suggestions. 24
Error Name 'logger' must match pattern '^[A-Z][A-Z0-9]*(_[A-Z0-9]+)*$'. 24
Error 'siblingsTitle' hides a field. 72

net/sf/statcvs/pages/ReportSuiteMaker.java

Error Line
Error Comment matches to-do format 'TODO:'. 18
Error Comment matches to-do format 'TODO:'. 75
Error Line matches the illegal pattern 'System\.out\.println'. 102
Error Line matches the illegal pattern 'System\.out\.println'. 106

net/sf/statcvs/pages/TwitterHelp.java

Error Line
Error Line matches the illegal pattern 'System\.out\.println'. 78
Error Line matches the illegal pattern 'System\.out\.println'. 81
Error Name 'month_year' must match pattern '^[a-z][a-zA-Z0-9]*$'. 87

net/sf/statcvs/pages/package.html

Error Line
Error Missing package documentation file. 0

net/sf/statcvs/pages/xml/CommitListXml.java

Error Line
Error Name 'File' must match pattern '^[a-z][a-zA-Z0-9]*$'. 139

net/sf/statcvs/pages/xml/DirectoriesXml.java

Error Line
Error Line matches the illegal pattern 'System\.err\.println'. 57

net/sf/statcvs/pages/xml/FilesXml.java

Error Line
Error 'static' modifier out of order with the JLS suggestions. 26

net/sf/statcvs/pages/xml/GenerateXml.java

Error Line
Error Name 'gen_time' must match pattern '^[a-z][a-zA-Z0-9]*$'. 47
Error Line matches the illegal pattern 'System\.err\.println'. 137

net/sf/statcvs/pages/xml/LogXmlMaker.java

Error Line
Error 'static' modifier out of order with the JLS suggestions. 22

net/sf/statcvs/pages/xml/MarkupXML.java

Error Line
Error Class MarkupXML should be declared as final. 12
Error 'static' modifier out of order with the JLS suggestions. 13
Error Name 'instance' must match pattern '^[A-Z][A-Z0-9]*(_[A-Z0-9]+)*$'. 13

net/sf/statcvs/pages/xml/RevisedFilesXml.java

Error Line
Error 'static' modifier out of order with the JLS suggestions. 29
Error Redundant throws: 'NoSuchElementException' is unchecked exception. 66

net/sf/statcvs/pages/xml/XML.java

Error Line
Error Comment matches to-do format 'TODO:'. 13
Error Comment matches to-do format 'TODO:'. 114

net/sf/statcvs/pages/xml/package.html

Error Line
Error Missing package documentation file. 0

net/sf/statcvs/renderer/HTMLTableCellRenderer.java

Error Line
Error '10.0' is a magic number. 169

net/sf/statcvs/renderer/XMLRenderer.java

Error Line
Error '10.0' is a magic number. 138

net/sf/statcvs/renderer/package.html

Error Line
Error Missing package documentation file. 0

net/sf/statcvs/reportmodel/Column.java

Error Line
Error Comment matches to-do format 'TODO:'. 47

net/sf/statcvs/reportmodel/HelperTimePoint.java

Error Line
Error Class HelperTimePoint should be declared as final. 34

net/sf/statcvs/reportmodel/RatioColumn.java

Error Line
Error '10' is a magic number. 85
Error '10' is a magic number. 86

net/sf/statcvs/reportmodel/package.html

Error Line
Error Missing package documentation file. 0

net/sf/statcvs/reports/AbstractRollingLocTableReport.java

Error Line
Error '23' is a magic number. 92
Error '59' is a magic number. 93
Error '59' is a magic number. 94
Error '999' is a magic number. 95
Error Line matches the illegal pattern 'System\.out\.println'. 97
Error Line matches the illegal pattern 'System\.out\.println'. 98
Error 'cutOff' hides a field. 114
Error '12' is a magic number. 127
Error Line matches the illegal pattern 'System\.out\.println'. 130
Error '12' is a magic number. 133
Error Line matches the illegal pattern 'System\.out\.println'. 175

net/sf/statcvs/reports/CloudCommitTableReport.java

Error Line
Error Line is longer than 160 characters. 26
Error Line is longer than 160 characters. 28
Error Line matches the illegal pattern 'System\.out\.println'. 83
Error Line matches the illegal pattern 'System\.out\.println'. 110
Error '3' is a magic number. 125
Error '-2' is a magic number. 175
Error '10' is a magic number. 175
Error Line matches the illegal pattern 'System\.out\.println'. 176

net/sf/statcvs/reports/DevelopersOfTheMonthTable.java

Error Line
Error 'static' modifier out of order with the JLS suggestions. 36
Error Name 'month_year' must match pattern '^[a-z][a-zA-Z0-9]*$'. 75

net/sf/statcvs/reports/FileTypeReport.java

Error Line
Error 'static' modifier out of order with the JLS suggestions. 17
Error 'static' modifier out of order with the JLS suggestions. 18
Error 'static' modifier out of order with the JLS suggestions. 19
Error Name 'extensionPattern' must match pattern '^[A-Z][A-Z0-9]*(_[A-Z0-9]+)*$'. 19
Error '80' is a magic number. 68
Error '10' is a magic number. 68

net/sf/statcvs/reports/FilesRevisionCountComparator.java

Error Line
Error Return count is 5 (max allowed is 3). 44
Error '-2' is a magic number. 50

net/sf/statcvs/reports/LOCSeriesBuilder.java

Error Line
Error Comment matches to-do format 'TODO:'. 17

net/sf/statcvs/reports/TopDevelopersTableReport.java

Error Line
Error '10' is a magic number. 39
Error '10' is a magic number. 60

net/sf/statcvs/reports/package.html

Error Line
Error Missing package documentation file. 0

net/sf/statcvs/util/ConsoleOutErrHandler.java

Error Line
Error Redundant throws: 'SecurityException' is unchecked exception. 76

net/sf/statcvs/util/CvsLogUtils.java

Error Line
Error Utility classes should not have a public or default constructor. 31
Error Return count is 7 (max allowed is 3). 109

net/sf/statcvs/util/FilePatternMatcher.java

Error Line
Error Return count is 5 (max allowed is 3). 81
Error '3' is a magic number. 94
Error '3' is a magic number. 102
Error '4' is a magic number. 113

net/sf/statcvs/util/FileUtils.java

Error Line
Error Comment matches to-do format 'TODO:'. 35
Error Utility classes should not have a public or default constructor. 39
Error Redundant throws: 'FileNotFoundException' is subclass of 'IOException'. 47
Error Redundant throws: 'FileNotFoundException' is subclass of 'IOException'. 79
Error '1024' is a magic number. 84

net/sf/statcvs/util/IntegerMap.java

Error Line
Error '100' is a magic number. 104
Error '100' is a magic number. 117

net/sf/statcvs/util/LogFormatter.java

Error Line
Error '7' is a magic number. 51
Error Line matches the illegal pattern 'System\.err\.println'. 73

net/sf/statcvs/util/LookaheadReader.java

Error Line
Error Return count is 4 (max allowed is 3). 97

net/sf/statcvs/weblinks/bugs/BugTracker.java

Error Line
Error Name 'bugRegex' must match pattern '^[A-Z][A-Z0-9]*(_[A-Z0-9]+)*$'. 19

net/sf/statcvs/weblinks/bugs/package.html

Error Line
Error Missing package documentation file. 0