Checkstyle Results
The following document contains the results of
Checkstyle
.
Summary
Files | Infos | Warnings | Errors |
100 | 0 | 0 | 759 |
Files
org/smartcrawler/Crawler.java
Error | Line |
| Expected @throws tag for 'MalformedLinkException'. |
65
|
| Expected @throws tag for 'ConfigurationException'. |
65
|
| Expected @param tag for 'urlStr'. |
80
|
| 'context' hides a field. |
80
|
| Expected @param tag for 'context'. |
80
|
| Expected @throws tag for 'MalformedLinkException'. |
81
|
| Expected @throws tag for 'ConfigurationException'. |
81
|
| Expected @param tag for 'urlStr'. |
92
|
| Expected @throws tag for 'MalformedLinkException'. |
93
|
| Expected @throws tag for 'ConfigurationException'. |
93
|
| Expected @param tag for 'urlStr'. |
105
|
| 'context' hides a field. |
105
|
| Expected @param tag for 'context'. |
105
|
| Expected @throws tag for 'MalformedLinkException'. |
106
|
| Expected @throws tag for 'ConfigurationException'. |
106
|
org/smartcrawler/DownloadEngine.java
Error | Line |
| Got an exception - expecting EOF, found '}' |
0
|
org/smartcrawler/common/AbstractParametrizableComponent.java
Error | Line |
| Got an exception - expecting EOF, found 'StringTokenizer' |
0
|
org/smartcrawler/common/ConfigReader.java
Error | Line |
| Line does not match expected header line of ' *'. |
7
|
| Unused import - java.io.File. |
31
|
| Expected an @return tag. |
56
|
| Expected @param tag for 'uri'. |
56
|
| Expected @throws tag for 'ConfigurationException'. |
57
|
| Expected an @return tag. |
71
|
| Expected @param tag for 'configFile'. |
71
|
| Expected @throws tag for 'ConfigurationException'. |
72
|
| Expected an @return tag. |
111
|
| Expected @param tag for 'conf'. |
111
|
| '}' is not followed by whitespace. |
145
|
| Expected an @return tag. |
167
|
| Expected @param tag for 'conf'. |
167
|
| Expected an @return tag. |
219
|
| Expected @param tag for 'conf'. |
219
|
| Expected an @return tag. |
229
|
| Expected @param tag for 'conf'. |
229
|
| Expected an @return tag. |
238
|
| Expected @param tag for 'conf'. |
238
|
| Must have at least one statement. |
260
|
| Expected an @return tag. |
272
|
| Expected @param tag for 'conf'. |
272
|
| 'cast' is not followed by whitespace. |
276
|
| '+' is not preceded with whitespace. |
286
|
| '+' is not followed by whitespace. |
286
|
| '+' is not preceded with whitespace. |
286
|
| '+' is not followed by whitespace. |
286
|
| '+' is not preceded with whitespace. |
288
|
| '+' is not followed by whitespace. |
288
|
| '+' is not preceded with whitespace. |
288
|
| '+' is not followed by whitespace. |
288
|
| Missing a Javadoc comment. |
303
|
| 'cast' is not followed by whitespace. |
307
|
| '+' is not preceded with whitespace. |
318
|
| '+' is not followed by whitespace. |
318
|
| '+' is not preceded with whitespace. |
318
|
| '+' is not followed by whitespace. |
318
|
| '+' is not preceded with whitespace. |
320
|
| '+' is not followed by whitespace. |
320
|
| '+' is not preceded with whitespace. |
320
|
| '+' is not followed by whitespace. |
320
|
org/smartcrawler/common/Context.java
Error | Line |
| Line does not match expected header line of ' *'. |
7
|
| Unused import - java.io.File. |
27
|
| Missing a Javadoc comment. |
42
|
| Missing a Javadoc comment. |
43
|
| Missing a Javadoc comment. |
44
|
| Missing a Javadoc comment. |
45
|
| Missing a Javadoc comment. |
46
|
| Missing a Javadoc comment. |
47
|
| Missing a Javadoc comment. |
48
|
| Missing a Javadoc comment. |
50
|
| '5' is a magic number. |
58
|
| Expected an @return tag. |
78
|
| 'precFiltersList' hides a field. |
86
|
| Expected @param tag for 'precFiltersList'. |
86
|
| Expected an @return tag. |
94
|
| 'postFiltersList' hides a field. |
102
|
| Expected @param tag for 'postFiltersList'. |
102
|
| Expected an @return tag. |
110
|
| 'engineThreadNumber' hides a field. |
118
|
| Expected @param tag for 'engineThreadNumber'. |
118
|
| Expected an @return tag. |
126
|
| 'loggers' hides a field. |
134
|
| Expected @param tag for 'loggers'. |
134
|
| Expected an @return tag. |
142
|
| 'initialLink' hides a field. |
150
|
| Expected @param tag for 'initialLink'. |
150
|
| Missing a Javadoc comment. |
154
|
| Missing a Javadoc comment. |
158
|
| 'retriever' hides a field. |
158
|
| Missing a Javadoc comment. |
162
|
| Missing a Javadoc comment. |
166
|
| 'persister' hides a field. |
166
|
org/smartcrawler/common/ImprovedLinksProvider.java
Error | Line |
| Got an exception - expecting EOF, found 'retrievedLinks' |
0
|
org/smartcrawler/common/Link.java
Error | Line |
| Missing a Javadoc comment. |
42
|
| Missing a Javadoc comment. |
44
|
| Missing a Javadoc comment. |
45
|
| Unused @param tag for 'urlStr'. |
50
|
| Expected @param tag for 'str'. |
54
|
| Expected @throws tag for 'MalformedLinkException'. |
54
|
| Avoid inline conditionals. |
68
|
| Avoid inline conditionals. |
69
|
| Expected an @return tag. |
77
|
| Expected an @return tag. |
85
|
| Expected an @return tag. |
94
|
| Expected @param tag for 'includeFile'. |
94
|
| ';' is not followed by whitespace. |
97
|
| Expected an @return tag. |
116
|
| Expected an @return tag. |
125
|
| Expected @param tag for 'objLink'. |
125
|
| 'if' is not followed by whitespace. |
129
|
| 'cast' is not followed by whitespace. |
130
|
| Expected an @return tag. |
141
|
org/smartcrawler/common/LinksProvider.java
Error | Line |
| Class LinksProvider should be declared as final. |
40
|
| Missing a Javadoc comment. |
42
|
| Missing a Javadoc comment. |
43
|
| Missing a Javadoc comment. |
44
|
| Missing a Javadoc comment. |
45
|
| Missing a Javadoc comment. |
46
|
| Missing a Javadoc comment. |
47
|
| Missing a Javadoc comment. |
48
|
| Expected an @return tag. |
61
|
| 'static' modifier out of order with the JLS suggestions. |
61
|
| Expected an @return tag. |
72
|
| 'catch' is not followed by whitespace. |
77
|
| Must have at least one statement. |
77
|
| '{' is not followed by whitespace. |
77
|
| '}' is not preceded with whitespace. |
77
|
| 'cast' is not followed by whitespace. |
87
|
| Expected @param tag for 'link'. |
102
|
| '&&' should be on a new line. |
106
|
| '&&' should be on a new line. |
107
|
| '&&' should be on a new line. |
108
|
| Expected @param tag for 'link'. |
124
|
| Expected an @return tag. |
139
|
| '{' is not preceded with whitespace. |
139
|
| Expected an @return tag. |
147
|
org/smartcrawler/common/MalformedLinkException.java
Error | Line |
| Expected @param tag for 'message'. |
47
|
org/smartcrawler/common/Provider.java
Error | Line |
| Expected an @return tag. |
40
|
| Redundant 'public' modifier. |
40
|
| Redundant 'public' modifier. |
45
|
| Expected @param tag for 'link'. |
45
|
| Redundant 'public' modifier. |
50
|
| Expected @param tag for 'link'. |
50
|
| Expected an @return tag. |
55
|
| Redundant 'public' modifier. |
55
|
| Expected an @return tag. |
60
|
| Redundant 'public' modifier. |
60
|
org/smartcrawler/common/ProviderFactory.java
Error | Line |
| Class ProviderFactory should be declared as final. |
35
|
| Missing a Javadoc comment. |
37
|
| Expected an @return tag. |
44
|
| Expected an @return tag. |
61
|
org/smartcrawler/common/Queue.java
Error | Line |
| Redundant 'public' modifier. |
40
|
| Expected @param tag for 'o'. |
40
|
| Expected an @return tag. |
45
|
| Redundant 'public' modifier. |
45
|
| Expected an @return tag. |
50
|
| Redundant 'public' modifier. |
50
|
| Missing a Javadoc comment. |
52
|
| Redundant 'public' modifier. |
52
|
org/smartcrawler/common/SCLogger.java
Error | Line |
| Missing a Javadoc comment. |
40
|
| Expected @param tag for 'name'. |
46
|
| Expected @param tag for 'name'. |
54
|
| Expected @param tag for 'lg'. |
63
|
| Missing a Javadoc comment. |
68
|
| Expected an @return tag. |
88
|
| 'static' modifier out of order with the JLS suggestions. |
88
|
| Expected @param tag for 'name'. |
88
|
| Expected an @return tag. |
100
|
| Expected an @return tag. |
107
|
| Expected an @return tag. |
114
|
| Expected an @return tag. |
121
|
| Expected an @return tag. |
128
|
| Expected an @return tag. |
135
|
| Expected an @return tag. |
142
|
| Expected an @return tag. |
149
|
org/smartcrawler/common/SCLoggerFactory.java
Error | Line |
| Unused import - org.apache.log4j.BasicConfigurator. |
30
|
| Expected @param tag for 'lg'. |
51
|
| Expected @param tag for 'layout'. |
127
|
| Expected @param tag for 'name'. |
127
|
| Expected @param tag for 'fileName'. |
128
|
| Expected @param tag for 'active'. |
128
|
| 'catch' is not followed by whitespace. |
144
|
| Expected an @return tag. |
174
|
| Expected @param tag for 'name'. |
174
|
org/smartcrawler/common/SimpleQueue.java
Error | Line |
| '{' is not preceded with whitespace. |
38
|
| Expected @param tag for 'o'. |
51
|
| Expected an @return tag. |
59
|
org/smartcrawler/common/SiteConfiguration.java
Error | Line |
| Missing a Javadoc comment. |
42
|
| Missing a Javadoc comment. |
43
|
| Missing a Javadoc comment. |
44
|
| Missing a Javadoc comment. |
45
|
| Missing a Javadoc comment. |
46
|
| Missing a Javadoc comment. |
47
|
| Missing a Javadoc comment. |
48
|
| Missing a Javadoc comment. |
50
|
| Missing a Javadoc comment. |
52
|
| Missing a Javadoc comment. |
54
|
| Missing a Javadoc comment. |
59
|
| Expected an @return tag. |
68
|
| Expected @param tag for 'paramId'. |
68
|
| Avoid nested blocks. |
72
|
| Avoid nested blocks. |
83
|
| Avoid nested blocks. |
95
|
| 'cast' is not followed by whitespace. |
103
|
| 'cast' is not followed by whitespace. |
107
|
| Avoid nested blocks. |
113
|
| 'cast' is not followed by whitespace. |
121
|
| 'cast' is not followed by whitespace. |
125
|
| Avoid nested blocks. |
131
|
| Avoid nested blocks. |
137
|
| Avoid nested blocks. |
150
|
| Avoid nested blocks. |
158
|
| Expected @param tag for 'configFile'. |
168
|
| Expected @param tag for 'configFile'. |
176
|
| Expected an @return tag. |
188
|
| 'initialLink' hides a field. |
196
|
| Expected @param tag for 'initialLink'. |
196
|
org/smartcrawler/common/package.html
Error | Line |
| Missing package documentation file. | 0 |
org/smartcrawler/examples/QuickTest.java
Error | Line |
| Using the '.*' form of import should be avoided - org.smartcrawler.*. |
30
|
| Utility classes should not have a public or default constructor. |
38
|
| '{' is not preceded with whitespace. |
77
|
| '{' is not preceded with whitespace. |
79
|
org/smartcrawler/examples/package.html
Error | Line |
| Missing package documentation file. | 0 |
org/smartcrawler/extractor/HtmlURL.java
Error | Line |
| Redundant 'public' modifier. |
38
|
| Redundant 'public' modifier. |
41
|
| Redundant 'public' modifier. |
44
|
| Redundant 'public' modifier. |
47
|
| Redundant 'public' modifier. |
50
|
| Expected an @return tag. |
57
|
| Redundant 'public' modifier. |
57
|
| Expected an @return tag. |
62
|
| Redundant 'public' modifier. |
62
|
| Expected an @return tag. |
67
|
| Redundant 'public' modifier. |
67
|
org/smartcrawler/extractor/HtmlURLImpl.java
Error | Line |
| Missing a Javadoc comment. |
42
|
| Missing a Javadoc comment. |
43
|
| Missing a Javadoc comment. |
45
|
| 'extractedURL' hides a field. |
51
|
| Expected @param tag for 'extractedURL'. |
51
|
| Expected an @return tag. |
61
|
| '||' should be on a new line. |
63
|
| '||' should be on a new line. |
64
|
| '||' should be on a new line. |
65
|
| Expected an @return tag. |
74
|
| Expected an @return tag. |
82
|
| ';' is not followed by whitespace. |
88
|
| ';' is not followed by whitespace. |
89
|
| ',' is not followed by whitespace. |
101
|
| 'catch' is not followed by whitespace. |
102
|
| '{' is not preceded with whitespace. |
102
|
| Must have at least one statement. |
102
|
| '{' is not followed by whitespace. |
102
|
| '}' is not preceded with whitespace. |
102
|
| Expected an @return tag. |
113
|
| 'if' construct must use '{}'s. |
115
|
| 'if' construct must use '{}'s. |
117
|
| Line has trailing spaces. |
117
|
| '||' should be on a new line. |
117
|
| 'else' construct must use '{}'s. |
120
|
org/smartcrawler/extractor/LinkBuilder.java
Error | Line |
| Redundant 'public' modifier. |
44
|
| Expected @param tag for 'htmlURL'. |
44
|
| Expected @throws tag for 'MalformedLinkException'. |
44
|
org/smartcrawler/extractor/LinkBuilderImpl.java
Error | Line |
| Missing a Javadoc comment. |
43
|
| Missing a Javadoc comment. |
44
|
| Missing a Javadoc comment. |
46
|
| Missing a Javadoc comment. |
47
|
| Missing a Javadoc comment. |
48
|
| 'parsedPageLink' hides a field. |
54
|
| Expected @param tag for 'parsedPageLink'. |
54
|
| '+' is not preceded with whitespace. |
58
|
| '+' is not followed by whitespace. |
58
|
| '{' is not preceded with whitespace. |
61
|
| Expected an @return tag. |
72
|
| Expected @param tag for 'htmlURL'. |
72
|
| Expected @throws tag for 'MalformedLinkException'. |
72
|
| 'if' is not followed by whitespace. |
86
|
| 'else' is not preceded with whitespace. |
90
|
| '}' is not followed by whitespace. |
90
|
| '+' should be on a new line. |
94
|
| ';' is not followed by whitespace. |
108
|
| ';' is not followed by whitespace. |
109
|
| ';' is not followed by whitespace. |
110
|
| 'while' is not followed by whitespace. |
123
|
| 'if' construct must use '{}'s. |
138
|
| '3' is a magic number. |
140
|
| '}' is not followed by whitespace. |
152
|
| '+' should be on a new line. |
165
|
| '+' should be on a new line. |
166
|
org/smartcrawler/extractor/LinksExtractor.java
Error | Line |
| Expected an @return tag. |
44
|
| Redundant 'public' modifier. |
44
|
| Expected @param tag for 'content'. |
44
|
org/smartcrawler/extractor/MimeTypeTranslator.java
Error | Line |
| Class MimeTypeTranslator should be declared as final. |
35
|
| Missing a Javadoc comment. |
37
|
| ',' is not followed by whitespace. |
38
|
| ',' is not followed by whitespace. |
39
|
| ',' is not followed by whitespace. |
40
|
| ',' is not followed by whitespace. |
41
|
| ',' is not followed by whitespace. |
42
|
| ',' is not followed by whitespace. |
43
|
| ',' is not followed by whitespace. |
44
|
| ',' is not followed by whitespace. |
45
|
| ',' is not followed by whitespace. |
46
|
| ',' is not followed by whitespace. |
47
|
| ',' is not followed by whitespace. |
48
|
| ',' is not followed by whitespace. |
49
|
| ',' is not followed by whitespace. |
50
|
| ',' is not followed by whitespace. |
51
|
| ',' is not followed by whitespace. |
52
|
| ',' is not followed by whitespace. |
53
|
| ',' is not followed by whitespace. |
54
|
| ',' is not followed by whitespace. |
55
|
| ',' is not followed by whitespace. |
56
|
| ',' is not followed by whitespace. |
57
|
| ',' is not followed by whitespace. |
58
|
| ',' is not followed by whitespace. |
59
|
| ',' is not followed by whitespace. |
60
|
| ',' is not followed by whitespace. |
61
|
| ',' is not followed by whitespace. |
62
|
| ',' is not followed by whitespace. |
63
|
| ',' is not followed by whitespace. |
64
|
| ',' is not followed by whitespace. |
65
|
| ',' is not followed by whitespace. |
66
|
| ',' is not followed by whitespace. |
67
|
| ',' is not followed by whitespace. |
68
|
| ',' is not followed by whitespace. |
69
|
| ',' is not followed by whitespace. |
70
|
| ',' is not followed by whitespace. |
71
|
| ',' is not followed by whitespace. |
72
|
| ',' is not followed by whitespace. |
73
|
| ',' is not followed by whitespace. |
74
|
| ',' is not followed by whitespace. |
75
|
| ',' is not followed by whitespace. |
76
|
| ',' is not followed by whitespace. |
77
|
| ',' is not followed by whitespace. |
78
|
| ',' is not followed by whitespace. |
79
|
| ',' is not followed by whitespace. |
80
|
| ',' is not followed by whitespace. |
81
|
| ',' is not followed by whitespace. |
82
|
| ',' is not followed by whitespace. |
83
|
| ',' is not followed by whitespace. |
84
|
| ',' is not followed by whitespace. |
85
|
| ',' is not followed by whitespace. |
86
|
| ',' is not followed by whitespace. |
87
|
| ',' is not followed by whitespace. |
88
|
| ',' is not followed by whitespace. |
89
|
| ',' is not followed by whitespace. |
90
|
| ',' is not followed by whitespace. |
91
|
| ',' is not followed by whitespace. |
92
|
| ',' is not followed by whitespace. |
93
|
| ',' is not followed by whitespace. |
94
|
| ',' is not followed by whitespace. |
95
|
| ',' is not followed by whitespace. |
96
|
| ',' is not followed by whitespace. |
97
|
| ',' is not followed by whitespace. |
98
|
| ',' is not followed by whitespace. |
99
|
| ',' is not followed by whitespace. |
100
|
| ',' is not followed by whitespace. |
101
|
| ',' is not followed by whitespace. |
102
|
| ',' is not followed by whitespace. |
103
|
| ',' is not followed by whitespace. |
104
|
| ',' is not followed by whitespace. |
105
|
| ',' is not followed by whitespace. |
106
|
| ',' is not followed by whitespace. |
107
|
| ',' is not followed by whitespace. |
108
|
| ',' is not followed by whitespace. |
109
|
| ',' is not followed by whitespace. |
110
|
| ',' is not followed by whitespace. |
111
|
| ',' is not followed by whitespace. |
112
|
| ',' is not followed by whitespace. |
113
|
| ',' is not followed by whitespace. |
114
|
| ',' is not followed by whitespace. |
115
|
| ',' is not followed by whitespace. |
116
|
| ',' is not followed by whitespace. |
117
|
| ',' is not followed by whitespace. |
118
|
| ',' is not followed by whitespace. |
119
|
| ',' is not followed by whitespace. |
120
|
| ',' is not followed by whitespace. |
121
|
| ',' is not followed by whitespace. |
122
|
| ',' is not followed by whitespace. |
123
|
| ',' is not followed by whitespace. |
124
|
| ',' is not followed by whitespace. |
125
|
| ',' is not followed by whitespace. |
126
|
| ',' is not followed by whitespace. |
127
|
| ',' is not followed by whitespace. |
128
|
| ',' is not followed by whitespace. |
129
|
| ',' is not followed by whitespace. |
130
|
| ',' is not followed by whitespace. |
131
|
| ',' is not followed by whitespace. |
132
|
| ',' is not followed by whitespace. |
133
|
| ',' is not followed by whitespace. |
134
|
| ',' is not followed by whitespace. |
135
|
| ',' is not followed by whitespace. |
136
|
| ',' is not followed by whitespace. |
137
|
| ',' is not followed by whitespace. |
138
|
| ',' is not followed by whitespace. |
139
|
| ',' is not followed by whitespace. |
140
|
| ',' is not followed by whitespace. |
141
|
| ',' is not followed by whitespace. |
142
|
| ',' is not followed by whitespace. |
143
|
| ',' is not followed by whitespace. |
144
|
| ',' is not followed by whitespace. |
145
|
| ',' is not followed by whitespace. |
146
|
| ',' is not followed by whitespace. |
147
|
| ',' is not followed by whitespace. |
148
|
| ',' is not followed by whitespace. |
149
|
| ',' is not followed by whitespace. |
150
|
| ',' is not followed by whitespace. |
151
|
| ',' is not followed by whitespace. |
152
|
| ',' is not followed by whitespace. |
153
|
| ',' is not followed by whitespace. |
154
|
| ',' is not followed by whitespace. |
155
|
| ',' is not followed by whitespace. |
156
|
| ',' is not followed by whitespace. |
157
|
| ',' is not followed by whitespace. |
158
|
| ',' is not followed by whitespace. |
159
|
| ',' is not followed by whitespace. |
160
|
| ',' is not followed by whitespace. |
161
|
| ',' is not followed by whitespace. |
162
|
| ',' is not followed by whitespace. |
163
|
| ',' is not followed by whitespace. |
164
|
| ',' is not followed by whitespace. |
165
|
| ',' is not followed by whitespace. |
166
|
| ',' is not followed by whitespace. |
167
|
| ',' is not followed by whitespace. |
168
|
| ',' is not followed by whitespace. |
169
|
| ',' is not followed by whitespace. |
170
|
| ',' is not followed by whitespace. |
171
|
| ',' is not followed by whitespace. |
172
|
| ',' is not followed by whitespace. |
173
|
| ',' is not followed by whitespace. |
174
|
| ',' is not followed by whitespace. |
175
|
| ',' is not followed by whitespace. |
176
|
| ',' is not followed by whitespace. |
177
|
| ',' is not followed by whitespace. |
178
|
| ',' is not followed by whitespace. |
179
|
| ',' is not followed by whitespace. |
180
|
| ',' is not followed by whitespace. |
181
|
| ',' is not followed by whitespace. |
182
|
| ',' is not followed by whitespace. |
183
|
| ',' is not followed by whitespace. |
184
|
| ',' is not followed by whitespace. |
185
|
| ',' is not followed by whitespace. |
186
|
| ',' is not followed by whitespace. |
187
|
| ',' is not followed by whitespace. |
188
|
| ',' is not followed by whitespace. |
189
|
| ',' is not followed by whitespace. |
190
|
| ',' is not followed by whitespace. |
191
|
| ',' is not followed by whitespace. |
192
|
| ',' is not followed by whitespace. |
193
|
| ',' is not followed by whitespace. |
194
|
| ',' is not followed by whitespace. |
195
|
| ',' is not followed by whitespace. |
196
|
| ',' is not followed by whitespace. |
197
|
| ',' is not followed by whitespace. |
198
|
| ',' is not followed by whitespace. |
199
|
| ',' is not followed by whitespace. |
200
|
| ',' is not followed by whitespace. |
201
|
| ',' is not followed by whitespace. |
202
|
| ',' is not followed by whitespace. |
203
|
| ',' is not followed by whitespace. |
204
|
| ',' is not followed by whitespace. |
205
|
| ',' is not followed by whitespace. |
206
|
| ',' is not followed by whitespace. |
207
|
| ',' is not followed by whitespace. |
208
|
| ',' is not followed by whitespace. |
209
|
| ',' is not followed by whitespace. |
210
|
| ',' is not followed by whitespace. |
211
|
| ',' is not followed by whitespace. |
212
|
| ',' is not followed by whitespace. |
213
|
| ',' is not followed by whitespace. |
214
|
| ',' is not followed by whitespace. |
215
|
| ',' is not followed by whitespace. |
216
|
| ',' is not followed by whitespace. |
217
|
| ',' is not followed by whitespace. |
218
|
| ',' is not followed by whitespace. |
219
|
| ',' is not followed by whitespace. |
220
|
| ',' is not followed by whitespace. |
221
|
| ',' is not followed by whitespace. |
222
|
| Expected an @return tag. |
235
|
| Expected @param tag for 'extension'. |
235
|
| Expected @throws tag for 'UnhandledMimeTypeException'. |
236
|
| Expected an @return tag. |
259
|
| Expected @param tag for 'contentType'. |
259
|
| Expected @throws tag for 'UnhandledMimeTypeException'. |
260
|
| 'if' construct must use '{}'s. |
267
|
| 'else' construct must use '{}'s. |
269
|
org/smartcrawler/extractor/PatternProvider.java
Error | Line |
| Class PatternProvider should be declared as final. |
46
|
| Missing a Javadoc comment. |
48
|
| Missing a Javadoc comment. |
49
|
| Missing a Javadoc comment. |
50
|
| Expected an @return tag. |
61
|
| Missing a Javadoc comment. |
68
|
| '{' is not preceded with whitespace. |
110
|
| Must have at least one statement. |
110
|
| '{' is not followed by whitespace. |
110
|
| '}' is not preceded with whitespace. |
110
|
| Expected an @return tag. |
119
|
org/smartcrawler/extractor/RegExpLinksExtractor.java
Error | Line |
| Got an exception - expecting EOF, found 'try' |
0
|
org/smartcrawler/extractor/UnhandledMimeTypeException.java
Error | Line |
| Missing a Javadoc comment. |
36
|
| Missing a Javadoc comment. |
39
|
org/smartcrawler/extractor/package.html
Error | Line |
| Missing package documentation file. | 0 |
org/smartcrawler/extractor/pattern/AbstractPattern.java
Error | Line |
| Line does not match expected header line of ' *'. |
7
|
| Missing a Javadoc comment. |
38
|
| Variable 'pattern' must be private and have accessor methods. |
38
|
| Missing a Javadoc comment. |
40
|
| Expected an @return tag. |
47
|
| '{' is not preceded with whitespace. |
47
|
| 'if' construct must use '{}'s. |
48
|
| '|' should be on a new line. |
50
|
| '|' should be on a new line. |
51
|
| Expected an @return tag. |
60
|
| Expected @param tag for 'stringPattern'. |
67
|
| Expected an @return tag. |
73
|
| 'catch' is not followed by whitespace. |
76
|
| '{' is not preceded with whitespace. |
76
|
| Expected an @return tag. |
85
|
| Expected @param tag for 'group'. |
90
|
org/smartcrawler/extractor/pattern/ConcretePattern.java
Error | Line |
| Missing a Javadoc comment. |
37
|
| Missing a Javadoc comment. |
38
|
| Missing a Javadoc comment. |
39
|
| Expected an @return tag. |
49
|
| 'stringPattern' hides a field. |
57
|
| Expected @param tag for 'stringPattern'. |
57
|
| Expected an @return tag. |
65
|
| 'group' hides a field. |
73
|
| Expected @param tag for 'group'. |
73
|
| Expected an @return tag. |
82
|
| Definition of 'equals()' without corresponding definition of 'hashCode()'. |
82
|
| Expected @param tag for 'o'. |
82
|
| 'cast' is not followed by whitespace. |
84
|
| '&&' should be on a new line. |
85
|
| Expected an @return tag. |
96
|
| Expected an @return tag. |
104
|
| 'tagName' hides a field. |
112
|
| Expected @param tag for 'tagName'. |
112
|
org/smartcrawler/extractor/pattern/package.html
Error | Line |
| Missing package documentation file. | 0 |
org/smartcrawler/filter/ContainedWordFilter.java
Error | Line |
| Missing a Javadoc comment. |
47
|
| Expected an @return tag. |
55
|
| Expected @param tag for 'conf'. |
55
|
| Expected @param tag for 'content'. |
55
|
| '|' should be on a new line. |
67
|
| '|' should be on a new line. |
68
|
| 'catch' is not preceded with whitespace. |
85
|
| '}' is not followed by whitespace. |
85
|
org/smartcrawler/filter/ContentTypeLinkFilter.java
Error | Line |
| Missing a Javadoc comment. |
42
|
| Expected an @return tag. |
50
|
| Expected @param tag for 'conf'. |
50
|
| Expected @param tag for 'content'. |
50
|
org/smartcrawler/filter/DefaultLinkFilter.java
Error | Line |
| Missing a Javadoc comment. |
42
|
| Expected an @return tag. |
49
|
| Expected @param tag for 'conf'. |
49
|
| Expected @param tag for 'link'. |
49
|
| '+' is not preceded with whitespace. |
57
|
| '+' is not followed by whitespace. |
57
|
org/smartcrawler/filter/FilterManager.java
Error | Line |
| Got an exception - expecting EOF, found '}' |
0
|
org/smartcrawler/filter/LinkFilter.java
Error | Line |
| Missing a Javadoc comment. |
44
|
| Missing a Javadoc comment. |
73
|
| '+' is not preceded with whitespace. |
86
|
| '+' is not followed by whitespace. |
86
|
| '+' is not preceded with whitespace. |
90
|
| '+' is not followed by whitespace. |
90
|
| 'catch' is not preceded with whitespace. |
93
|
| '}' is not followed by whitespace. |
93
|
org/smartcrawler/filter/PostFilterLink.java
Error | Line |
| Missing a Javadoc comment. |
39
|
| Redundant 'public' modifier. |
39
|
org/smartcrawler/filter/PrecFilterLink.java
Error | Line |
| Missing a Javadoc comment. |
41
|
| Redundant 'public' modifier. |
41
|
org/smartcrawler/filter/package.html
Error | Line |
| Missing package documentation file. | 0 |
org/smartcrawler/package.html
Error | Line |
| Missing package documentation file. | 0 |
org/smartcrawler/persistence/FileSystemPersister.java
Error | Line |
| Missing a Javadoc comment. |
51
|
| Missing a Javadoc comment. |
52
|
| Missing a Javadoc comment. |
54
|
| Expected @param tag for 'content'. |
69
|
| '!=' is not preceded with whitespace. |
72
|
| '{' is not preceded with whitespace. |
72
|
| ',' is not followed by whitespace. |
84
|
| '{' is not preceded with whitespace. |
85
|
| '{' is not preceded with whitespace. |
93
|
| '+' should be on a new line. |
94
|
| '+' should be on a new line. |
106
|
| '+' should be on a new line. |
118
|
| '+' is not followed by whitespace. |
127
|
| '+' should be on a new line. |
130
|
| '+' should be on a new line. |
132
|
| '+' is not preceded with whitespace. |
133
|
| Expected an @return tag. |
151
|
| Expected @param tag for 'link'. |
151
|
| Expected @param tag for 'rootDir'. |
151
|
| Expected @param tag for 'cType'. |
151
|
| '+' is not followed by whitespace. |
157
|
| '7' is a magic number. |
161
|
| 'while' is not followed by whitespace. |
185
|
| 'cast' is not followed by whitespace. |
187
|
| 'if' construct must use '{}'s. |
188
|
| '&&' should be on a new line. |
195
|
| '&&' should be on a new line. |
200
|
| '}' is not followed by whitespace. |
212
|
| '+' should be on a new line. |
239
|
| 'catch' is not followed by whitespace. |
247
|
| '+' should be on a new line. |
248
|
| 'finally' is not followed by whitespace. |
251
|
| '{' is not preceded with whitespace. |
251
|
org/smartcrawler/persistence/Persister.java
Error | Line |
| Redundant 'public' modifier. |
41
|
| Expected @param tag for 'content'. |
41
|
org/smartcrawler/persistence/package.html
Error | Line |
| Missing package documentation file. | 0 |
org/smartcrawler/retriever/Call.java
Error | Line |
| Missing a Javadoc comment. |
38
|
| Redundant 'public' modifier. |
38
|
| Missing a Javadoc comment. |
39
|
| Redundant 'public' modifier. |
39
|
| Expected an @return tag. |
45
|
| Redundant 'public' modifier. |
45
|
| Expected an @return tag. |
50
|
| Redundant 'public' modifier. |
50
|
| Redundant 'public' modifier. |
55
|
| Expected @param tag for 'userAgent'. |
55
|
| Expected an @return tag. |
60
|
| Redundant 'public' modifier. |
60
|
| Redundant 'public' modifier. |
65
|
| Expected @param tag for 'method'. |
65
|
org/smartcrawler/retriever/Content.java
Error | Line |
| Missing a Javadoc comment. |
39
|
| Missing a Javadoc comment. |
40
|
| Missing a Javadoc comment. |
41
|
| Expected an @return tag. |
51
|
| 'buffer' hides a field. |
59
|
| Expected @param tag for 'buffer'. |
59
|
| Expected an @return tag. |
67
|
| 'contentType' hides a field. |
75
|
| Expected @param tag for 'contentType'. |
75
|
| Expected an @return tag. |
83
|
| 'link' hides a field. |
91
|
| Expected @param tag for 'link'. |
91
|
org/smartcrawler/retriever/CustomCallsQueue.java
Error | Line |
| Class CustomCallsQueue should be declared as final. |
37
|
| Missing a Javadoc comment. |
39
|
| 'static' modifier out of order with the JLS suggestions. |
53
|
| '{' is not preceded with whitespace. |
54
|
org/smartcrawler/retriever/HttpCall.java
Error | Line |
| Missing a Javadoc comment. |
40
|
| Missing a Javadoc comment. |
41
|
| Missing a Javadoc comment. |
42
|
| Missing a Javadoc comment. |
43
|
| Missing a Javadoc comment. |
44
|
| Missing a Javadoc comment. |
46
|
| Name 'DEFAULT_USER_AGENT' must match pattern '^[a-z][a-zA-Z0-9]*$'. |
46
|
| 'link' hides a field. |
52
|
| Expected @param tag for 'link'. |
52
|
| 'link' hides a field. |
63
|
| Expected @param tag for 'link'. |
63
|
| 'method' hides a field. |
63
|
| Expected @param tag for 'method'. |
63
|
| Expected an @return tag. |
73
|
| Expected @param tag for 'key'. |
82
|
| Expected @param tag for 'value'. |
82
|
| Expected an @return tag. |
90
|
| 'userAgent' hides a field. |
98
|
| Expected @param tag for 'userAgent'. |
98
|
| Expected an @return tag. |
106
|
| 'method' hides a field. |
114
|
| Expected @param tag for 'method'. |
114
|
| Expected an @return tag. |
122
|
| 'content' hides a field. |
130
|
| Expected @param tag for 'content'. |
130
|
org/smartcrawler/retriever/HttpCallRetriever.java
Error | Line |
| Unused import - org.apache.commons.httpclient.HttpConnectionManager. |
36
|
| Unused import - org.apache.commons.httpclient.MultiThreadedHttpConnectionManager. |
39
|
| Unused import - org.apache.commons.httpclient.cookie.CookiePolicy. |
40
|
| Unused import - org.apache.commons.httpclient.params.HttpConnectionManagerParams. |
42
|
| Unused import - org.smartcrawler.common.Context. |
45
|
| Missing a Javadoc comment. |
61
|
| Variable 'log' must be private and have accessor methods. |
61
|
| Missing a Javadoc comment. |
62
|
| Variable 'logCons' must be private and have accessor methods. |
62
|
| Missing a Javadoc comment. |
63
|
| Variable 'logAcc' must be private and have accessor methods. |
63
|
| Missing a Javadoc comment. |
65
|
| Variable 'host' must be private and have accessor methods. |
65
|
| Missing a Javadoc comment. |
75
|
| Expected an @return tag. |
84
|
| Expected @param tag for 'call'. |
84
|
| '||' should be on a new line. |
109
|
| '||' should be on a new line. |
110
|
| '||' should be on a new line. |
111
|
| '||' should be on a new line. |
112
|
| '||' should be on a new line. |
113
|
| Must have at least one statement. |
146
|
| '{' is not followed by whitespace. |
146
|
| '}' is not preceded with whitespace. |
146
|
| Expected an @return tag. |
158
|
| Expected @param tag for 'call'. |
158
|
| 'if' construct must use '{}'s. |
160
|
| 'else' construct must use '{}'s. |
162
|
| Expected an @return tag. |
176
|
| Expected @param tag for 'call'. |
176
|
| Expected an @return tag. |
190
|
| Expected @param tag for 'm'. |
190
|
| Expected an @return tag. |
199
|
| Expected @param tag for 'm'. |
199
|
| Expected @param tag for 'referrer'. |
199
|
| Expected @throws tag for 'MalformedLinkException'. |
199
|
| '!=' is not preceded with whitespace. |
202
|
| '!=' is not followed by whitespace. |
202
|
| Expected an @return tag. |
219
|
| Expected @param tag for 'm'. |
219
|
| Expected @param tag for 'link'. |
219
|
| Expected @throws tag for 'IOException'. |
219
|
| '1024' is a magic number. |
222
|
org/smartcrawler/retriever/MultiThreadHttpCallRetriever.java
Error | Line |
| Unused import - java.io.ByteArrayOutputStream. |
29
|
| Unused import - java.io.IOException. |
30
|
| Unused import - java.io.InputStream. |
31
|
| Unused import - java.net.URL. |
32
|
| Unused import - org.apache.commons.httpclient.Header. |
33
|
| Unused import - org.apache.commons.httpclient.HostConfiguration. |
34
|
| Unused import - org.apache.commons.httpclient.HttpMethod. |
37
|
| Unused import - org.apache.commons.httpclient.HttpStatus. |
38
|
| Unused import - org.apache.commons.httpclient.methods.PostMethod. |
41
|
| Unused import - org.smartcrawler.common.AbstractParametrizableComponent. |
44
|
| Unused import - org.smartcrawler.common.Context. |
45
|
| Unused import - org.smartcrawler.common.Link. |
46
|
| Unused import - org.smartcrawler.common.MalformedLinkException. |
47
|
| Unused import - org.smartcrawler.extractor.HtmlURL. |
49
|
| Unused import - org.smartcrawler.extractor.HtmlURLImpl. |
50
|
| Unused import - org.smartcrawler.extractor.LinkBuilderImpl. |
51
|
| Missing a Javadoc comment. |
61
|
| Variable 'httpClient' must be private and have accessor methods. |
61
|
| Missing a Javadoc comment. |
62
|
| Missing a Javadoc comment. |
85
|
| Expected an @return tag. |
95
|
org/smartcrawler/retriever/Response.java
Error | Line |
| Missing a Javadoc comment. |
39
|
| Missing a Javadoc comment. |
40
|
| Missing a Javadoc comment. |
41
|
| Missing a Javadoc comment. |
42
|
| Missing a Javadoc comment. |
43
|
| Expected an @return tag. |
55
|
| 'statusLine' hides a field. |
63
|
| Expected @param tag for 'statusLine'. |
63
|
| Expected an @return tag. |
71
|
| 'redirected' hides a field. |
79
|
| Expected @param tag for 'redirected'. |
79
|
| Expected an @return tag. |
87
|
| 'found' hides a field. |
95
|
| Expected @param tag for 'found'. |
95
|
| Expected an @return tag. |
103
|
| 'redirection' hides a field. |
111
|
| Expected @param tag for 'redirection'. |
111
|
| Expected an @return tag. |
119
|
| 'content' hides a field. |
127
|
| Expected @param tag for 'content'. |
127
|
org/smartcrawler/retriever/Retriever.java
Error | Line |
| Expected an @return tag. |
44
|
| Redundant 'public' modifier. |
44
|
| Expected @param tag for 'call'. |
44
|
org/smartcrawler/retriever/SmartGetMethod.java
Error | Line |
| Using the '.*' form of import should be avoided - org.apache.commons.httpclient.*. |
32
|
| Missing a Javadoc comment. |
43
|
| Expected an @return tag. |
66
|
| Expected @param tag for 'state'. |
66
|
| Expected @param tag for 'conn'. |
66
|
| Expected @throws tag for 'HttpException'. |
67
|
| Expected @throws tag for 'HttpRecoverableException'. |
67
|
| Expected @throws tag for 'IOException'. |
67
|
| Expected @param tag for 'state'. |
83
|
| Expected @param tag for 'conn'. |
83
|
| Expected @throws tag for 'IOException'. |
83
|
| Expected @throws tag for 'HttpException'. |
83
|
| 'if' construct must use '{}'s. |
88
|
org/smartcrawler/retriever/package.html
Error | Line |
| Missing package documentation file. | 0 |