Checkstyle Results

The following document contains the results of Checkstyle .

Summary

Files Infos Warnings Errors
140 0 0 209

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 4
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 7
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 1
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/ChurnPageMaker.java 0 0 1
net/sf/statcvs/output/CommandLineParser.java 0 0 2
net/sf/statcvs/output/ConfigurationOptions.java 0 0 3
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 2
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 6
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 2
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/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. 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'. 117
Error Line matches the illegal pattern 'System\.err\.println'. 122
Error Line matches the illegal pattern 'System\.err\.println'. 123
Error Line matches the illegal pattern 'System\.err\.println'. 128
Error Line matches the illegal pattern 'System\.err\.println'. 129
Error Line matches the illegal pattern 'System\.err\.println'. 134
Error NPath Complexity is 512 (max allowed is 200). 145
Error '1000' is a magic number. 217
Error '1024' is a magic number. 218

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. 72
Error Cyclomatic Complexity is 17 (max allowed is 15). 89
Error NPath Complexity is 65,536 (max allowed is 200). 89
Error 'logFile' hides a field. 149
Error 'outDir' hides a field. 163
Error 'cssFile' hides a field. 204
Error 'notesFile' hides a field. 212
Error 'viewcvs' hides a field. 219
Error 'viewvc' hides a field. 226
Error 'jcvsweb' hides a field. 247
Error Comment matches to-do format 'TODO:'. 280
Error 'nonDeveloperLogin' hides a field. 285

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. 23

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 [CombinedDomainXYPlot, Font, Color, DateAxis, TimeSeries, ArrayList, Date, Dimension, NumberAxis, StandardXYItemRenderer, NumberTickUnit, DecimalFormat, JFreeChart, TimeSeriesCollection, XYPlot, Rectangle, Second]. 61
Error 'static' modifier out of order with the JLS suggestions. 62
Error '10' is a magic number. 97
Error '60.0' is a magic number. 124
Error '6.0' is a magic number. 131
Error '24.0' is a magic number. 133
Error '9' is a magic number. 134
Error '70' is a magic number. 148
Error '110' is a magic number. 148

net/sf/statcvs/charts/DirectoryPieChartMaker.java

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

net/sf/statcvs/charts/LOCChartMaker.java

Error Line
Error Comment matches to-do format 'TODO:'. 40
Error '0xFF' is a magic number. 113
Error '0xFF' is a magic number. 113
Error '0x55' is a magic number. 113
Error '240' is a magic number. 114
Error '220' is a magic number. 114
Error '0x55' is a magic number. 114
Error '0.9' is a magic number. 253
Error '0.1' is a magic number. 253
Error '10' is a magic number. 256

net/sf/statcvs/charts/ModifyAddChartMaker.java

Error Line
Error Cyclomatic Complexity is 16 (max allowed is 15). 56
Error NPath Complexity is 6,984 (max allowed is 200). 56
Error '100' is a magic number. 114
Error '20.0' is a magic number. 139
Error '100.0' is a magic number. 140
Error '19' is a magic number. 144
Error '110' is a magic number. 145

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. 84
Error 'static' modifier out of order with the JLS suggestions. 105

net/sf/statcvs/charts/TimeLineChartMaker.java

Error Line
Error 'timeLine' hides a field. 75

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/ChurnPageMaker.java

Error Line
Error Redundant import from the same package - net.sf.statcvs.output.ReportConfig. 36

net/sf/statcvs/output/CommandLineParser.java

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

net/sf/statcvs/output/ConfigurationOptions.java

Error Line
Error Comment matches to-do format 'TODO:'. 52
Error Class Data Abstraction Coupling is 20 (max allowed is 13) classes [LocalFileCssHandler, Mantis, ConfigurationException, FileReader, TracIntegration, JCVSWebIntegration, ArrayList, DefaultCssHandler, CvswebIntegration, UrlCssHandler, File, ChoraIntegration, Bugzilla, ViewCvsIntegration, FilePatternMatcher, BufferedReader, URL, ViewVcIntegration, FileInputStream, Properties]. 57
Error Utility classes should not have a public or default constructor. 57

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. 28
Error 'static' modifier out of order with the JLS suggestions. 29

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:'. 15
Error 'static' modifier out of order with the JLS suggestions. 26
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. 67

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/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