PMD Results
The following document contains the results of PMD
4.2.2.
Files
mk/fsgrep/Fsgrep.java
Violation |
Line |
Found 'DU'-anomaly for variable 'exclusions' (lines '362'-'375'). |
362
- 375
|
mk/fsgrep/find/Finder.java
Violation |
Line |
Found 'DD'-anomaly for variable 'spec' (lines '139'-'141'). |
139
- 141
|
Found 'DD'-anomaly for variable 'result' (lines '150'-'153'). |
150
- 153
|
mk/fsgrep/find/PatternFilter.java
Violation |
Line |
Found 'DD'-anomaly for variable 'result' (lines '103'-'106'). |
103
- 106
|
mk/fsgrep/find/ScanProfile.java
Violation |
Line |
Found 'DU'-anomaly for variable 'first' (lines '68'-'86'). |
68
- 86
|
Found 'DU'-anomaly for variable 'first' (lines '73'-'86'). |
73
- 86
|
mk/fsgrep/find/TextFileFilter.java
Violation |
Line |
Found 'DD'-anomaly for variable 'result' (lines '86'-'107'). |
86
- 107
|
mk/fsgrep/gui/App.java
Violation |
Line |
Found 'DD'-anomaly for variable 'result' (lines '300'-'303'). |
300
- 303
|
Avoid using final local variables, turn them into fields |
515
|
Found 'DU'-anomaly for variable 'prefs' (lines '519'-'568'). |
519
- 568
|
Found 'DU'-anomaly for variable 'prefs' (lines '519'-'568'). |
519
- 568
|
Found 'DU'-anomaly for variable 'prefs' (lines '519'-'568'). |
519
- 568
|
Found 'DU'-anomaly for variable 'prefs' (lines '519'-'568'). |
519
- 568
|
Found 'DU'-anomaly for variable 'prefs' (lines '519'-'568'). |
519
- 568
|
Found 'DU'-anomaly for variable 'prefs' (lines '519'-'568'). |
519
- 568
|
Found 'DU'-anomaly for variable 'prefs' (lines '519'-'568'). |
519
- 568
|
Found 'DU'-anomaly for variable 'prefs' (lines '519'-'568'). |
519
- 568
|
Avoid using final local variables, turn them into fields |
543
|
Avoid using final local variables, turn them into fields |
544
- 545
|
Found 'DU'-anomaly for variable 'settings' (lines '849'-'851'). |
849
- 851
|
Found 'DU'-anomaly for variable 'rps' (lines '859'-'861'). |
859
- 861
|
Found 'DD'-anomaly for variable 'result' (lines '985'-'988'). |
985
- 988
|
Found 'DD'-anomaly for variable 'result' (lines '995'-'998'). |
995
- 998
|
Found 'DU'-anomaly for variable 'value' (lines '1,048'-'1,060'). |
1048
- 1060
|
Found 'DU'-anomaly for variable 'args' (lines '1,049'-'1,060'). |
1049
- 1060
|
mk/fsgrep/gui/CommonSizeSet.java
Violation |
Line |
Found 'DD'-anomaly for variable 'maxWidth' (lines '91'-'96'). |
91
- 96
|
Found 'DD'-anomaly for variable 'maxHeight' (lines '92'-'97'). |
92
- 97
|
Found 'DU'-anomaly for variable 'common' (lines '100'-'106'). |
100
- 106
|
mk/fsgrep/gui/HtmlTablePane.java
Violation |
Line |
It is a good practice to call super() in a constructor |
133
- 135
|
mk/fsgrep/gui/InfoButton.java
Violation |
Line |
Avoid using final local variables, turn them into fields |
75
|
mk/fsgrep/gui/ResultDisplay.java
Violation |
Line |
Found 'DU'-anomaly for variable 'replacement' (lines '182'-'212'). |
182
- 212
|
Found 'DU'-anomaly for variable 'replacement' (lines '182'-'212'). |
182
- 212
|
Found 'DU'-anomaly for variable 'replacement' (lines '182'-'212'). |
182
- 212
|
Found 'DU'-anomaly for variable 'replacement' (lines '182'-'212'). |
182
- 212
|
Found 'DU'-anomaly for variable 'replacement' (lines '182'-'212'). |
182
- 212
|
Found 'DU'-anomaly for variable 'replacement' (lines '182'-'212'). |
182
- 212
|
Found 'DU'-anomaly for variable 'replacement' (lines '182'-'212'). |
182
- 212
|
Found 'DU'-anomaly for variable 'files' (lines '183'-'212'). |
183
- 212
|
Found 'DU'-anomaly for variable 'files' (lines '183'-'212'). |
183
- 212
|
Found 'DU'-anomaly for variable 'files' (lines '183'-'212'). |
183
- 212
|
Found 'DU'-anomaly for variable 'files' (lines '183'-'212'). |
183
- 212
|
Found 'DU'-anomaly for variable 'files' (lines '183'-'212'). |
183
- 212
|
Found 'DU'-anomaly for variable 'files' (lines '183'-'212'). |
183
- 212
|
Found 'DU'-anomaly for variable 'files' (lines '183'-'212'). |
183
- 212
|
Found 'DU'-anomaly for variable 'value' (lines '319'-'324'). |
319
- 324
|
Avoid using final local variables, turn them into fields |
328
|
Avoid using final local variables, turn them into fields |
337
|
Avoid using final local variables, turn them into fields |
338
|
Avoid using final local variables, turn them into fields |
339
|
Avoid using final local variables, turn them into fields |
340
|
mk/fsgrep/match/CodeSearch.java
Violation |
Line |
Found 'DD'-anomaly for variable 'startBlockAfterThisLine' (lines '85'-'116'). |
85
- 116
|
mk/fsgrep/match/MatchResult.java
Violation |
Line |
Ensure you override both equals() and hashCode() |
117
|
Found 'DD'-anomaly for variable 'result' (lines '118'-'123'). |
118
- 123
|
Found 'DU'-anomaly for variable 'linenum' (lines '217'-'229'). |
217
- 229
|
mk/fsgrep/match/Replace.java
Violation |
Line |
Found 'DU'-anomaly for variable 'lineNum' (lines '122'-'155'). |
122
- 155
|
Found 'DU'-anomaly for variable 'candidate' (lines '126'-'155'). |
126
- 155
|
mk/fsgrep/match/SearchFactory.java
Violation |
Line |
Found 'DD'-anomaly for variable 'factory' (lines '130'-'132'). |
130
- 132
|
Found 'DU'-anomaly for variable 'factory' (lines '177'-'189'). |
177
- 189
|
mk/fsgrep/match/TextSearch.java
Violation |
Line |
Found 'DU'-anomaly for variable 'result' (lines '112'-'119'). |
112
- 119
|
mk/fsgrep/util/AppProperties.java
Violation |
Line |
These nested if statements could be combined |
57
- 59
|
Assigning an Object to null is a code smell. Consider refactoring. |
100
|
mk/fsgrep/util/Args.java
Violation |
Line |
Assigning an Object to null is a code smell. Consider refactoring. |
187
|
Found 'DD'-anomaly for variable 'result' (lines '235'-'238'). |
235
- 238
|
Found 'DD'-anomaly for variable 'result' (lines '246'-'249'). |
246
- 249
|
Found 'DD'-anomaly for variable 'result' (lines '257'-'260'). |
257
- 260
|
mk/fsgrep/util/ExternalEditor.java
Violation |
Line |
Found 'DD'-anomaly for variable 'result' (lines '64'-'70'). |
64
- 70
|
Found 'DD'-anomaly for variable 'result' (lines '64'-'73'). |
64
- 73
|
Assigning an Object to null is a code smell. Consider refactoring. |
81
|
Found 'DD'-anomaly for variable 'result' (lines '86'-'90'). |
86
- 90
|
Found 'DU'-anomaly for variable 'inDouble' (lines '103'-'143'). |
103
- 143
|
Found 'DU'-anomaly for variable 'inSingle' (lines '104'-'143'). |
104
- 143
|
Found 'DU'-anomaly for variable 'inDouble' (lines '110'-'143'). |
110
- 143
|
Found 'DU'-anomaly for variable 'inSingle' (lines '116'-'143'). |
116
- 143
|
Found 'DU'-anomaly for variable 'inDouble' (lines '122'-'143'). |
122
- 143
|
Found 'DU'-anomaly for variable 'inSingle' (lines '124'-'143'). |
124
- 143
|
Found 'DD'-anomaly for variable 'result' (lines '175'-'185'). |
175
- 185
|
Found 'DD'-anomaly for variable 'processed' (lines '183'-'184'). |
183
- 184
|
Found 'DD'-anomaly for variable 'result' (lines '185'-'191'). |
185
- 191
|
Found 'DU'-anomaly for variable 'process' (lines '241'-'248'). |
241
- 248
|
mk/fsgrep/util/MRUList.java
Violation |
Line |
It is a good practice to call super() in a constructor |
92
- 96
|
Found 'DU'-anomaly for variable 'i' (lines '142'-'149'). |
142
- 149
|
Found 'DU'-anomaly for variable 'alreadyExists' (lines '199'-'204'). |
199
- 204
|
mk/fsgrep/util/PersistentData.java
Violation |
Line |
It is a good practice to call super() in a constructor |
84
- 86
|
mk/fsgrep/util/RawLineReader.java
Violation |
Line |
Found 'DD'-anomaly for variable 'result' (lines '258'-'265'). |
258
- 265
|
Found 'DD'-anomaly for variable 'text' (lines '277'-'279'). |
277
- 279
|
Avoid empty while statements |
323
|
mk/fsgrep/util/TargetFile.java
Violation |
Line |
Found 'DD'-anomaly for variable 'result' (lines '199'-'204'). |
199
- 204
|
Found 'DD'-anomaly for variable 'result' (lines '258'-'261'). |
258
- 261
|
mk/fsgrep/util/TextProgressBar.java
Violation |
Line |
Found 'DD'-anomaly for variable 'header' (lines '109'-'118'). |
109
- 118
|
Found 'DU'-anomaly for variable 'bucket' (lines '167'-'193'). |
167
- 193
|
Found 'DU'-anomaly for variable 'total' (lines '169'-'193'). |
169
- 193
|
mk/fsgrep/util/TextResource.java
Violation |
Line |
Found 'DD'-anomaly for variable 'result' (lines '91'-'108'). |
91
- 108
|
Found 'DU'-anomaly for variable 'buffer' (lines '93'-'121'). |
93
- 121
|
mk/fsgrep/util/Timer.java
Violation |
Line |
Found 'DD'-anomaly for variable 'result' (lines '96'-'99'). |
96
- 99
|
mk/fsgrep/util/output/DialogOutput.java
Violation |
Line |
It is a good practice to call super() in a constructor |
60
- 62
|
mk/fsgrep/util/output/FileOutput.java
Violation |
Line |
It is a good practice to call super() in a constructor |
60
- 70
|
mk/fsgrep/util/output/StringOutput.java
Violation |
Line |
It is a good practice to call super() in a constructor |
58
- 60
|
mk/fsgrep/util/output/TextAreaOutput.java
Violation |
Line |
It is a good practice to call super() in a constructor |
58
- 60
|
mk/fsgrep/util/output/TextFieldOutput.java
Violation |
Line |
It is a good practice to call super() in a constructor |
58
- 60
|
mk/fsgrep/util/thread/ThreadPool.java
Violation |
Line |
Assigning an Object to null is a code smell. Consider refactoring. |
95
|