The following document contains the results of PMD 4.2.2.
Violation | Line |
---|---|
Avoid modifiers which are implied by the context | 33 |
Violation | Line |
---|---|
Found 'DD'-anomaly for variable 'testList' (lines '82'-'83'). | 82 - 83 |
Avoid assignments in operands | 83 |
Found 'DU'-anomaly for variable 'testList' (lines '83'-'88'). | 83 - 88 |
A method should have only one exit point, and that should be the last statement in the method | 85 |
Violation | Line |
---|---|
It is a good practice to call super() in a constructor | 47 - 56 |
Violation | Line |
---|---|
Avoid using final local variables, turn them into fields | 157 |
Avoid using final local variables, turn them into fields | 158 - 159 |
Violation | Line |
---|---|
Avoid modifiers which are implied by the context | 40 |
Avoid modifiers which are implied by the context | 50 |
Violation | Line |
---|---|
Found 'DD'-anomaly for variable 'cmdClass' (lines '52'-'54'). | 52 - 54 |
Found 'DU'-anomaly for variable 'cmdClass' (lines '54'-'63'). | 54 - 63 |
Found 'DD'-anomaly for variable 'isSupported' (lines '95'-'98'). | 95 - 98 |
Avoid empty catch blocks | 99 - 100 |
Avoid using final local variables, turn them into fields | 116 |
Violation | Line |
---|---|
Avoid modifiers which are implied by the context | 41 |
Violation | Line |
---|---|
Found 'DD'-anomaly for variable 'comparatorClass' (lines '53'-'55'). | 53 - 55 |
Found 'DU'-anomaly for variable 'comparatorClass' (lines '55'-'65'). | 55 - 65 |
Violation | Line |
---|---|
Found 'DD'-anomaly for variable 'stream' (lines '110'-'115'). | 110 - 115 |
Avoid using final local variables, turn them into fields | 112 - 113 |
Violation | Line |
---|---|
Avoid modifiers which are implied by the context | 29 - 30 |
Violation | Line |
---|---|
Avoid modifiers which are implied by the context | 44 - 45 |
Violation | Line |
---|---|
Found 'DD'-anomaly for variable 'endIndex' (lines '94'-'98'). | 94 - 98 |
Found 'DD'-anomaly for variable 'endIndex' (lines '94'-'101'). | 94 - 101 |
Found 'DD'-anomaly for variable 'endIndex' (lines '94'-'104'). | 94 - 104 |
Found 'DD'-anomaly for variable 'magnitude' (lines '95'-'97'). | 95 - 97 |
Found 'DD'-anomaly for variable 'magnitude' (lines '95'-'100'). | 95 - 100 |
Found 'DD'-anomaly for variable 'magnitude' (lines '95'-'103'). | 95 - 103 |
Violation | Line |
---|---|
Avoid using final local variables, turn them into fields | 114 |
Avoid using final local variables, turn them into fields | 115 |
Avoid using final local variables, turn them into fields | 136 |
Avoid using final local variables, turn them into fields | 137 |
Avoid using final local variables, turn them into fields | 151 |
Violation | Line |
---|---|
Avoid using final local variables, turn them into fields | 96 - 97 |
Avoid empty catch blocks | 146 - 148 |
Violation | Line |
---|---|
Found 'DU'-anomaly for variable 'children' (lines '97'-'109'). | 97 - 109 |
Found 'DD'-anomaly for variable 'argument' (lines '98'-'101'). | 98 - 101 |
Found 'DD'-anomaly for variable 'argument' (lines '98'-'103'). | 98 - 103 |
Found 'DD'-anomaly for variable 'children' (lines '115'-'116'). | 115 - 116 |
Found 'DD'-anomaly for variable 'testList' (lines '120'-'125'). | 120 - 125 |
Found 'DD'-anomaly for variable 'testList' (lines '120'-'127'). | 120 - 127 |
Found 'DD'-anomaly for variable 'testList' (lines '125'-'125'). | 125 |
Found 'DD'-anomaly for variable 'testList' (lines '125'-'127'). | 125 - 127 |
Found 'DD'-anomaly for variable 'testList' (lines '127'-'125'). | 127 - 125 |
Found 'DD'-anomaly for variable 'testList' (lines '127'-'127'). | 127 |
Found 'DD'-anomaly for variable 'children' (lines '155'-'156'). | 155 - 156 |
Found 'DD'-anomaly for variable 'arguments' (lines '160'-'165'). | 160 - 165 |
Found 'DD'-anomaly for variable 'block' (lines '161'-'167'). | 161 - 167 |
Found 'DD'-anomaly for variable 'arguments' (lines '165'-'165'). | 165 |
Found 'DD'-anomaly for variable 'block' (lines '167'-'167'). | 167 |
Avoid using final local variables, turn them into fields | 171 |
Avoid using final local variables, turn them into fields | 224 |
Found 'DD'-anomaly for variable 'children' (lines '246'-'247'). | 246 - 247 |
Found 'DD'-anomaly for variable 'arguments' (lines '251'-'255'). | 251 - 255 |
Found 'DD'-anomaly for variable 'arguments' (lines '255'-'255'). | 255 |
Violation | Line |
---|---|
Avoid using final local variables, turn them into fields | 81 |
Avoid using final local variables, turn them into fields | 120 |
Avoid using final local variables, turn them into fields | 122 |
Violation | Line |
---|---|
Found 'DD'-anomaly for variable 'list' (lines '55'-'56'). | 55 - 56 |
Avoid assignments in operands | 56 |
Found 'DU'-anomaly for variable 'list' (lines '56'-'61'). | 56 - 61 |
A method should have only one exit point, and that should be the last statement in the method | 58 |
Violation | Line |
---|---|
Avoid using final local variables, turn them into fields | 51 |
Avoid using final local variables, turn them into fields | 52 |
Avoid using final local variables, turn them into fields | 53 |
Avoid instantiating Boolean objects; reference Boolean.TRUE or Boolean.FALSE or call Boolean.valueOf() instead. | 54 |
Violation | Line |
---|---|
Avoid instantiating Boolean objects; reference Boolean.TRUE or Boolean.FALSE or call Boolean.valueOf() instead. | 85 |
Violation | Line |
---|---|
Avoid modifiers which are implied by the context | 41 |
Violation | Line |
---|---|
Found 'DD'-anomaly for variable 'testClass' (lines '54'-'57'). | 54 - 57 |
Found 'DU'-anomaly for variable 'testClass' (lines '57'-'66'). | 57 - 66 |
Avoid using final local variables, turn them into fields | 101 |
Violation | Line |
---|---|
Avoid unnecessary constructors - the compiler will generate these for you | 39 - 41 |
Violation | Line |
---|---|
Avoid unnecessary constructors - the compiler will generate these for you | 34 - 36 |
Violation | Line |
---|---|
Avoid unnecessary constructors - the compiler will generate these for you | 39 - 41 |
Violation | Line |
---|---|
Avoid unnecessary constructors - the compiler will generate these for you | 38 - 40 |
Found 'DU'-anomaly for variable 'oldManager' (lines '56'-'67'). | 56 - 67 |
Violation | Line |
---|---|
Avoid unnecessary constructors - the compiler will generate these for you | 32 - 34 |
Violation | Line |
---|---|
Avoid unnecessary constructors - the compiler will generate these for you | 37 - 39 |
Violation | Line |
---|---|
Avoid unnecessary constructors - the compiler will generate these for you | 37 - 39 |
Violation | Line |
---|---|
Avoid unnecessary constructors - the compiler will generate these for you | 36 - 38 |
A method should have only one exit point, and that should be the last statement in the method | 60 |
Violation | Line |
---|---|
Avoid unnecessary constructors - the compiler will generate these for you | 37 - 39 |
A method should have only one exit point, and that should be the last statement in the method | 62 |
Violation | Line |
---|---|
Avoid unnecessary constructors - the compiler will generate these for you | 36 - 38 |
A method should have only one exit point, and that should be the last statement in the method | 61 |
Violation | Line |
---|---|
Avoid unnecessary constructors - the compiler will generate these for you | 37 - 39 |
Violation | Line |
---|---|
Avoid unnecessary constructors - the compiler will generate these for you | 39 - 41 |
Violation | Line |
---|---|
Avoid unnecessary constructors - the compiler will generate these for you | 43 - 45 |
Avoid empty catch blocks | 85 - 87 |
Violation | Line |
---|---|
Avoid unnecessary constructors - the compiler will generate these for you | 37 - 39 |
Violation | Line |
---|---|
Avoid unnecessary constructors - the compiler will generate these for you | 49 - 51 |
Found 'DU'-anomaly for variable 'logLevel' (lines '59'-'111'). | 59 - 111 |
Found 'DD'-anomaly for variable 'message' (lines '60'-'97'). | 60 - 97 |
Found 'DU'-anomaly for variable 'message' (lines '60'-'111'). | 60 - 111 |
Found 'DU'-anomaly for variable 'logLevel' (lines '80'-'111'). | 80 - 111 |
Violation | Line |
---|---|
Avoid modifiers which are implied by the context | 27 |
Avoid modifiers which are implied by the context | 29 |
Avoid modifiers which are implied by the context | 31 |
Avoid modifiers which are implied by the context | 33 |
Avoid modifiers which are implied by the context | 35 |
Avoid modifiers which are implied by the context | 37 |
Violation | Line |
---|---|
Avoid unnecessary constructors - the compiler will generate these for you | 43 - 45 |
Found 'DU'-anomaly for variable 'destination' (lines '63'-'81'). | 63 - 81 |
Found 'DD'-anomaly for variable 'isDuplicate' (lines '69'-'72'). | 69 - 72 |
Found 'DD'-anomaly for variable 'isDuplicate' (lines '72'-'72'). | 72 |
Violation | Line |
---|---|
Avoid unnecessary constructors - the compiler will generate these for you | 50 - 52 |
Violation | Line |
---|---|
Avoid unnecessary constructors - the compiler will generate these for you | 35 - 37 |
Violation | Line |
---|---|
Avoid unnecessary constructors - the compiler will generate these for you | 33 - 35 |
Violation | Line |
---|---|
Avoid modifiers which are implied by the context | 27 |
Avoid modifiers which are implied by the context | 29 |
Violation | Line |
---|---|
Found 'DD'-anomaly for variable 'isMatched' (lines '60'-'62'). | 60 - 62 |
Found 'DD'-anomaly for variable 'isMatched' (lines '60'-'64'). | 60 - 64 |
Found 'DD'-anomaly for variable 'isMatched' (lines '60'-'67'). | 60 - 67 |
Avoid using final local variables, turn them into fields | 88 |
Found 'DD'-anomaly for variable 'lastCharWasStar' (lines '147'-'178'). | 147 - 178 |
Found 'DU'-anomaly for variable 'lastCharWasStar' (lines '147'-'181'). | 147 - 181 |
Avoid using final local variables, turn them into fields | 149 |
Found 'DU'-anomaly for variable 'lastCharWasStar' (lines '178'-'181'). | 178 - 181 |
Found 'DD'-anomaly for variable 'lastCharWasStar' (lines '178'-'178'). | 178 |
Violation | Line |
---|---|
Avoid modifiers which are implied by the context | 36 |
Violation | Line |
---|---|
Avoid modifiers which are implied by the context | 35 |
Violation | Line |
---|---|
Avoid modifiers which are implied by the context | 27 |
Avoid modifiers which are implied by the context | 29 |
Avoid modifiers which are implied by the context | 31 |
Violation | Line |
---|---|
Avoid modifiers which are implied by the context | 37 |
Violation | Line |
---|---|
Avoid unnecessary constructors - the compiler will generate these for you | 35 - 37 |
Violation | Line |
---|---|
Avoid unnecessary constructors - the compiler will generate these for you | 31 - 33 |
Violation | Line |
---|---|
Avoid modifiers which are implied by the context | 80 |
Avoid modifiers which are implied by the context | 89 |
Avoid modifiers which are implied by the context | 101 |
Avoid modifiers which are implied by the context | 122 |
Avoid modifiers which are implied by the context | 132 |
Avoid modifiers which are implied by the context | 140 |
Avoid modifiers which are implied by the context | 145 |
Avoid modifiers which are implied by the context | 162 |
Avoid modifiers which are implied by the context | 173 |
Avoid modifiers which are implied by the context | 198 - 199 |
Avoid modifiers which are implied by the context | 204 - 221 |
Avoid modifiers which are implied by the context | 212 |
Avoid modifiers which are implied by the context | 220 |
Violation | Line |
---|---|
Avoid modifiers which are implied by the context | 40 |
Avoid modifiers which are implied by the context | 49 |
Avoid modifiers which are implied by the context | 69 |
Violation | Line |
---|---|
Avoid unnecessary constructors - the compiler will generate these for you | 38 - 40 |
Avoid using final local variables, turn them into fields | 139 |
Avoid using final local variables, turn them into fields | 140 |
Avoid using final local variables, turn them into fields | 141 |
Avoid using final local variables, turn them into fields | 142 |
Avoid using final local variables, turn them into fields | 143 - 144 |
Avoid using final local variables, turn them into fields | 155 |
Avoid using final local variables, turn them into fields | 159 |
Avoid using final local variables, turn them into fields | 168 |
Avoid using final local variables, turn them into fields | 169 |
Avoid using final local variables, turn them into fields | 171 |
Avoid using final local variables, turn them into fields | 192 |
Violation | Line |
---|---|
Each class should declare at least one constructor | 24 - 30 |
Violation | Line |
---|---|
Avoid using final local variables, turn them into fields | 73 |
Avoid using final local variables, turn them into fields | 84 - 85 |
Avoid using final local variables, turn them into fields | 103 |
Avoid using final local variables, turn them into fields | 106 |
Avoid using final local variables, turn them into fields | 114 |
Avoid using final local variables, turn them into fields | 115 |
Avoid using final local variables, turn them into fields | 123 |
Avoid using final local variables, turn them into fields | 124 |
Violation | Line |
---|---|
Avoid unnecessary constructors - the compiler will generate these for you | 40 - 42 |
Found 'DU'-anomaly for variable 'addressPart' (lines '63'-'141'). | 63 - 141 |
Found 'DU'-anomaly for variable 'comparator' (lines '64'-'141'). | 64 - 141 |
Found 'DU'-anomaly for variable 'matchType' (lines '65'-'141'). | 65 - 141 |
Found 'DD'-anomaly for variable 'headerNames' (lines '66'-'118'). | 66 - 118 |
Found 'DU'-anomaly for variable 'headerNames' (lines '66'-'141'). | 66 - 141 |
Found 'DU'-anomaly for variable 'keys' (lines '67'-'141'). | 67 - 141 |
Found 'DD'-anomaly for variable 'keys' (lines '67'-'128'). | 67 - 128 |
Found 'DU'-anomaly for variable 'addressPart' (lines '82'-'141'). | 82 - 141 |
Found 'DU'-anomaly for variable 'comparator' (lines '94'-'141'). | 94 - 141 |
Found 'DU'-anomaly for variable 'matchType' (lines '103'-'141'). | 103 - 141 |
Found 'DU'-anomaly for variable 'keys' (lines '128'-'141'). | 128 - 141 |
Violation | Line |
---|---|
Avoid unnecessary constructors - the compiler will generate these for you | 47 - 49 |
Avoid using final local variables, turn them into fields | 98 |
Avoid using final local variables, turn them into fields | 104 - 105 |
Violation | Line |
---|---|
Avoid unnecessary constructors - the compiler will generate these for you | 37 - 39 |
Avoid using final local variables, turn them into fields | 44 - 45 |
Avoid using final local variables, turn them into fields | 46 |
Avoid using final local variables, turn them into fields | 65 |
Avoid using final local variables, turn them into fields | 66 |
Avoid using final local variables, turn them into fields | 69 |
Found 'DD'-anomaly for variable 'matchKey' (lines '78'-'80'). | 78 - 80 |
Found 'DD'-anomaly for variable 'matchKey' (lines '78'-'82'). | 78 - 82 |
Violation | Line |
---|---|
Avoid modifiers which are implied by the context | 27 |
Avoid modifiers which are implied by the context | 29 |
Avoid modifiers which are implied by the context | 31 |
Violation | Line |
---|---|
Avoid unnecessary constructors - the compiler will generate these for you | 38 - 40 |
Violation | Line |
---|---|
Avoid unnecessary constructors - the compiler will generate these for you | 38 - 40 |
Violation | Line |
---|---|
Avoid modifiers which are implied by the context | 27 |
Violation | Line |
---|---|
Avoid modifiers which are implied by the context | 43 - 44 |
Violation | Line |
---|---|
Avoid unnecessary constructors - the compiler will generate these for you | 39 - 41 |
Violation | Line |
---|---|
Avoid unnecessary constructors - the compiler will generate these for you | 34 - 36 |
Violation | Line |
---|---|
Avoid unnecessary constructors - the compiler will generate these for you | 46 - 48 |
Found 'DU'-anomaly for variable 'comparator' (lines '69'-'141'). | 69 - 141 |
Found 'DU'-anomaly for variable 'matchType' (lines '70'-'141'). | 70 - 141 |
Found 'DU'-anomaly for variable 'headerNames' (lines '71'-'141'). | 71 - 141 |
Found 'DD'-anomaly for variable 'headerNames' (lines '71'-'118'). | 71 - 118 |
Found 'DU'-anomaly for variable 'keys' (lines '72'-'141'). | 72 - 141 |
Found 'DD'-anomaly for variable 'keys' (lines '72'-'128'). | 72 - 128 |
Found 'DU'-anomaly for variable 'comparator' (lines '93'-'141'). | 93 - 141 |
Found 'DU'-anomaly for variable 'matchType' (lines '103'-'141'). | 103 - 141 |
A method should have only one exit point, and that should be the last statement in the method | 196 |
Avoid using final local variables, turn them into fields | 227 |
Violation | Line |
---|---|
Avoid unnecessary constructors - the compiler will generate these for you | 39 - 41 |
Found 'DU'-anomaly for variable 'result' (lines '49'-'61'). | 49 - 61 |
Found 'DD'-anomaly for variable 'result' (lines '49'-'56'). | 49 - 56 |
Violation | Line |
---|---|
Avoid unnecessary constructors - the compiler will generate these for you | 41 - 43 |
Found 'DD'-anomaly for variable 'comparator' (lines '57'-'67'). | 57 - 67 |
Found 'DU'-anomaly for variable 'comparator' (lines '57'-'91'). | 57 - 91 |
Found 'DU'-anomaly for variable 'size' (lines '58'-'91'). | 58 - 91 |
Found 'DD'-anomaly for variable 'size' (lines '58'-'80'). | 58 - 80 |
Found 'DD'-anomaly for variable 'isTestPassed' (lines '104'-'106'). | 104 - 106 |
Found 'DD'-anomaly for variable 'isTestPassed' (lines '104'-'108'). | 104 - 108 |
Violation | Line |
---|---|
Avoid unnecessary constructors - the compiler will generate these for you | 34 - 36 |
Violation | Line |
---|---|
Assigning an Object to null is a code smell. Consider refactoring. | 44 |
Found 'DD'-anomaly for variable 'body' (lines '85'-'86'). | 85 - 86 |
A method should have only one exit point, and that should be the last statement in the method | 93 |
Violation | Line |
---|---|
Avoid unnecessary constructors - the compiler will generate these for you | 42 - 44 |
Found 'DD'-anomaly for variable 'matchAddress' (lines '73'-'75'). | 73 - 75 |
Found 'DD'-anomaly for variable 'matchAddress' (lines '73'-'90'). | 73 - 90 |
Found 'DD'-anomaly for variable 'matchAddress' (lines '75'-'99'). | 75 - 99 |
Found 'DD'-anomaly for variable 'localEnd' (lines '78'-'84'). | 78 - 84 |
Found 'DD'-anomaly for variable 'localEnd' (lines '78'-'87'). | 78 - 87 |
Found 'DD'-anomaly for variable 'domainStart' (lines '79'-'85'). | 79 - 85 |
Found 'DD'-anomaly for variable 'domainStart' (lines '79'-'88'). | 79 - 88 |
Found 'DD'-anomaly for variable 'matchAddress' (lines '90'-'99'). | 90 - 99 |
Found 'DD'-anomaly for variable 'matchKey' (lines '96'-'98'). | 96 - 98 |
Found 'DD'-anomaly for variable 'matchKey' (lines '96'-'101'). | 96 - 101 |