PMD Results

The following document contains the results of PMD 3.9.

Files

net/sf/jpam/Pam.java

ViolationLine
Use explicit scoping instead of the default package private level85
Found 'DU'-anomaly for variable 'debug' (lines '160'-'160').160
Found 'DU'-anomaly for variable 'credentials' (lines '160'-'160').160
Found 'DU'-anomaly for variable 'serviceName' (lines '160'-'160').160
Found 'DU'-anomaly for variable 'username' (lines '160'-'160').160

net/sf/jpam/PamReturnValue.java

ViolationLine
A method should have only one exit point, and that should be the last statement in the method228
A method should have only one exit point, and that should be the last statement in the method231
A method should have only one exit point, and that should be the last statement in the method235
Found 'UR'-anomaly for variable 'maxId' (lines '246'-'246').246

net/sf/jpam/jaas/JpamLoginModule.java

ViolationLine
Each class should declare at least one constructor48 - 228
Perhaps 'subject' could be replaced by a local variable.51
Perhaps 'sharedState' could be replaced by a local variable.53
Found 'UR'-anomaly for variable 'pamReturnValue' (lines '125'-'125').125
Found 'DD'-anomaly for variable 'callbacks' (lines '128'-'131').128 - 131
Found 'DD'-anomaly for variable 'username' (lines '129'-'145').129 - 145
Found 'DD'-anomaly for variable 'callbacks' (lines '131'-'134').131 - 134
Found 'DD'-anomaly for variable 'credentials' (lines '132'-'146').132 - 146
Found 'DD'-anomaly for variable 'authenticated' (lines '147'-'150').147 - 150