Checkstyle Errors
The following document contains the results of
Checkstyle
for severity error.
Files
net/sf/statcvs/Main.java
| Error |
Line |
|
Utility classes should not have a public or default constructor. |
51
|
|
Line matches the illegal pattern 'System\.out\.println'. |
60
|
|
Line matches the illegal pattern 'System\.err\.println'. |
78
|
|
Line matches the illegal pattern 'System\.err\.println'. |
94
|
|
Line matches the illegal pattern 'System\.out\.println'. |
99
|
|
Line matches the illegal pattern 'System\.out\.println'. |
117
|
|
Line matches the illegal pattern 'System\.err\.println'. |
122
|
|
Line matches the illegal pattern 'System\.err\.println'. |
123
|
|
Line matches the illegal pattern 'System\.err\.println'. |
128
|
|
Line matches the illegal pattern 'System\.err\.println'. |
129
|
|
Line matches the illegal pattern 'System\.err\.println'. |
134
|
|
NPath Complexity is 512 (max allowed is 200). |
145
|
|
'1000' is a magic number. |
217
|
|
'1024' is a magic number. |
218
|
net/sf/statcvs/Messages.java
| Error |
Line |
|
Utility classes should not have a public or default constructor. |
36
|
|
Return count is 6 (max allowed is 3). |
58
|
|
Nested try depth is 2 (max allowed is 1). |
70
|
|
Must have at least one statement. |
75
|
net/sf/statcvs/ant/StatCvsTask.java
| Error |
Line |
|
Redundant throws: 'BuildException' is unchecked exception. |
72
|
|
Cyclomatic Complexity is 17 (max allowed is 15). |
89
|
|
NPath Complexity is 65,536 (max allowed is 200). |
89
|
|
'logFile' hides a field. |
149
|
|
'outDir' hides a field. |
163
|
|
'cssFile' hides a field. |
204
|
|
'notesFile' hides a field. |
212
|
|
'viewcvs' hides a field. |
219
|
|
'viewvc' hides a field. |
226
|
|
'jcvsweb' hides a field. |
247
|
|
Comment matches to-do format 'TODO:'. |
280
|
|
'nonDeveloperLogin' hides a field. |
285
|
net/sf/statcvs/charts/ChartImage.java
| Error |
Line |
|
Comment matches to-do format 'TODO:'. |
15
|
|
'static' modifier out of order with the JLS suggestions. |
21
|
|
Name 'logger' must match pattern '^[A-Z][A-Z0-9]*(_[A-Z0-9]+)*$'. |
21
|
|
'static' modifier out of order with the JLS suggestions. |
23
|
net/sf/statcvs/charts/ChartUtils.java
| Error |
Line |
|
Class ChartUtils should be declared as final. |
11
|
|
'3' is a magic number. |
34
|
|
'3' is a magic number. |
46
|
|
Name 'MAX_RED' must match pattern '^[a-z][a-zA-Z0-9]*$'. |
52
|
|
'200' is a magic number. |
52
|
|
Name 'MAX_GREEN' must match pattern '^[a-z][a-zA-Z0-9]*$'. |
53
|
|
'150' is a magic number. |
53
|
|
Name 'MAX_BLUE' must match pattern '^[a-z][a-zA-Z0-9]*$'. |
54
|
|
'250' is a magic number. |
54
|
net/sf/statcvs/charts/CommitScatterChartMaker.java
| Error |
Line |
|
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
|
|
'static' modifier out of order with the JLS suggestions. |
62
|
|
'10' is a magic number. |
97
|
|
'60.0' is a magic number. |
124
|
|
'6.0' is a magic number. |
131
|
|
'24.0' is a magic number. |
133
|
|
'9' is a magic number. |
134
|
|
'70' is a magic number. |
148
|
|
'110' is a magic number. |
148
|
net/sf/statcvs/charts/DirectoryPieChartMaker.java
| Error |
Line |
|
'0.8f' is a magic number. |
89
|
net/sf/statcvs/charts/LOCChartMaker.java
| Error |
Line |
|
Comment matches to-do format 'TODO:'. |
40
|
|
'0xFF' is a magic number. |
113
|
|
'0xFF' is a magic number. |
113
|
|
'0x55' is a magic number. |
113
|
|
'240' is a magic number. |
114
|
|
'220' is a magic number. |
114
|
|
'0x55' is a magic number. |
114
|
|
'0.9' is a magic number. |
253
|
|
'0.1' is a magic number. |
253
|
|
'10' is a magic number. |
256
|
net/sf/statcvs/charts/ModifyAddChartMaker.java
| Error |
Line |
|
Cyclomatic Complexity is 16 (max allowed is 15). |
56
|
|
NPath Complexity is 6,984 (max allowed is 200). |
56
|
|
'100' is a magic number. |
114
|
|
'20.0' is a magic number. |
139
|
|
'100.0' is a magic number. |
140
|
|
'19' is a magic number. |
144
|
|
'110' is a magic number. |
145
|
net/sf/statcvs/charts/SymbolicNameAnnotation.java
| Error |
Line |
|
Comment matches to-do format 'TODO:'. |
34
|
|
'static' modifier out of order with the JLS suggestions. |
60
|
|
Line is longer than 160 characters. |
82
|
net/sf/statcvs/charts/TimeBarChartMaker.java
| Error |
Line |
|
'static' modifier out of order with the JLS suggestions. |
84
|
|
'static' modifier out of order with the JLS suggestions. |
105
|
net/sf/statcvs/charts/TimeLineChartMaker.java
| Error |
Line |
|
'timeLine' hides a field. |
75
|
net/sf/statcvs/charts/package.html
| Error |
Line |
|
Missing package documentation file. |
0 |
net/sf/statcvs/input/CvsFileBlockParser.java
| Error |
Line |
|
Must have at least one statement. |
145
|
|
Must have at least one statement. |
161
|
net/sf/statcvs/input/CvsLogBuilder.java
| Error |
Line |
|
Redundant 'public' modifier. |
51
|
|
Redundant 'public' modifier. |
63
|
|
Redundant 'public' modifier. |
71
|
net/sf/statcvs/input/CvsLogfileParser.java
| Error |
Line |
|
Comment matches to-do format 'TODO:'. |
75
|
|
Must have at least one statement. |
94
|
|
Must have at least one statement. |
104
|
net/sf/statcvs/input/CvsRevisionParser.java
| Error |
Line |
|
'6' is a magic number. |
131
|
|
'11' is a magic number. |
140
|
|
'10' is a magic number. |
143
|
|
'8' is a magic number. |
157
|
|
Must have at least one statement. |
190
|
net/sf/statcvs/input/FileBuilder.java
| Error |
Line |
|
Unused import - net.sf.statcvs.model.Revision. |
35
|
|
Return count is 4 (max allowed is 3). |
122
|
|
Must have at least one statement. |
178
|
|
Return count is 5 (max allowed is 3). |
206
|
|
'60000' is a magic number. |
308
|
net/sf/statcvs/input/RepositoryFileManager.java
| Error |
Line |
|
Must have at least one statement. |
108
|
|
Must have at least one statement. |
115
|
net/sf/statcvs/model/Author.java
| Error |
Line |
|
Comment matches to-do format 'TODO:'. |
28
|
net/sf/statcvs/model/Commit.java
| Error |
Line |
|
Comment matches to-do format 'TODO:'. |
32
|
net/sf/statcvs/model/Directory.java
| Error |
Line |
|
Comment matches to-do format 'TODO:'. |
32
|
net/sf/statcvs/model/Repository.java
| Error |
Line |
|
Comment matches to-do format 'TODO:'. |
33
|
|
Comment matches to-do format 'TODO:'. |
34
|
|
Comment matches to-do format 'TODO:'. |
79
|
net/sf/statcvs/model/Revision.java
| Error |
Line |
|
Comment matches to-do format 'TODO:'. |
36
|
|
Comment matches to-do format 'TODO:'. |
37
|
|
More than 8 parameters. |
100
|
|
Return count is 7 (max allowed is 3). |
291
|
|
Comment matches to-do format 'TODO:'. |
320
|
net/sf/statcvs/model/VersionedFile.java
| Error |
Line |
|
Comment matches to-do format 'TODO:'. |
34
|
|
Line is longer than 160 characters. |
208
|
net/sf/statcvs/output/ChurnPageMaker.java
| Error |
Line |
|
Redundant import from the same package - net.sf.statcvs.output.ReportConfig. |
36
|
net/sf/statcvs/output/CommandLineParser.java
| Error |
Line |
|
Cyclomatic Complexity is 45 (max allowed is 15). |
76
|
|
switch without "default" clause. |
219
|
net/sf/statcvs/output/ConfigurationOptions.java
| Error |
Line |
|
Comment matches to-do format 'TODO:'. |
52
|
|
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
|
|
Utility classes should not have a public or default constructor. |
57
|
net/sf/statcvs/output/CssHandler.java
| Error |
Line |
|
Comment matches to-do format 'TODO:'. |
32
|
net/sf/statcvs/output/CvswebIntegration.java
| Error |
Line |
|
Parameter baseURL should be final. |
46
|
net/sf/statcvs/output/RepoMapPageMaker.java
| Error |
Line |
|
Unused import - net.sf.statcvs.model.Repository. |
35
|
|
Must have at least one statement. |
122
|
|
Line is longer than 160 characters. |
240
|
net/sf/statcvs/output/ViewCvsIntegration.java
| Error |
Line |
|
Parameter baseURL should be final. |
46
|
net/sf/statcvs/output/WebRepositoryIntegration.java
| Error |
Line |
|
Redundant 'public' modifier. |
94
|
net/sf/statcvs/output/package.html
| Error |
Line |
|
Missing package documentation file. |
0 |
net/sf/statcvs/pages/CommitListFormatter.java
| Error |
Line |
|
Cyclomatic Complexity is 17 (max allowed is 15). |
175
|
|
NPath Complexity is 307 (max allowed is 200). |
175
|
net/sf/statcvs/pages/DeveloperPageMaker.java
| Error |
Line |
|
'static' modifier out of order with the JLS suggestions. |
28
|
|
'static' modifier out of order with the JLS suggestions. |
29
|
net/sf/statcvs/pages/DirectoryPageMaker.java
| Error |
Line |
|
'static' modifier out of order with the JLS suggestions. |
28
|
|
Empty statement. |
68
|
net/sf/statcvs/pages/DirectorySizesPageMaker.java
| Error |
Line |
|
'6' is a magic number. |
26
|
net/sf/statcvs/pages/DirectoryTreeFormatter.java
| Error |
Line |
|
'directory' hides a field. |
64
|
net/sf/statcvs/pages/HTML.java
| Error |
Line |
|
Comment matches to-do format 'TODO:'. |
15
|
|
'static' modifier out of order with the JLS suggestions. |
26
|
|
Comment matches to-do format 'TODO:'. |
161
|
|
Line matches the illegal pattern 'System\.out\.println'. |
220
|
|
Line matches the illegal pattern 'System\.out\.println'. |
222
|
|
Line matches the illegal pattern 'System\.out\.println'. |
227
|
net/sf/statcvs/pages/IndexPageMaker.java
| Error |
Line |
|
'10' is a magic number. |
67
|
net/sf/statcvs/pages/LogPageMaker.java
| Error |
Line |
|
'static' modifier out of order with the JLS suggestions. |
19
|
|
'static' modifier out of order with the JLS suggestions. |
20
|
net/sf/statcvs/pages/MarkupHTML.java
| Error |
Line |
|
Class MarkupHTML should be declared as final. |
9
|
|
'static' modifier out of order with the JLS suggestions. |
10
|
|
Name 'instance' must match pattern '^[A-Z][A-Z0-9]*(_[A-Z0-9]+)*$'. |
10
|
net/sf/statcvs/pages/MarkupXDoc.java
| Error |
Line |
|
Class MarkupXDoc should be declared as final. |
8
|
|
'static' modifier out of order with the JLS suggestions. |
9
|
|
Name 'instance' must match pattern '^[A-Z][A-Z0-9]*(_[A-Z0-9]+)*$'. |
9
|
net/sf/statcvs/pages/Page.java
| Error |
Line |
|
'static' modifier out of order with the JLS suggestions. |
22
|
|
'static' modifier out of order with the JLS suggestions. |
24
|
|
Name 'logger' must match pattern '^[A-Z][A-Z0-9]*(_[A-Z0-9]+)*$'. |
24
|
|
'siblingsTitle' hides a field. |
72
|
net/sf/statcvs/pages/ReportSuiteMaker.java
| Error |
Line |
|
Comment matches to-do format 'TODO:'. |
18
|
|
Comment matches to-do format 'TODO:'. |
73
|
net/sf/statcvs/pages/package.html
| Error |
Line |
|
Missing package documentation file. |
0 |
net/sf/statcvs/pages/xml/CommitListXml.java
| Error |
Line |
|
Name 'File' must match pattern '^[a-z][a-zA-Z0-9]*$'. |
139
|
net/sf/statcvs/pages/xml/DirectoriesXml.java
| Error |
Line |
|
Line matches the illegal pattern 'System\.err\.println'. |
57
|
net/sf/statcvs/pages/xml/FilesXml.java
| Error |
Line |
|
'static' modifier out of order with the JLS suggestions. |
26
|
net/sf/statcvs/pages/xml/GenerateXml.java
| Error |
Line |
|
Name 'gen_time' must match pattern '^[a-z][a-zA-Z0-9]*$'. |
47
|
|
Line matches the illegal pattern 'System\.err\.println'. |
137
|
net/sf/statcvs/pages/xml/LogXmlMaker.java
| Error |
Line |
|
'static' modifier out of order with the JLS suggestions. |
22
|
net/sf/statcvs/pages/xml/MarkupXML.java
| Error |
Line |
|
Class MarkupXML should be declared as final. |
12
|
|
'static' modifier out of order with the JLS suggestions. |
13
|
|
Name 'instance' must match pattern '^[A-Z][A-Z0-9]*(_[A-Z0-9]+)*$'. |
13
|
net/sf/statcvs/pages/xml/RevisedFilesXml.java
| Error |
Line |
|
'static' modifier out of order with the JLS suggestions. |
29
|
|
Redundant throws: 'NoSuchElementException' is unchecked exception. |
66
|
net/sf/statcvs/pages/xml/XML.java
| Error |
Line |
|
Comment matches to-do format 'TODO:'. |
13
|
|
Comment matches to-do format 'TODO:'. |
114
|
net/sf/statcvs/pages/xml/package.html
| Error |
Line |
|
Missing package documentation file. |
0 |
net/sf/statcvs/renderer/HTMLTableCellRenderer.java
| Error |
Line |
|
'10.0' is a magic number. |
169
|
net/sf/statcvs/renderer/XMLRenderer.java
| Error |
Line |
|
'10.0' is a magic number. |
138
|
net/sf/statcvs/renderer/package.html
| Error |
Line |
|
Missing package documentation file. |
0 |
net/sf/statcvs/reportmodel/Column.java
| Error |
Line |
|
Comment matches to-do format 'TODO:'. |
47
|
net/sf/statcvs/reportmodel/HelperTimePoint.java
| Error |
Line |
|
Class HelperTimePoint should be declared as final. |
34
|
net/sf/statcvs/reportmodel/RatioColumn.java
| Error |
Line |
|
'10' is a magic number. |
85
|
|
'10' is a magic number. |
86
|
net/sf/statcvs/reportmodel/package.html
| Error |
Line |
|
Missing package documentation file. |
0 |
net/sf/statcvs/reports/DevelopersOfTheMonthTable.java
| Error |
Line |
|
'static' modifier out of order with the JLS suggestions. |
32
|
|
Name 'month_year' must match pattern '^[a-z][a-zA-Z0-9]*$'. |
67
|
net/sf/statcvs/reports/FileTypeReport.java
| Error |
Line |
|
'static' modifier out of order with the JLS suggestions. |
17
|
|
'static' modifier out of order with the JLS suggestions. |
18
|
|
'static' modifier out of order with the JLS suggestions. |
19
|
|
Name 'extensionPattern' must match pattern '^[A-Z][A-Z0-9]*(_[A-Z0-9]+)*$'. |
19
|
|
'80' is a magic number. |
68
|
|
'10' is a magic number. |
68
|
net/sf/statcvs/reports/FilesRevisionCountComparator.java
| Error |
Line |
|
Return count is 5 (max allowed is 3). |
44
|
|
'-2' is a magic number. |
50
|
net/sf/statcvs/reports/LOCSeriesBuilder.java
| Error |
Line |
|
Comment matches to-do format 'TODO:'. |
17
|
net/sf/statcvs/reports/TopDevelopersTableReport.java
| Error |
Line |
|
'10' is a magic number. |
39
|
|
'10' is a magic number. |
60
|
net/sf/statcvs/reports/package.html
| Error |
Line |
|
Missing package documentation file. |
0 |
net/sf/statcvs/util/ConsoleOutErrHandler.java
| Error |
Line |
|
Redundant throws: 'SecurityException' is unchecked exception. |
76
|
net/sf/statcvs/util/CvsLogUtils.java
| Error |
Line |
|
Utility classes should not have a public or default constructor. |
31
|
|
Return count is 7 (max allowed is 3). |
109
|
net/sf/statcvs/util/FilePatternMatcher.java
| Error |
Line |
|
Return count is 5 (max allowed is 3). |
81
|