The following document contains the results of PMD 3.9.
| Violation | Line |
|---|---|
| These nested if statements could be combined | 542 - 546 |
| These nested if statements could be combined | 561 - 564 |
| A method should have only one exit point, and that should be the last statement in the method | 577 |
| Found 'DU'-anomaly for variable 'element' (lines '659'-'694'). | 659 - 694 |
| Found 'DU'-anomaly for variable 'doNotNotifyCacheReplicators' (lines '659'-'694'). | 659 - 694 |
| Found 'DU'-anomaly for variable 'element' (lines '736'-'753'). | 736 - 753 |
| Found 'DU'-anomaly for variable 'loaderArgument' (lines '830'-'854'). | 830 - 854 |
| Found 'DU'-anomaly for variable 'loader' (lines '830'-'854'). | 830 - 854 |
| A method should have only one exit point, and that should be the last statement in the method | 834 |
| A method should have only one exit point, and that should be the last statement in the method | 838 |
| A method should have only one exit point, and that should be the last statement in the method | 845 |
| Found 'DU'-anomaly for variable 'key' (lines '874'-'891'). | 874 - 891 |
| A method should have only one exit point, and that should be the last statement in the method | 879 |
| Found 'UR'-anomaly for variable 'key' (lines '918'-'918'). | 918 |
| Found 'DU'-anomaly for variable 'loaderArgument' (lines '918'-'978'). | 918 - 978 |
| A method should have only one exit point, and that should be the last statement in the method | 920 |
| Found 'DD'-anomaly for variable 'map' (lines '922'-'929'). | 922 - 929 |
| Found 'DU'-anomaly for variable 'missingKeys' (lines '924'-'978'). | 924 - 978 |
| Found 'DD'-anomaly for variable 'key' (lines '927'-'932'). | 927 - 932 |
| Found 'DD'-anomaly for variable 'key' (lines '927'-'952'). | 927 - 952 |
| Found 'DU'-anomaly for variable 'key' (lines '927'-'978'). | 927 - 978 |
| Found 'DU'-anomaly for variable 'keys' (lines '1,001'-'1,013'). | 1001 - 1013 |
| Found 'DU'-anomaly for variable 'argument' (lines '1,001'-'1,013'). | 1001 - 1013 |
| A method should have only one exit point, and that should be the last statement in the method | 1007 |
| Assigning an Object to null is a code smell. Consider refactoring. | 1177 |
| Found 'DU'-anomaly for variable 'updateStatistics' (lines '1,187'-'1,213'). | 1187 - 1213 |
| A method should have only one exit point, and that should be the last statement in the method | 1189 |
| Assigning an Object to null is a code smell. Consider refactoring. | 1205 |
| Found 'DU'-anomaly for variable 'doNotNotifyCacheReplicators' (lines '1,355'-'1,406'). | 1355 - 1406 |
| Found 'DU'-anomaly for variable 'notifyListeners' (lines '1,355'-'1,406'). | 1355 - 1406 |
| Found 'DD'-anomaly for variable 'removed' (lines '1,359'-'1,387'). | 1359 - 1387 |
| Found 'DD'-anomaly for variable 'removed' (lines '1,359'-'1,396'). | 1359 - 1396 |
| Assigning an Object to null is a code smell. Consider refactoring. | 1366 |
| Found 'DD'-anomaly for variable 'elementFromDiskStore' (lines '1,366'-'1,370'). | 1366 - 1370 |
| These nested if statements could be combined | 1368 - 1371 |
| Found 'DD'-anomaly for variable 'removeNotified' (lines '1,376'-'1,393'). | 1376 - 1393 |
| Found 'DD'-anomaly for variable 'removeNotified' (lines '1,376'-'1,383'). | 1376 - 1383 |
| Found 'DD'-anomaly for variable 'removeNotified' (lines '1,383'-'1,393'). | 1383 - 1393 |
| Found 'DD'-anomaly for variable 'removed' (lines '1,387'-'1,396'). | 1387 - 1396 |
| Assigning an Object to null is a code smell. Consider refactoring. | 1467 |
| Assigning an Object to null is a code smell. Consider refactoring. | 1470 |
| A method should have only one exit point, and that should be the last statement in the method | 1588 |
| Use explicit scoping instead of the default package private level | 1912 - 1915 |
| Use explicit scoping instead of the default package private level | 1923 - 1926 |
| A method should have only one exit point, and that should be the last statement in the method | 1975 |
| Found 'DU'-anomaly for variable 'serializableKey' (lines '1,977'-'1,983'). | 1977 - 1983 |
| A method should have only one exit point, and that should be the last statement in the method | 1979 |
| A method should have only one exit point, and that should be the last statement in the method | 2098 |
| A method should have only one exit point, and that should be the last statement in the method | 2102 |
| Found 'DD'-anomaly for variable 'size' (lines '2,117'-'2,119'). | 2117 - 2119 |
| Found 'DD'-anomaly for variable 'size' (lines '2,117'-'2,121'). | 2117 - 2121 |
| Found 'DD'-anomaly for variable 'size' (lines '2,117'-'2,123'). | 2117 - 2123 |
| A method should have only one exit point, and that should be the last statement in the method | 2187 |
| A method should have only one exit point, and that should be the last statement in the method | 2190 |
| A method should have only one exit point, and that should be the last statement in the method | 2271 |
| Perhaps 'key' could be replaced by a local variable. | 2324 |
| Perhaps 'future' could be replaced by a local variable. | 2325 |
| Use explicit scoping instead of the default package private level | 2345 - 2384 |
| Found 'DU'-anomaly for variable 'argument' (lines '2,345'-'2,384'). | 2345 - 2384 |
| Found 'DU'-anomaly for variable 'specificLoader' (lines '2,345'-'2,384'). | 2345 - 2384 |
| Found 'DU'-anomaly for variable 'argument' (lines '2,345'-'2,384'). | 2345 - 2384 |
| Found 'DU'-anomaly for variable 'specificLoader' (lines '2,345'-'2,384'). | 2345 - 2384 |
| Found 'DU'-anomaly for variable 'future' (lines '2,346'-'2,384'). | 2346 - 2384 |
| Found 'DU'-anomaly for variable 'future' (lines '2,346'-'2,384'). | 2346 - 2384 |
| Use explicit scoping instead of the default package private level | 2393 - 2426 |
| Use explicit scoping instead of the default package private level | 2431 - 2439 |
| Violation | Line |
|---|---|
| Found 'DU'-anomaly for variable 'configurationURL' (lines '216'-'237'). | 216 - 237 |
| Found 'DU'-anomaly for variable 'configurationFileName' (lines '216'-'237'). | 216 - 237 |
| Found 'DU'-anomaly for variable 'configurationInputStream' (lines '216'-'237'). | 216 - 237 |
| Found 'DD'-anomaly for variable 'localConfiguration' (lines '218'-'220'). | 218 - 220 |
| Found 'DU'-anomaly for variable 'configurationURL' (lines '251'-'278'). | 251 - 278 |
| Found 'DU'-anomaly for variable 'configurationInputStream' (lines '251'-'278'). | 251 - 278 |
| Found 'DU'-anomaly for variable 'configurationHelper' (lines '310'-'334'). | 310 - 334 |
| Found 'DU'-anomaly for variable 'configurationHelper' (lines '336'-'362'). | 336 - 362 |
| Found 'DU'-anomaly for variable 'uniqueResourceIdentifier' (lines '340'-'362'). | 340 - 362 |
| Found 'DU'-anomaly for variable 'configurationFileName' (lines '426'-'436'). | 426 - 436 |
| Found 'DU'-anomaly for variable 'configurationFileURL' (lines '458'-'469'). | 458 - 469 |
| Found 'DU'-anomaly for variable 'inputStream' (lines '483'-'493'). | 483 - 493 |
| A method should have only one exit point, and that should be the last statement in the method | 535 |
| Assigning an Object to null is a code smell. Consider refactoring. | 561 |
| Assigning an Object to null is a code smell. Consider refactoring. | 595 |
| Found 'DD'-anomaly for variable 'cache' (lines '625'-'627'). | 625 - 627 |
| Assigning an Object to null is a code smell. Consider refactoring. | 809 |
| Found 'UR'-anomaly for variable 'backingCache' (lines '975'-'975'). | 975 |
| A method should have only one exit point, and that should be the last statement in the method | 996 |
| Violation | Line |
|---|---|
| Found 'DU'-anomaly for variable 'element' (lines '68'-'69'). | 68 - 69 |
| Found 'DU'-anomaly for variable 'element' (lines '90'-'92'). | 90 - 92 |
| Found 'DU'-anomaly for variable 'doNotNotifyCacheReplicators' (lines '90'-'92'). | 90 - 92 |
| Found 'DU'-anomaly for variable 'element' (lines '102'-'103'). | 102 - 103 |
| Found 'DU'-anomaly for variable 'key' (lines '116'-'116'). | 116 |
| Found 'DU'-anomaly for variable 'key' (lines '130'-'130'). | 130 |
| Found 'DU'-anomaly for variable 'key' (lines '142'-'142'). | 142 |
| Found 'DU'-anomaly for variable 'key' (lines '155'-'155'). | 155 |
| Found 'DU'-anomaly for variable 'key' (lines '224'-'224'). | 224 |
| Found 'DU'-anomaly for variable 'key' (lines '238'-'238'). | 238 |
| Found 'DU'-anomaly for variable 'key' (lines '254'-'254'). | 254 |
| Found 'DU'-anomaly for variable 'doNotNotifyCacheReplicators' (lines '254'-'254'). | 254 |
| Found 'DU'-anomaly for variable 'key' (lines '269'-'269'). | 269 |
| Found 'DU'-anomaly for variable 'doNotNotifyCacheReplicators' (lines '269'-'269'). | 269 |
| Found 'DU'-anomaly for variable 'key' (lines '280'-'280'). | 280 |
| Found 'DU'-anomaly for variable 'key' (lines '292'-'292'). | 292 |
| Found 'DU'-anomaly for variable 'doNotNotifyCacheReplicators' (lines '308'-'308'). | 308 |
| Found 'DU'-anomaly for variable 'name' (lines '390'-'390'). | 390 |
| Found 'DU'-anomaly for variable 'element' (lines '456'-'456'). | 456 |
| Found 'DU'-anomaly for variable 'key' (lines '495'-'495'). | 495 |
| Found 'DU'-anomaly for variable 'key' (lines '503'-'503'). | 503 |
| Found 'DU'-anomaly for variable 'key' (lines '510'-'510'). | 510 |
| Found 'DU'-anomaly for variable 'key' (lines '518'-'518'). | 518 |
| Avoid modifiers which are implied by the context | 547 |
| Avoid modifiers which are implied by the context | 555 |
| Found 'DU'-anomaly for variable 'statisticsAccuracy' (lines '555'-'555'). | 555 |
| Found 'DU'-anomaly for variable 'key' (lines '569'-'569'). | 569 |
| Found 'DU'-anomaly for variable 'value' (lines '577'-'577'). | 577 |
| Found 'DU'-anomaly for variable 'cacheManager' (lines '622'-'622'). | 622 |
| Found 'DU'-anomaly for variable 'bootstrapCacheLoader' (lines '638'-'638'). | 638 |
| Found 'DU'-anomaly for variable 'diskStorePath' (lines '647'-'647'). | 647 |
| Avoid modifiers which are implied by the context | 670 |
| Avoid modifiers which are implied by the context | 684 |
| Found 'DU'-anomaly for variable 'cacheExtension' (lines '684'-'684'). | 684 |
| Avoid modifiers which are implied by the context | 689 |
| Found 'DU'-anomaly for variable 'cacheExtension' (lines '689'-'689'). | 689 |
| Avoid modifiers which are implied by the context | 694 |
| Avoid modifiers which are implied by the context | 699 |
| Found 'DU'-anomaly for variable 'cacheExceptionHandler' (lines '699'-'699'). | 699 |
| Avoid modifiers which are implied by the context | 704 |
| Avoid modifiers which are implied by the context | 711 |
| Found 'DU'-anomaly for variable 'cacheLoader' (lines '711'-'711'). | 711 |
| Avoid modifiers which are implied by the context | 718 |
| Avoid modifiers which are implied by the context | 739 |
| Found 'DU'-anomaly for variable 'key' (lines '739'-'739'). | 739 |
| Found 'DU'-anomaly for variable 'loaderArgument' (lines '739'-'739'). | 739 |
| Found 'DU'-anomaly for variable 'loader' (lines '739'-'739'). | 739 |
| Avoid modifiers which are implied by the context | 765 |
| Found 'DU'-anomaly for variable 'keys' (lines '765'-'765'). | 765 |
| Found 'DU'-anomaly for variable 'loaderArgument' (lines '765'-'765'). | 765 |
| Avoid modifiers which are implied by the context | 786 |
| Found 'DU'-anomaly for variable 'key' (lines '786'-'786'). | 786 |
| Avoid modifiers which are implied by the context | 809 |
| Found 'DU'-anomaly for variable 'keys' (lines '809'-'809'). | 809 |
| Found 'DU'-anomaly for variable 'argument' (lines '809'-'809'). | 809 |
| Avoid modifiers which are implied by the context | 826 |
| Avoid modifiers which are implied by the context | 834 |
| Found 'DU'-anomaly for variable 'disabled' (lines '834'-'834'). | 834 |
| Violation | Line |
|---|---|
| Unnecessary final modifier in final class | 194 - 202 |
| Unnecessary final modifier in final class | 213 - 215 |
| Unnecessary final modifier in final class | 223 - 232 |
| Unnecessary final modifier in final class | 244 - 246 |
| Unnecessary final modifier in final class | 251 - 262 |
| A method should have only one exit point, and that should be the last statement in the method | 253 |
| A method should have only one exit point, and that should be the last statement in the method | 258 |
| Unnecessary final modifier in final class | 287 - 289 |
| Unnecessary final modifier in final class | 296 - 298 |
| Unnecessary final modifier in final class | 305 - 307 |
| Unnecessary final modifier in final class | 312 - 314 |
| Unnecessary final modifier in final class | 321 - 323 |
| Unnecessary final modifier in final class | 330 - 332 |
| Unnecessary final modifier in final class | 339 - 341 |
| Unnecessary final modifier in final class | 346 - 348 |
| Unnecessary final modifier in final class | 353 - 357 |
| Unnecessary final modifier in final class | 362 - 366 |
| Unnecessary final modifier in final class | 371 - 374 |
| Unnecessary final modifier in final class | 380 - 392 |
| Unnecessary final modifier in final class | 406 - 416 |
| Found 'DD'-anomaly for variable 'newValue' (lines '419'-'428'). | 419 - 428 |
| Found 'DD'-anomaly for variable 'oos' (lines '421'-'424'). | 421 - 424 |
| Found 'DD'-anomaly for variable 'ois' (lines '422'-'427'). | 422 - 427 |
| Unnecessary final modifier in final class | 460 - 486 |
| A method should have only one exit point, and that should be the last statement in the method | 463 |
| Found 'DD'-anomaly for variable 'size' (lines '465'-'471'). | 465 - 471 |
| Found 'DD'-anomaly for variable 'oos' (lines '467'-'469'). | 467 - 469 |
| A method should have only one exit point, and that should be the last statement in the method | 472 |
| Unnecessary final modifier in final class | 498 - 500 |
| Unnecessary final modifier in final class | 514 - 516 |
| A method should have only one exit point, and that should be the last statement in the method | 538 |
| A method should have only one exit point, and that should be the last statement in the method | 556 |
| Found 'DD'-anomaly for variable 'expirationTime' (lines '559'-'566'). | 559 - 566 |
| Found 'DD'-anomaly for variable 'expirationTime' (lines '559'-'568'). | 559 - 568 |
| Found 'DD'-anomaly for variable 'expirationTime' (lines '559'-'570'). | 559 - 570 |
| Found 'DU'-anomaly for variable 'ttlExpiry' (lines '560'-'573'). | 560 - 573 |
| Found 'DU'-anomaly for variable 'ttiExpiry' (lines '563'-'573'). | 563 - 573 |
| Violation | Line |
|---|---|
| A method should have only one exit point, and that should be the last statement in the method | 210 |
| A method should have only one exit point, and that should be the last statement in the method | 212 |
| A method should have only one exit point, and that should be the last statement in the method | 224 |
| A method should have only one exit point, and that should be the last statement in the method | 236 |
| Violation | Line |
|---|---|
| A method should have only one exit point, and that should be the last statement in the method | 152 |
| A method should have only one exit point, and that should be the last statement in the method | 164 |
| Violation | Line |
|---|---|
| Found 'DU'-anomaly for variable 'cache' (lines '32'-'32'). | 32 |
| Violation | Line |
|---|---|
| Each class should declare at least one constructor | 28 - 39 |
| Found 'DU'-anomaly for variable 'properties' (lines '37'-'37'). | 37 |
| Violation | Line |
|---|---|
| It is a good practice to call super() in a constructor | 49 - 51 |
| Unnecessary final modifier in final class | 56 - 58 |
| Unnecessary final modifier in final class | 63 - 82 |
| Found 'DU'-anomaly for variable 'uri' (lines '63'-'82'). | 63 - 82 |
| Found 'DU'-anomaly for variable 'localName' (lines '63'-'82'). | 63 - 82 |
| Unnecessary final modifier in final class | 87 - 95 |
| Found 'DU'-anomaly for variable 'uri' (lines '87'-'95'). | 87 - 95 |
| Found 'DU'-anomaly for variable 'localName' (lines '87'-'95'). | 87 - 95 |
| Found 'DU'-anomaly for variable 'qName' (lines '87'-'95'). | 87 - 95 |
| A method should have only one exit point, and that should be the last statement in the method | 108 |
| Found 'DU'-anomaly for variable 'parent' (lines '131'-'159'). | 131 - 159 |
| A method should have only one exit point, and that should be the last statement in the method | 155 |
| Found 'DU'-anomaly for variable 'methodName' (lines '165'-'185'). | 165 - 185 |
| A method should have only one exit point, and that should be the last statement in the method | 181 |
| Found 'DU'-anomaly for variable 'attrValue' (lines '197'-'231'). | 197 - 231 |
| A method should have only one exit point, and that should be the last statement in the method | 208 |
| A method should have only one exit point, and that should be the last statement in the method | 239 |
| A method should have only one exit point, and that should be the last statement in the method | 242 |
| A method should have only one exit point, and that should be the last statement in the method | 245 |
| A method should have only one exit point, and that should be the last statement in the method | 248 |
| Found 'UR'-anomaly for variable 'methodName' (lines '259'-'259'). | 259 |
| Found 'DU'-anomaly for variable 'methodName' (lines '263'-'287'). | 263 - 287 |
| Found 'UR'-anomaly for variable 'exc' (lines '292'-'292'). | 292 |
| Found 'DU'-anomaly for variable 'child' (lines '292'-'309'). | 292 - 309 |
| Found 'DU'-anomaly for variable 'exc' (lines '303'-'309'). | 303 - 309 |
| Violation | Line |
|---|---|
| Each class should declare at least one constructor | 42 - 435 |
| Each class should declare at least one constructor | 263 - 264 |
| Each class should declare at least one constructor | 276 - 277 |
| Each class should declare at least one constructor | 289 - 290 |
| Each class should declare at least one constructor | 304 - 305 |
| Each class should declare at least one constructor | 319 - 320 |
| Violation | Line |
|---|---|
| Avoid unnecessary constructors - the compiler will generate these for you | 46 |
| Unnecessary final modifier in final class | 52 - 57 |
| Unnecessary final modifier in final class | 64 - 69 |
| Found 'DU'-anomaly for variable 'cacheManagerEventListenerFactoryConfiguration' (lines '64'-'69'). | 64 - 69 |
| Unnecessary final modifier in final class | 76 - 80 |
| Found 'DU'-anomaly for variable 'factory' (lines '76'-'80'). | 76 - 80 |
| Unnecessary final modifier in final class | 87 - 91 |
| Found 'DU'-anomaly for variable 'factory' (lines '87'-'91'). | 87 - 91 |
| Unnecessary final modifier in final class | 97 - 102 |
| Unnecessary final modifier in final class | 107 - 117 |
| Unnecessary final modifier in final class | 122 - 124 |
| Unnecessary final modifier in final class | 129 - 131 |
| Unnecessary final modifier in final class | 137 - 139 |
| Unnecessary final modifier in final class | 145 - 147 |
| Unnecessary final modifier in final class | 152 - 154 |
| Unnecessary final modifier in final class | 159 - 161 |
| Unnecessary final modifier in final class | 166 - 168 |
| Unnecessary final modifier in final class | 173 - 175 |
| Unnecessary final modifier in final class | 182 - 184 |
| Unnecessary final modifier in final class | 189 - 191 |
| Violation | Line |
|---|---|
| Found 'DD'-anomaly for variable 'configuration' (lines '69'-'73'). | 69 - 73 |
| Found 'DD'-anomaly for variable 'input' (lines '70'-'72'). | 70 - 72 |
| Found 'DD'-anomaly for variable 'input' (lines '96'-'98'). | 96 - 98 |
| Found 'DD'-anomaly for variable 'url' (lines '119'-'121'). | 119 - 121 |
| Avoid assignments in operands | 173 |
| Found 'DU'-anomaly for variable 'c' (lines '173'-'200'). | 173 - 200 |
| Use explicit scoping instead of the default package private level | 207 - 216 |
| Violation | Line |
|---|---|
| Found 'DU'-anomaly for variable 'registeredEventListeners' (lines '90'-'99'). | 90 - 99 |
| Found 'DU'-anomaly for variable 'cache' (lines '104'-'114'). | 104 - 114 |
| Found 'DD'-anomaly for variable 'className' (lines '124'-'127'). | 124 - 127 |
| Found 'DD'-anomaly for variable 'cacheEventListener' (lines '125'-'138'). | 125 - 138 |
| Found 'DU'-anomaly for variable 'cache' (lines '149'-'165'). | 149 - 165 |
| Found 'DD'-anomaly for variable 'className' (lines '151'-'154'). | 151 - 154 |
| Found 'DD'-anomaly for variable 'cacheExtension' (lines '152'-'162'). | 152 - 162 |
| Unnecessary final modifier in final class | 172 - 189 |
| Found 'DD'-anomaly for variable 'className' (lines '174'-'177'). | 174 - 177 |
| Found 'DU'-anomaly for variable 'bootstrapCacheLoader' (lines '175'-'189'). | 175 - 189 |
| A method should have only one exit point, and that should be the last statement in the method | 186 |
| Unnecessary final modifier in final class | 197 - 214 |
| Found 'DD'-anomaly for variable 'className' (lines '199'-'202'). | 199 - 202 |
| Found 'DU'-anomaly for variable 'cacheLoader' (lines '200'-'214'). | 200 - 214 |
| A method should have only one exit point, and that should be the last statement in the method | 211 |
| Unnecessary final modifier in final class | 222 - 239 |
| Found 'DD'-anomaly for variable 'className' (lines '224'-'227'). | 224 - 227 |
| Found 'DU'-anomaly for variable 'cacheExceptionHandler' (lines '225'-'239'). | 225 - 239 |
| A method should have only one exit point, and that should be the last statement in the method | 236 |
| Unnecessary final modifier in final class | 245 - 263 |
| Found 'DD'-anomaly for variable 'className' (lines '246'-'250'). | 246 - 250 |
| A method should have only one exit point, and that should be the last statement in the method | 254 |
| Unnecessary final modifier in final class | 268 - 285 |
| Found 'DD'-anomaly for variable 'className' (lines '269'-'273'). | 269 - 273 |
| A method should have only one exit point, and that should be the last statement in the method | 277 |
| Unnecessary final modifier in final class | 292 - 309 |
| Found 'DD'-anomaly for variable 'className' (lines '293'-'297'). | 293 - 297 |
| A method should have only one exit point, and that should be the last statement in the method | 301 |
| Unnecessary final modifier in final class | 315 - 322 |
| A method should have only one exit point, and that should be the last statement in the method | 318 |
| Unnecessary final modifier in final class | 328 - 336 |
| Unnecessary final modifier in final class | 343 - 353 |
| Unnecessary final modifier in final class | 359 - 370 |
| Found 'DD'-anomaly for variable 'count' (lines '360'-'366'). | 360 - 366 |
| Found 'DD'-anomaly for variable 'count' (lines '366'-'366'). | 366 |
| Unnecessary final modifier in final class | 376 - 387 |
| Found 'DD'-anomaly for variable 'count' (lines '377'-'383'). | 377 - 383 |
| Found 'DD'-anomaly for variable 'count' (lines '383'-'383'). | 383 |
| Unnecessary final modifier in final class | 394 - 410 |
| Use explicit scoping instead of the default package private level | 394 - 410 |
| Found 'DU'-anomaly for variable 'name' (lines '394'-'410'). | 394 - 410 |
| Found 'DD'-anomaly for variable 'cacheConfiguration' (lines '395'-'401'). | 395 - 401 |
| A method should have only one exit point, and that should be the last statement in the method | 406 |
| Unnecessary final modifier in final class | 417 - 442 |
| Use explicit scoping instead of the default package private level | 417 - 442 |
| A method should have only one exit point, and that should be the last statement in the method | 450 |
| Unnecessary final modifier in final class | 458 - 460 |
| Violation | Line |
|---|---|
| Each class should declare at least one constructor | 31 - 126 |
| Each class should declare at least one constructor | 44 - 50 |
| Use explicit scoping instead of the default package private level | 46 |
| Use explicit scoping instead of the default package private level | 47 |
| Use explicit scoping instead of the default package private level | 48 |
| Use explicit scoping instead of the default package private level | 49 |
| Unnecessary final modifier in final class | 55 - 57 |
| Unnecessary final modifier in final class | 83 - 86 |
| Found 'DD'-anomaly for variable 'translatedPath' (lines '89'-'90'). | 89 - 90 |
| Found 'DU'-anomaly for variable 'replacement' (lines '111'-'124'). | 111 - 124 |
| A method should have only one exit point, and that should be the last statement in the method | 114 |
| Violation | Line |
|---|---|
| Each class should declare at least one constructor | 24 - 86 |
| Violation | Line |
|---|---|
| Use explicit scoping instead of the default package private level | 137 - 154 |
| A method should have only one exit point, and that should be the last statement in the method | 254 |
| Found 'DD'-anomaly for variable 'queue' (lines '280'-'283'). | 280 - 283 |
| Found 'DU'-anomaly for variable 'instrumentedCommand' (lines '281'-'323'). | 281 - 323 |
| Found 'DD'-anomaly for variable 'instrumentedCommand' (lines '281'-'296'). | 281 - 296 |
| Found 'DU'-anomaly for variable 'queue' (lines '283'-'323'). | 283 - 323 |
| Found 'DD'-anomaly for variable 'object' (lines '287'-'289'). | 287 - 289 |
| Found 'DU'-anomaly for variable 'object' (lines '287'-'323'). | 287 - 323 |
| Found 'DU'-anomaly for variable 'throwable' (lines '326'-'341'). | 326 - 341 |
| A method should have only one exit point, and that should be the last statement in the method | 330 |
| Found 'DD'-anomaly for variable 'match' (lines '332'-'336'). | 332 - 336 |
| Found 'DD'-anomaly for variable 'match' (lines '336'-'336'). | 336 |
| Found 'DD'-anomaly for variable 'cache' (lines '345'-'347'). | 345 - 347 |
| Found 'DD'-anomaly for variable 'element' (lines '364'-'368'). | 364 - 368 |
| Found 'DD'-anomaly for variable 'messageCount' (lines '402'-'405'). | 402 - 405 |
| Use explicit scoping instead of the default package private level | 452 - 458 |
| Use explicit scoping instead of the default package private level | 467 - 470 |
| A method should have only one exit point, and that should be the last statement in the method | 567 |
| Violation | Line |
|---|---|
| Overriding method merely calls super | 249 - 251 |
| Found 'UR'-anomaly for variable 'message' (lines '514'-'514'). | 514 |
| Found 'DU'-anomaly for variable 'message' (lines '522'-'541'). | 522 - 541 |
| A method should have only one exit point, and that should be the last statement in the method | 533 |
| Found 'DU'-anomaly for variable 'cacheLoader' (lines '997'-'999'). | 997 - 999 |
| Found 'DU'-anomaly for variable 'key' (lines '1,014'-'1,016'). | 1014 - 1016 |
| Found 'DU'-anomaly for variable 'loaderArgument' (lines '1,014'-'1,016'). | 1014 - 1016 |
| Found 'DU'-anomaly for variable 'loader' (lines '1,014'-'1,016'). | 1014 - 1016 |
| Found 'DU'-anomaly for variable 'keys' (lines '1,022'-'1,024'). | 1022 - 1024 |
| Found 'DU'-anomaly for variable 'loaderArgument' (lines '1,022'-'1,024'). | 1022 - 1024 |
| Found 'DU'-anomaly for variable 'key' (lines '1,030'-'1,032'). | 1030 - 1032 |
| Found 'DU'-anomaly for variable 'keys' (lines '1,038'-'1,040'). | 1038 - 1040 |
| Found 'DU'-anomaly for variable 'argument' (lines '1,038'-'1,040'). | 1038 - 1040 |
| Violation | Line |
|---|---|
| Found 'DU'-anomaly for variable 'key' (lines '36'-'36'). | 36 |
| Violation | Line |
|---|---|
| Found 'UR'-anomaly for variable 'message' (lines '63'-'63'). | 63 |
| Found 'UR'-anomaly for variable 'keyWithException' (lines '121'-'121'). | 121 |
| Found 'UR'-anomaly for variable 'exception' (lines '121'-'121'). | 121 |
| Found 'DD'-anomaly for variable 'exception' (lines '122'-'154'). | 122 - 154 |
| Found 'DU'-anomaly for variable 'keyWithException' (lines '123'-'161'). | 123 - 161 |
| Found 'DD'-anomaly for variable 'exception' (lines '154'-'154'). | 154 |
| Violation | Line |
|---|---|
| Found 'DU'-anomaly for variable 'key' (lines '47'-'47'). | 47 |
| Found 'DU'-anomaly for variable 'value' (lines '47'-'47'). | 47 |
| Violation | Line |
|---|---|
| A method should have only one exit point, and that should be the last statement in the method | 70 |
| Violation | Line |
|---|---|
| Each class should declare at least one constructor | 112 - 203 |
| Found 'DU'-anomaly for variable 'msecs' (lines '153'-'185'). | 153 - 185 |
| A method should have only one exit point, and that should be the last statement in the method | 160 |
| A method should have only one exit point, and that should be the last statement in the method | 162 |
| Found 'DU'-anomaly for variable 'waitTime' (lines '164'-'185'). | 164 - 185 |
| Found 'DU'-anomaly for variable 'start' (lines '165'-'185'). | 165 - 185 |
| A method should have only one exit point, and that should be the last statement in the method | 171 |
| Violation | Line |
|---|---|
| Found 'DU'-anomaly for variable 'msecs' (lines '335'-'335'). | 335 |
| Violation | Line |
|---|---|
| Found 'DU'-anomaly for variable 'msg' (lines '123'-'127'). | 123 - 127 |
| Assigning an Object to null is a code smell. Consider refactoring. | 231 |
| Overriding method merely calls super | 238 - 240 |
| Violation | Line |
|---|---|
| Assigning an Object to null is a code smell. Consider refactoring. | 81 |
| A method should have only one exit point, and that should be the last statement in the method | 134 |
| A method should have only one exit point, and that should be the last statement in the method | 153 |
| A method should have only one exit point, and that should be the last statement in the method | 171 |
| A method should have only one exit point, and that should be the last statement in the method | 204 |
| Found 'DU'-anomaly for variable 'buffer' (lines '221'-'233'). | 221 - 233 |
| Violation | Line |
|---|---|
| Found 'DU'-anomaly for variable 'request' (lines '64'-'75'). | 64 - 75 |
| A method should have only one exit point, and that should be the last statement in the method | 71 |
| Found 'DU'-anomaly for variable 'request' (lines '91'-'112'). | 91 - 112 |
| A method should have only one exit point, and that should be the last statement in the method | 99 |
| A method should have only one exit point, and that should be the last statement in the method | 108 |
| Violation | Line |
|---|---|
| Each class should declare at least one constructor | 48 - 77 |
| Found 'DU'-anomaly for variable 'servletContextEvent' (lines '57'-'59'). | 57 - 59 |
| Found 'DU'-anomaly for variable 'servletContextEvent' (lines '68'-'76'). | 68 - 76 |
| Violation | Line |
|---|---|
| Each class should declare at least one constructor | 65 - 416 |
| Found 'DU'-anomaly for variable 'filterConfig' (lines '84'-'97'). | 84 - 97 |
| Found 'DU'-anomaly for variable 'chain' (lines '162'-'202'). | 162 - 202 |
| Found 'DU'-anomaly for variable 'response' (lines '162'-'202'). | 162 - 202 |
| Found 'DD'-anomaly for variable 'pageInfo' (lines '166'-'174'). | 166 - 174 |
| Found 'DD'-anomaly for variable 'pageInfo' (lines '166'-'193'). | 166 - 193 |
| Found 'DU'-anomaly for variable 'response' (lines '267'-'274'). | 267 - 274 |
| Found 'DU'-anomaly for variable 'requestAcceptsGzipEncoding' (lines '294'-'306'). | 294 - 306 |
| Found 'DU'-anomaly for variable 'response' (lines '294'-'306'). | 294 - 306 |
| Found 'DU'-anomaly for variable 'header' (lines '299'-'306'). | 299 - 306 |
| Found 'DU'-anomaly for variable 'value' (lines '300'-'306'). | 300 - 306 |
| Found 'DU'-anomaly for variable 'httpRequest' (lines '347'-'347'). | 347 |
| Found 'DD'-anomaly for variable 'body' (lines '369'-'377'). | 369 - 377 |
| Found 'DD'-anomaly for variable 'body' (lines '372'-'377'). | 372 - 377 |
| Found 'UR'-anomaly for variable 'filterName' (lines '397'-'397'). | 397 |
| Found 'DU'-anomaly for variable 'threadName' (lines '399'-'415'). | 399 - 415 |
| Found 'DU'-anomaly for variable 'newThreadName' (lines '410'-'415'). | 410 - 415 |
| Violation | Line |
|---|---|
| Each class should declare at least one constructor | 44 - 371 |
| Found 'DU'-anomaly for variable 'httpResponse' (lines '89'-'100'). | 89 - 100 |
| Found 'UR'-anomaly for variable 'message' (lines '116'-'116'). | 116 |
| Found 'DU'-anomaly for variable 'message' (lines '122'-'156'). | 122 - 156 |
| Found 'DU'-anomaly for variable 'throwable' (lines '165'-'185'). | 165 - 185 |
| A method should have only one exit point, and that should be the last statement in the method | 167 |
| A method should have only one exit point, and that should be the last statement in the method | 170 |
| A method should have only one exit point, and that should be the last statement in the method | 175 |
| A method should have only one exit point, and that should be the last statement in the method | 181 |
| Found 'DU'-anomaly for variable 'level' (lines '223'-'239'). | 223 - 239 |
| Assigning an Object to null is a code smell. Consider refactoring. | 266 |
| Found 'DU'-anomaly for variable 'value' (lines '281'-'293'). | 281 - 293 |
| A method should have only one exit point, and that should be the last statement in the method | 289 |
| Found 'DU'-anomaly for variable 'request' (lines '300'-'314'). | 300 - 314 |
| Found 'DU'-anomaly for variable 'headers' (lines '302'-'314'). | 302 - 314 |
| Found 'DU'-anomaly for variable 'chain' (lines '328'-'329'). | 328 - 329 |
| Found 'DU'-anomaly for variable 'httpRequest' (lines '328'-'329'). | 328 - 329 |
| Found 'DU'-anomaly for variable 'httpResponse' (lines '328'-'329'). | 328 - 329 |
| Found 'DU'-anomaly for variable 'filterConfig' (lines '336'-'336'). | 336 |
| Violation | Line |
|---|---|
| It is a good practice to call super() in a constructor | 36 - 38 |
| Violation | Line |
|---|---|
| Each class should declare at least one constructor | 41 - 154 |
| Found 'DU'-anomaly for variable 'filterConfig' (lines '49'-'51'). | 49 - 51 |
| Violation | Line |
|---|---|
| Each class should declare at least one constructor | 41 - 100 |
| Violation | Line |
|---|---|
| Each class should declare at least one constructor | 72 - 132 |
| Violation | Line |
|---|---|
| Each class should declare at least one constructor | 59 - 101 |
| Violation | Line |
|---|---|
| Each class should declare at least one constructor | 31 - 44 |
| Found 'DU'-anomaly for variable 'cacheManager' (lines '40'-'40'). | 40 |
| Found 'DU'-anomaly for variable 'properties' (lines '40'-'40'). | 40 |
| Violation | Line |
|---|---|
| Found 'DU'-anomaly for variable 'rmiUrl' (lines '35'-'35'). | 35 |
| Found 'DU'-anomaly for variable 'rmiUrl' (lines '42'-'42'). | 42 |
| Found 'DU'-anomaly for variable 'cache' (lines '47'-'47'). | 47 |
| Violation | Line |
|---|---|
| Each class should declare at least one constructor | 29 - 42 |
| Found 'DU'-anomaly for variable 'cacheManager' (lines '38'-'38'). | 38 |
| Found 'DU'-anomaly for variable 'properties' (lines '38'-'38'). | 38 |
| Violation | Line |
|---|---|
| Found 'DU'-anomaly for variable 'element' (lines '53'-'53'). | 53 |
| Found 'DU'-anomaly for variable 'key' (lines '64'-'64'). | 64 |
| Found 'DU'-anomaly for variable 'eventMessages' (lines '80'-'80'). | 80 |
| Found 'DU'-anomaly for variable 'key' (lines '137'-'137'). | 137 |
| Found 'DU'-anomaly for variable 'keys' (lines '147'-'147'). | 147 |
| Violation | Line |
|---|---|
| A method should have only one exit point, and that should be the last statement in the method | 99 |
| Violation | Line |
|---|---|
| A method should have only one exit point, and that should be the last statement in the method | 126 |
| Violation | Line |
|---|---|
| Avoid unnecessary constructors - the compiler will generate these for you | 47 - 49 |
| Unnecessary final modifier in final class | 54 - 56 |
| Unnecessary final modifier in final class | 72 - 74 |
| Unnecessary final modifier in final class | 80 - 118 |
| Found 'DU'-anomaly for variable 'cache' (lines '80'-'118'). | 80 - 118 |
| Found 'DD'-anomaly for variable 'cachePeer' (lines '92'-'94'). | 92 - 94 |
| Unnecessary final modifier in final class | 129 - 131 |
| Found 'DU'-anomaly for variable 'date' (lines '129'-'131'). | 129 - 131 |
| Violation | Line |
|---|---|
| Unnecessary final modifier in final class | 76 - 82 |
| Use explicit scoping instead of the default package private level | 76 - 82 |
| Unnecessary final modifier in final class | 87 - 92 |
| Unnecessary final modifier in final class | 107 - 128 |
| Found 'DU'-anomaly for variable 'buf' (lines '108'-'128'). | 108 - 128 |
| A method should have only one exit point, and that should be the last statement in the method | 156 |
| Found 'DU'-anomaly for variable 'rmiUrls' (lines '196'-'215'). | 196 - 215 |
| A method should have only one exit point, and that should be the last statement in the method | 200 |
| A method should have only one exit point, and that should be the last statement in the method | 204 |
| Found 'DD'-anomaly for variable 'cacheManagerUrlBase' (lines '207'-'209'). | 207 - 209 |
| Unnecessary final modifier in final class | 225 - 233 |
| Violation | Line |
|---|---|
| Unnecessary final modifier in final class | 89 - 92 |
| Unnecessary final modifier in final class | 97 - 101 |
| Perhaps 'compressedUrlListList' could be replaced by a local variable. | 109 |
| Perhaps 'cachePeersHash' could be replaced by a local variable. | 110 |
| Unnecessary final modifier in final class | 121 - 161 |
| Unnecessary final modifier in final class | 230 - 233 |
| Violation | Line |
|---|---|
| Unnecessary final modifier in final class | 87 - 95 |
| Unnecessary final modifier in final class | 104 - 133 |
| Unnecessary final modifier in final class | 138 - 173 |
| Found 'DU'-anomaly for variable 'cache' (lines '138'-'173'). | 138 - 173 |
| Unnecessary final modifier in final class | 179 - 182 |
| Unnecessary final modifier in final class | 208 - 211 |
| Unnecessary final modifier in final class | 236 - 238 |
| Unnecessary final modifier in final class | 244 - 246 |
| Violation | Line |
|---|---|
| Found 'DD'-anomaly for variable 'rmiUrl' (lines '76'-'78'). | 76 - 78 |
| Found 'DD'-anomaly for variable 'ungzipped' (lines '122'-'134'). | 122 - 134 |
| Found 'DU'-anomaly for variable 'buffer' (lines '126'-'141'). | 126 - 141 |
| Violation | Line |
|---|---|
| A method should have only one exit point, and that should be the last statement in the method | 114 |
| Found 'DU'-anomaly for variable 'cache' (lines '140'-'156'). | 140 - 156 |
| Found 'DU'-anomaly for variable 'element' (lines '140'-'156'). | 140 - 156 |
| A method should have only one exit point, and that should be the last statement in the method | 142 |
| A method should have only one exit point, and that should be the last statement in the method | 146 |
| Found 'DU'-anomaly for variable 'cache' (lines '171'-'196'). | 171 - 196 |
| Found 'DU'-anomaly for variable 'element' (lines '171'-'196'). | 171 - 196 |
| A method should have only one exit point, and that should be the last statement in the method | 173 |
| A method should have only one exit point, and that should be the last statement in the method | 176 |
| A method should have only one exit point, and that should be the last statement in the method | 184 |
| Found 'DU'-anomaly for variable 'cache' (lines '211'-'227'). | 211 - 227 |
| Found 'DU'-anomaly for variable 'element' (lines '211'-'227'). | 211 - 227 |
| A method should have only one exit point, and that should be the last statement in the method | 213 |
| A method should have only one exit point, and that should be the last statement in the method | 217 |
| Found 'DU'-anomaly for variable 'cache' (lines '242'-'252'). | 242 - 252 |
| A method should have only one exit point, and that should be the last statement in the method | 244 |
| Found 'DU'-anomaly for variable 'cacheEventMessage' (lines '263'-'272'). | 263 - 272 |
| Found 'DU'-anomaly for variable 'resolvedEventMessages' (lines '303'-'332'). | 303 - 332 |
| Unnecessary final modifier in final class | 367 - 369 |
| Perhaps 'cache' could be replaced by a local variable. | 382 |
| Violation | Line |
|---|---|
| Unnecessary final modifier in final class | 104 - 113 |
| Assigning an Object to null is a code smell. Consider refactoring. | 110 |
| A method should have only one exit point, and that should be the last statement in the method | 134 |
| Found 'DD'-anomaly for variable 'sampleElement' (lines '144'-'148'). | 144 - 148 |
| Found 'DU'-anomaly for variable 'chunkSize' (lines '159'-'177'). | 159 - 177 |
| Found 'DD'-anomaly for variable 'timeForClusterToForm' (lines '186'-'189'). | 186 - 189 |
| Found 'DD'-anomaly for variable 'cachePeers' (lines '195'-'197'). | 195 - 197 |
| Found 'DU'-anomaly for variable 'cache' (lines '224'-'233'). | 224 - 233 |
| A method should have only one exit point, and that should be the last statement in the method | 243 |
| Violation | Line |
|---|---|
| Each class should declare at least one constructor | 33 - 120 |
| Found 'DD'-anomaly for variable 'maximumChunkSizeBytes' (lines '82'-'89'). | 82 - 89 |
| Found 'DD'-anomaly for variable 'maximumChunkSizeBytes' (lines '82'-'91'). | 82 - 91 |
| Found 'DD'-anomaly for variable 'maximumChunkSizeBytes' (lines '82'-'99'). | 82 - 99 |
| Found 'DD'-anomaly for variable 'maximumChunkSizeBytes' (lines '89'-'95'). | 89 - 95 |
| Found 'DD'-anomaly for variable 'maximumChunkSizeBytes' (lines '91'-'95'). | 91 - 95 |
| Violation | Line |
|---|---|
| Found 'DD'-anomaly for variable 'serverSocket' (lines '177'-'179'). | 177 - 179 |
| Found 'UR'-anomaly for variable 'url' (lines '198'-'198'). | 198 |
| Found 'DD'-anomaly for variable 'rmiCachePeer' (lines '199'-'206'). | 199 - 206 |
| Found 'DD'-anomaly for variable 'counter' (lines '202'-'208'). | 202 - 208 |
| Found 'DD'-anomaly for variable 'counter' (lines '208'-'208'). | 208 |
| Found 'DD'-anomaly for variable 'url' (lines '214'-'216'). | 214 - 216 |
| Found 'DU'-anomaly for variable 'url' (lines '214'-'222'). | 214 - 222 |
| Found 'DU'-anomaly for variable 'url' (lines '216'-'222'). | 216 - 222 |
| Found 'DU'-anomaly for variable 'cache' (lines '269'-'280'). | 269 - 280 |
| Found 'DD'-anomaly for variable 'cache' (lines '269'-'269'). | 269 |
| These nested if statements could be combined | 272 - 275 |
| A method should hav |