The following document contains the results of PMD 3.9.
Violation | Line |
---|---|
Each class should declare at least one constructor | 21 - 63 |
Violation | Line |
---|---|
Each class should declare at least one constructor | 31 - 125 |
Violation | Line |
---|---|
Each class should declare at least one constructor | 32 - 80 |
Violation | Line |
---|---|
It is a good practice to call super() in a constructor | 47 - 50 |
A method should have only one exit point, and that should be the last statement in the method | 121 |
Violation | Line |
---|---|
Each class should declare at least one constructor | 21 - 34 |
Violation | Line |
---|---|
Each class should declare at least one constructor | 27 - 83 |
Found 'DU'-anomaly for variable 'ordinal' (lines '44'-'57'). | 44 - 57 |
Found 'DU'-anomaly for variable 'ordinal' (lines '51'-'57'). | 51 - 57 |
Violation | Line |
---|---|
Each class should declare at least one constructor | 29 - 88 |
Violation | Line |
---|---|
Each class should declare at least one constructor | 21 - 34 |
Violation | Line |
---|---|
It is a good practice to call super() in a constructor | 38 |
It is a good practice to call super() in a constructor | 40 - 46 |
Violation | Line |
---|---|
Each class should declare at least one constructor | 35 - 157 |
Violation | Line |
---|---|
Each class should declare at least one constructor | 21 - 34 |
Violation | Line |
---|---|
Each class should declare at least one constructor | 30 - 65 |
Violation | Line |
---|---|
Found 'UR'-anomaly for variable 'dayNum' (lines '122'-'122'). | 122 |
Violation | Line |
---|---|
Each class should declare at least one constructor | 43 - 147 |
Found 'UR'-anomaly for variable 'offeredGame' (lines '53'-'53'). | 53 |
Found 'DU'-anomaly for variable 'errors' (lines '53'-'86'). | 53 - 86 |
Found 'DU'-anomaly for variable 'request' (lines '53'-'86'). | 53 - 86 |
Found 'DU'-anomaly for variable 'response' (lines '53'-'86'). | 53 - 86 |
A method should have only one exit point, and that should be the last statement in the method | 65 |
Violation | Line |
---|---|
Perhaps 'm_ampmOptions' could be replaced by a local variable. | 58 |
Perhaps 'm_dayNames' could be replaced by a local variable. | 59 - 61 |
It is a good practice to call super() in a constructor | 65 - 84 |
Found 'DU'-anomaly for variable 'request' (lines '171'-'177'). | 171 - 177 |
Violation | Line |
---|---|
Each class should declare at least one constructor | 36 - 80 |
Found 'DU'-anomaly for variable 'errors' (lines '43'-'59'). | 43 - 59 |
Found 'DU'-anomaly for variable 'request' (lines '43'-'59'). | 43 - 59 |
Found 'DU'-anomaly for variable 'response' (lines '43'-'59'). | 43 - 59 |
Violation | Line |
---|---|
Each class should declare at least one constructor | 38 - 136 |
Found 'UR'-anomaly for variable 'user' (lines '48'-'48'). | 48 |
Found 'DU'-anomaly for variable 'response' (lines '48'-'81'). | 48 - 81 |
Violation | Line |
---|---|
Each class should declare at least one constructor | 32 - 88 |
Found 'DU'-anomaly for variable 'response' (lines '39'-'47'). | 39 - 47 |
Violation | Line |
---|---|
Each class should declare at least one constructor | 35 - 143 |
A method should have only one exit point, and that should be the last statement in the method | 118 |
Violation | Line |
---|---|
Each class should declare at least one constructor | 35 - 102 |
Found 'UR'-anomaly for variable 'location' (lines '39'-'39'). | 39 |
Violation | Line |
---|---|
Each class should declare at least one constructor | 48 - 156 |
Found 'DU'-anomaly for variable 'currentTime' (lines '70'-'102'). | 70 - 102 |
Found 'DD'-anomaly for variable 'distance' (lines '86'-'87'). | 86 - 87 |
Violation | Line |
---|---|
Each class should declare at least one constructor | 30 - 44 |
Found 'DU'-anomaly for variable 'response' (lines '33'-'43'). | 33 - 43 |
Violation | Line |
---|---|
Each class should declare at least one constructor | 33 - 58 |
Found 'DU'-anomaly for variable 'request' (lines '39'-'45'). | 39 - 45 |
Found 'DU'-anomaly for variable 'response' (lines '39'-'45'). | 39 - 45 |
Violation | Line |
---|---|
Each class should declare at least one constructor | 33 - 58 |
Found 'DU'-anomaly for variable 'request' (lines '39'-'45'). | 39 - 45 |
Found 'DU'-anomaly for variable 'response' (lines '39'-'45'). | 39 - 45 |
Violation | Line |
---|---|
Each class should declare at least one constructor | 49 - 161 |
Found 'DD'-anomaly for variable 'distance' (lines '78'-'79'). | 78 - 79 |
Found 'UR'-anomaly for variable 'theUser' (lines '99'-'99'). | 99 |
Violation | Line |
---|---|
Each class should declare at least one constructor | 35 - 104 |
Found 'DU'-anomaly for variable 'errors' (lines '42'-'85'). | 42 - 85 |
Found 'DU'-anomaly for variable 'response' (lines '42'-'85'). | 42 - 85 |
Found 'DU'-anomaly for variable 'request' (lines '42'-'85'). | 42 - 85 |
These nested if statements could be combined | 57 - 79 |
These nested if statements could be combined | 69 - 75 |
A method should have only one exit point, and that should be the last statement in the method | 73 - 74 |
A method should have only one exit point, and that should be the last statement in the method | 78 |
Violation | Line |
---|---|
Each class should declare at least one constructor | 27 - 36 |
Found 'DU'-anomaly for variable 'response' (lines '30'-'35'). | 30 - 35 |
Violation | Line |
---|---|
Each class should declare at least one constructor | 45 - 171 |
Found 'DD'-anomaly for variable 'minutesUp' (lines '131'-'132'). | 131 - 132 |
Violation | Line |
---|---|
Each class should declare at least one constructor | 40 - 170 |
Found 'DU'-anomaly for variable 'sender' (lines '76'-'91'). | 76 - 91 |
Found 'DD'-anomaly for variable 'recipient' (lines '99'-'103'). | 99 - 103 |
Found 'DD'-anomaly for variable 'theScheduledGame' (lines '117'-'121'). | 117 - 121 |
Violation | Line |
---|---|
Each class should declare at least one constructor | 30 - 49 |
Found 'DU'-anomaly for variable 'response' (lines '35'-'42'). | 35 - 42 |
Violation | Line |
---|---|
Each class should declare at least one constructor | 34 - 59 |
Found 'DU'-anomaly for variable 'request' (lines '40'-'47'). | 40 - 47 |
Found 'DU'-anomaly for variable 'response' (lines '40'-'47'). | 40 - 47 |
Violation | Line |
---|---|
Each class should declare at least one constructor | 30 - 47 |
Found 'DU'-anomaly for variable 'response' (lines '35'-'40'). | 35 - 40 |
Violation | Line |
---|---|
Each class should declare at least one constructor | 33 - 57 |
Found 'DU'-anomaly for variable 'request' (lines '39'-'44'). | 39 - 44 |
Found 'DU'-anomaly for variable 'response' (lines '39'-'44'). | 39 - 44 |
Violation | Line |
---|---|
Each class should declare at least one constructor | 26 - 43 |
Violation | Line |
---|---|
Each class should declare at least one constructor | 35 - 63 |
Found 'DU'-anomaly for variable 'errors' (lines '41'-'48'). | 41 - 48 |
Found 'DU'-anomaly for variable 'request' (lines '41'-'48'). | 41 - 48 |
Found 'DU'-anomaly for variable 'response' (lines '41'-'48'). | 41 - 48 |
Violation | Line |
---|---|
Each class should declare at least one constructor | 44 - 103 |
Found 'UR'-anomaly for variable 'theUser' (lines '52'-'52'). | 52 |
Found 'DU'-anomaly for variable 'response' (lines '52'-'84'). | 52 - 84 |
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 | 34 - 45 |
Found 'DU'-anomaly for variable 'request' (lines '37'-'44'). | 37 - 44 |
Found 'DU'-anomaly for variable 'response' (lines '37'-'44'). | 37 - 44 |
Violation | Line |
---|---|
Each class should declare at least one constructor | 34 - 45 |
Found 'DU'-anomaly for variable 'request' (lines '37'-'44'). | 37 - 44 |
Found 'DU'-anomaly for variable 'response' (lines '37'-'44'). | 37 - 44 |
Violation | Line |
---|---|
Each class should declare at least one constructor | 36 - 55 |
Found 'DU'-anomaly for variable 'request' (lines '41'-'48'). | 41 - 48 |
Found 'DU'-anomaly for variable 'response' (lines '41'-'48'). | 41 - 48 |
Violation | Line |
---|---|
Each class should declare at least one constructor | 28 - 54 |
Found 'UR'-anomaly for variable 'results' (lines '35'-'35'). | 35 |
A method should have only one exit point, and that should be the last statement in the method | 47 |
Violation | Line |
---|---|
Each class should declare at least one constructor | 26 - 115 |
Found 'DU'-anomaly for variable 'ht' (lines '39'-'45'). | 39 - 45 |
Found 'UR'-anomaly for variable 'foundTees' (lines '57'-'57'). | 57 |
A method should have only one exit point, and that should be the last statement in the method | 68 |
Violation | Line |
---|---|
Each class should declare at least one constructor | 27 - 47 |
Violation | Line |
---|---|
It is a good practice to call super() in a constructor | 35 - 38 |
Violation | Line |
---|---|
Each class should declare at least one constructor | 27 - 70 |
Found 'UR'-anomaly for variable 'foundUsers' (lines '33'-'33'). | 33 |
A method should have only one exit point, and that should be the last statement in the method | 44 |
Found 'UR'-anomaly for variable 'foundUsers' (lines '52'-'52'). | 52 |
A method should have only one exit point, and that should be the last statement in the method | 63 |
Violation | Line |
---|---|
Each class should declare at least one constructor | 27 - 51 |
Found 'UR'-anomaly for variable 'foundRecords' (lines '33'-'33'). | 33 |
A method should have only one exit point, and that should be the last statement in the method | 44 |
Violation | Line |
---|---|
Avoid modifiers which are implied by the context | 25 |
Found 'DU'-anomaly for variable 'theObject' (lines '25'-'25'). | 25 |
Avoid modifiers which are implied by the context | 26 |
Avoid modifiers which are implied by the context | 27 |
Violation | Line |
---|---|
Each class should declare at least one constructor | 26 - 70 |
Found 'UR'-anomaly for variable 'longitudeRange' (lines '28'-'28'). | 28 |
Found 'UR'-anomaly for variable 'latitudeRange' (lines '28'-'28'). | 28 |
Violation | Line |
---|---|
Avoid modifiers which are implied by the context | 25 |
Found 'DU'-anomaly for variable 'userId' (lines '25'-'25'). | 25 |
Found 'DU'-anomaly for variable 'name' (lines '25'-'25'). | 25 |
Violation | Line |
---|---|
Avoid modifiers which are implied by the context | 25 |
Found 'DU'-anomaly for variable 'theTee' (lines '25'-'25'). | 25 |
Avoid modifiers which are implied by the context | 27 |
Found 'DU'-anomaly for variable 'teeList' (lines '27'-'27'). | 27 |
Avoid modifiers which are implied by the context | 29 |
Found 'DU'-anomaly for variable 'id' (lines '29'-'29'). | 29 |
Avoid modifiers which are implied by the context | 31 |
Found 'DU'-anomaly for variable 'theTee' (lines '31'-'31'). | 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 |
Found 'DU'-anomaly for variable 'theTee' (lines '37'-'37'). | 37 |
Avoid modifiers which are implied by the context | 39 |
Found 'DU'-anomaly for variable 'theTee' (lines '39'-'39'). | 39 |
Avoid modifiers which are implied by the context | 41 |
Found 'DU'-anomaly for variable 'theTee' (lines '41'-'41'). | 41 |
Avoid modifiers which are implied by the context | 43 |
Violation | Line |
---|---|
Found 'DU'-anomaly for variable 'currentTime' (lines '34'-'34'). | 34 |
Violation | Line |
---|---|
Avoid modifiers which are implied by the context | 27 |
Found 'DU'-anomaly for variable 'theLocation' (lines '27'-'27'). | 27 |
Found 'DU'-anomaly for variable 'radius' (lines '27'-'27'). | 27 |
Violation | Line |
---|---|
Avoid modifiers which are implied by the context | 29 |
Found 'DU'-anomaly for variable 'theUser' (lines '29'-'29'). | 29 |
Avoid modifiers which are implied by the context | 39 |
Found 'DU'-anomaly for variable 'currentTime' (lines '39'-'39'). | 39 |
Found 'DU'-anomaly for variable 'reminderWindow' (lines '39'-'39'). | 39 |
Violation | Line |
---|---|
Avoid modifiers which are implied by the context | 27 |
Found 'DU'-anomaly for variable 'listUsers' (lines '27'-'27'). | 27 |
Avoid modifiers which are implied by the context | 29 |
Found 'DU'-anomaly for variable 'username' (lines '29'-'29'). | 29 |
Avoid modifiers which are implied by the context | 31 |
Found 'DU'-anomaly for variable 'emailAddress' (lines '31'-'31'). | 31 |
Violation | Line |
---|---|
Avoid modifiers which are implied by the context | 25 |
Found 'DU'-anomaly for variable 'validationKey' (lines '25'-'25'). | 25 |
Violation | Line |
---|---|
It is a good practice to call super() in a constructor | 40 - 43 |
A method should have only one exit point, and that should be the last statement in the method | 49 |
Found 'UR'-anomaly for variable 'address' (lines '67'-'67'). | 67 |
Violation | Line |
---|---|
It is a good practice to call super() in a constructor | 28 - 31 |
A method should have only one exit point, and that should be the last statement in the method | 37 |
Violation | Line |
---|---|
Each class should declare at least one constructor | 27 - 168 |
Violation | Line |
---|---|
Each class should declare at least one constructor | 31 - 66 |
Violation | Line |
---|---|
Avoid modifiers which are implied by the context | 30 |
Avoid modifiers which are implied by the context | 35 |
Avoid modifiers which are implied by the context | 40 |
Violation | Line |
---|---|
Each class should declare at least one constructor | 23 - 47 |
Violation | Line |
---|---|
Each class should declare at least one constructor | 28 - 144 |
Found 'DU'-anomaly for variable 'numberFormat' (lines '84'-'108'). | 84 - 108 |
Found 'DU'-anomaly for variable 'currentYear' (lines '97'-'108'). | 97 - 108 |
Violation | Line |
---|---|
Each class should declare at least one constructor | 21 - 29 |
Violation | Line |
---|---|
Each class should declare at least one constructor | 31 - 51 |
Found 'DU'-anomaly for variable 'handler' (lines '35'-'50'). | 35 - 50 |
Found 'DU'-anomaly for variable 'response' (lines '35'-'50'). | 35 - 50 |
Found 'DU'-anomaly for variable 'modelAndView' (lines '35'-'50'). | 35 - 50 |
Violation | Line |
---|---|
Each class should declare at least one constructor | 35 - 78 |
Found 'DU'-anomaly for variable 'handler' (lines '42'-'52'). | 42 - 52 |
Found 'DU'-anomaly for variable 'request' (lines '42'-'52'). | 42 - 52 |
Found 'DU'-anomaly for variable 'response' (lines '42'-'52'). | 42 - 52 |
Found 'DU'-anomaly for variable 'modelAndView' (lines '42'-'52'). | 42 - 52 |
Found 'DU'-anomaly for variable 'handler' (lines '67'-'77'). | 67 - 77 |
Found 'DU'-anomaly for variable 'request' (lines '67'-'77'). | 67 - 77 |
Found 'DU'-anomaly for variable 'response' (lines '67'-'77'). | 67 - 77 |
Violation | Line |
---|---|
Each class should declare at least one constructor | 33 - 63 |
Found 'DU'-anomaly for variable 'handler' (lines '38'-'56'). | 38 - 56 |
Found 'DU'-anomaly for variable 'request' (lines '38'-'56'). | 38 - 56 |
Found 'DU'-anomaly for variable 'response' (lines '38'-'56'). | 38 - 56 |
A method should have only one exit point, and that should be the last statement in the method | 43 |
Violation | Line |
---|---|
Each class should declare at least one constructor | 31 - 55 |
Found 'DU'-anomaly for variable 'handler' (lines '36'-'48'). | 36 - 48 |
Found 'DU'-anomaly for variable 'request' (lines '36'-'48'). | 36 - 48 |
Found 'DU'-anomaly for variable 'response' (lines '36'-'48'). | 36 - 48 |
A method should have only one exit point, and that should be the last statement in the method | 41 |
Violation | Line |
---|---|
It is a good practice to call super() in a constructor | 40 - 43 |
Found 'DU'-anomaly for variable 'handler' (lines '46'-'57'). | 46 - 57 |
Found 'DU'-anomaly for variable 'response' (lines '46'-'57'). | 46 - 57 |
A method should have only one exit point, and that should be the last statement in the method | 51 |
Found 'DU'-anomaly for variable 'handler' (lines '59'-'60'). | 59 - 60 |
Found 'DU'-anomaly for variable 'request' (lines '59'-'60'). | 59 - 60 |
Found 'DU'-anomaly for variable 'response' (lines '59'-'60'). | 59 - 60 |
Violation | Line |
---|---|
Each class should declare at least one constructor | 36 - 112 |
Found 'DU'-anomaly for variable 'handler' (lines '52'-'58'). | 52 - 58 |
Found 'DU'-anomaly for variable 'response' (lines '52'-'58'). | 52 - 58 |
Found 'DU'-anomaly for variable 'handler' (lines '65'-'74'). | 65 - 74 |
Found 'DU'-anomaly for variable 'response' (lines '65'-'74'). | 65 - 74 |
Found 'DU'-anomaly for variable 'modelAndView' (lines '65'-'74'). | 65 - 74 |
Violation | Line |
---|---|
Found 'DU'-anomaly for variable 'password' (lines '30'-'30'). | 30 |
Found 'DU'-anomaly for variable 'hashedPassword' (lines '30'-'30'). | 30 |
Found 'DU'-anomaly for variable 'password' (lines '37'-'37'). | 37 |
Violation | Line |
---|---|
Each class should declare at least one constructor | 23 - 33 |
Violation | Line |
---|---|
Each class should declare at least one constructor | 28 - 55 |
Violation | Line |
---|---|
Each class should declare at least one constructor | 36 - 139 |
Found 'DU'-anomaly for variable 'random' (lines '94'-'102'). | 94 - 102 |
Violation | Line |
---|---|
Found 'UR'-anomaly for variable 'days' (lines '93'-'93'). | 93 |
Avoid empty if statements | 152 - 154 |
A method should have only one exit point, and that should be the last statement in the method | 183 |
A method should have only one exit point, and that should be the last statement in the method | 195 |
A method should have only one exit point, and that should be the last statement in the method | 271 |
A method should have only one exit point, and that should be the last statement in the method | 276 |
Found 'UR'-anomaly for variable 'startDay' (lines '295'-'295'). | 295 |
Found 'UR'-anomaly for variable 'endDay' (lines '295'-'295'). | 295 |
Found 'DD'-anomaly for variable 'endDay' (lines '302'-'309'). | 302 - 309 |
Found 'DD'-anomaly for variable 'endDay' (lines '309'-'309'). | 309 |
Found 'DD'-anomaly for variable 'endDay' (lines '321'-'309'). | 321 - 309 |
Found 'DD'-anomaly for variable 'endDay' (lines '326'-'309'). | 326 - 309 |
Violation | Line |
---|---|
Each class should declare at least one constructor | 29 - 80 |
A method should have only one exit point, and that should be the last statement in the method | 40 |
A method should have only one exit point, and that should be the last statement in the method | 51 |
Violation | Line |
---|---|
Each class should declare at least one constructor | 32 - 45 |
A method should have only one exit point, and that should be the last statement in the method | 38 |
Violation | Line |
---|---|
Each class should declare at least one constructor | 14 - 58 |
Found 'DU'-anomaly for variable 'startTime' (lines '42'-'45'). | 42 - 45 |
Found 'DU'-anomaly for variable 'endTime' (lines '42'-'45'). | 42 - 45 |
Found 'DU'-anomaly for variable 'hourString' (lines '48'-'51'). | 48 - 51 |
Violation | Line |
---|---|
Use explicit scoping instead of the default package private level | 52 |
Found 'UR'-anomaly for variable 'j' (lines '197'-'197'). | 197 |
Found 'UR'-anomaly for variable 'i' (lines '197'-'197'). | 197 |
Found 'DD'-anomaly for variable 'j' (lines '221'-'204'). | 221 - 204 |
A method should have only one exit point, and that should be the last statement in the method | 266 |
Violation | Line |
---|---|
A method should have only one exit point, and that should be the last statement in the method | 52 |
A method should have only one exit point, and that should be the last statement in the method | 64 |
Avoid empty if statements | 106 - 108 |
A method should have only one exit point, and that should be the last statement in the method | 137 |
A method should have only one exit point, and that should be the last statement in the method | 149 |
A method should have only one exit point, and that should be the last statement in the method | 161 |
A method should have only one exit point, and that should be the last statement in the method | 168 |
Found 'DU'-anomaly for variable 'otherIterator' (lines '175'-'185'). | 175 - 185 |
A method should have only one exit point, and that should be the last statement in the method | 180 |
Violation | Line |
---|---|
Each class should declare at least one constructor | 12 - 26 |
Violation | Line |
---|---|
Each class should declare at least one constructor | 16 - 49 |
A method should have only one exit point, and that should be the last statement in the method | 26 |
Violation | Line |
---|---|
Each class should declare at least one constructor | 14 - 37 |
A method should have only one exit point, and that should be the last statement in the method | 25 |
Violation | Line |
---|---|
Avoid modifiers which are implied by the context | 27 |
Violation | Line |
---|---|
Each class should declare at least one constructor | 19 - 45 |
Violation | Line |
---|---|
Each class should declare at least one constructor | 16 - 49 |
A method should have only one exit point, and that should be the last statement in the method | 26 |
Violation | Line |
---|---|
Each class should declare at least one constructor | 37 - 112 |
Violation | Line |
---|---|
Each class should declare at least one constructor | 38 - 148 |
Found 'DU'-anomaly for variable 'currentTime' (lines '70'-'101'). | 70 - 101 |
Found 'DD'-anomaly for variable 'messageError' (lines '74'-'82'). | 74 - 82 |
Found 'DD'-anomaly for variable 'messageError' (lines '82'-'92'). | 82 - 92 |
Violation | Line |
---|---|
Found 'DU'-anomaly for variable 'errors' (lines '45'-'68'). | 45 - 68 |
Avoid empty if statements | 57 - 59 |
Avoid empty if statements | 61 - 63 |
Violation | Line |
---|---|
Each class should declare at least one constructor | 27 - 53 |
Found 'DU'-anomaly for variable 'errors' (lines '34'-'52'). | 34 - 52 |
Violation | Line |
---|---|
Each class should declare at least one constructor | 26 - 49 |
Perhaps 'm_addressValidator' could be replaced by a local variable. | 28 |
Violation | Line |
---|---|
Each class should declare at least one constructor | 26 - 49 |
Perhaps 'm_addressValidator' could be replaced by a local variable. | 28 |
Violation | Line |
---|---|
Each class should declare at least one constructor | 26 - 39 |
Found 'DU'-anomaly for variable 'target' (lines '33'-'37'). | 33 - 37 |
Violation | Line |
---|---|
Each class should declare at least one constructor | 28 - 59 |
Violation | Line |
---|---|
Each class should declare at least one constructor | 30 - 87 |
Violation | Line |
---|---|
Each class should declare at least one constructor | 26 - 80 |
Violation | Line |
---|---|
Each class should declare at least one constructor | 21 - 45 |