Checkstyle Errors

The following document contains the results of Checkstyle for severity error.

Summary

Files Errors
146 237

Files

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

net/sf/statcvs/Main.java

Error Line
Error Utility classes should not have a public or default constructor. 51
Error Line matches the illegal pattern 'System\.out\.println'. 60
Error Line matches the illegal pattern 'System\.err\.println'. 78
Error Line matches the illegal pattern 'System\.err\.println'. 94
Error Line matches the illegal pattern 'System\.out\.println'. 99
Error Line matches the illegal pattern 'System\.out\.println'. 118
Error Line matches the illegal pattern 'System\.err\.println'. 123
Error Line matches the illegal pattern 'System\.err\.println'. 124
Error Line matches the illegal pattern 'System\.err\.println'. 129
Error Line matches the illegal pattern 'System\.err\.println'. 130
Error Line matches the illegal pattern 'System\.err\.println'. 135
Error NPath Complexity is 512 (max allowed is 200). 146
Error '1000' is a magic number. 218
Error '1024' is a magic number. 219

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. 73
Error Cyclomatic Complexity is 18 (max allowed is 15). 90
Error NPath Complexity is 131,072 (max allowed is 200). 90
Error 'logFile' hides a field. 153
Error 'outDir' hides a field. 167
Error 'cssFile' hides a field. 208
Error 'notesFile' hides a field. 216
Error 'viewcvs' hides a field. 223
Error 'viewvc' hides a field. 230
Error 'jcvsweb' hides a field. 251
Error Comment matches to-do format 'TODO:'. 284
Error 'nonDeveloperLogin' hides a field. 289

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 47 (max allowed is 15). 76
Error switch without "default" clause. 224

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. 588
Error '16' is a magic number. 591
Error Return count is 4 (max allowed is 3). 603
Error Return count is 4 (max allowed is 3). 625
Error Return count is 4 (max allowed is 3). 647
Error Return count is 4 (max allowed is 3). 672
Error '6' is a magic number. 680
Error '16' is a magic number. 683

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. 29
Error 'static' modifier out of order with the JLS suggestions. 30
Error NPath Complexity is 512 (max allowed is 200). 55
Error Line is longer than 160 characters. 110
Error Line is longer than 160 characters. 119

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'. 220
Error Line matches the illegal pattern 'System\.out\.println'. 222
Error Line matches the illegal pattern 'System\.out\.println'. 227

net/sf/statcvs/pages/IndexPageMaker.java

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

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. 9
Error 'static' modifier out of order with the JLS suggestions. 10
Error Name 'instance' must match pattern '^[A-Z][A-Z0-9]*(_[A-Z0-9]+)*$'. 10

net/sf/statcvs/pages/MarkupXDoc.java

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

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:'. 73

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 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. 32
Error Name 'month_year' must match pattern '^[a-z][a-zA-Z0-9]*$'. 67

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