SpotBugs Bug Detector Report
The following document contains the results of SpotBugs
SpotBugs Version is 4.9.8
Threshold is medium
Effort is max
Summary
| Classes | Bugs | Errors | Missing Classes |
|---|---|---|---|
| 20 | 20 | 0 | 0 |
Files
jmockit.loginExample.domain.userAccount.UserAccount
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| Static or private method jmockit.loginExample.domain.userAccount.UserAccount.find(String) has unused parameters | STYLE | UP_UNUSED_PARAMETER | 50 | Medium |
jmockit.loginExample.domain.userLogin.LoginServiceIntegrationTest
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| Method jmockit.loginExample.domain.userLogin.LoginServiceIntegrationTest.setUpOneAccountToBeFound() uses a Side Effect Constructor | STYLE | SEC_SIDE_EFFECT_CONSTRUCTOR | 48 | Medium |
jmockit.loginExample.domain.userLogin.LoginServiceIntegrationTest$1
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| Uncallable method jmockit.loginExample.domain.userLogin.LoginServiceIntegrationTest$1.find(String) defined in anonymous class | CORRECTNESS | UMAC_UNCALLABLE_METHOD_OF_ANONYMOUS_CLASS | 51 | High |
jmockit.loginExample.domain.userLogin.LoginServiceNGTest
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| Method jmockit.loginExample.domain.userLogin.LoginServiceNGTest.disallowConcurrentLogins() uses a Side Effect Constructor | STYLE | SEC_SIDE_EFFECT_CONSTRUCTOR | 146 | Medium |
| Method jmockit.loginExample.domain.userLogin.LoginServiceNGTest.disallowLoggingIntoRevokedAccount() uses a Side Effect Constructor | STYLE | SEC_SIDE_EFFECT_CONSTRUCTOR | 182 | Medium |
| Method jmockit.loginExample.domain.userLogin.LoginServiceNGTest.notRevokeSecondAccountAfterTwoFailedAttemptsOnFirstAccount() uses a Side Effect Constructor | STYLE | SEC_SIDE_EFFECT_CONSTRUCTOR | 120 | Medium |
| Method jmockit.loginExample.domain.userLogin.LoginServiceNGTest.notRevokeSecondAccountAfterTwoFailedAttemptsOnFirstAccount() uses a Side Effect Constructor | STYLE | SEC_SIDE_EFFECT_CONSTRUCTOR | 131 | Medium |
| Method jmockit.loginExample.domain.userLogin.LoginServiceNGTest.notSetAccountLoggedInIfPasswordDoesNotMatch() uses a Side Effect Constructor | STYLE | SEC_SIDE_EFFECT_CONSTRUCTOR | 104 | Medium |
| Method jmockit.loginExample.domain.userLogin.LoginServiceNGTest.resetBackToInitialStateAfterSuccessfulLogin() uses a Side Effect Constructor | STYLE | SEC_SIDE_EFFECT_CONSTRUCTOR | 209 | Medium |
| Method jmockit.loginExample.domain.userLogin.LoginServiceNGTest.setAccountToLoggedInWhenPasswordMatches() uses a Side Effect Constructor | STYLE | SEC_SIDE_EFFECT_CONSTRUCTOR | 47 | Medium |
| Method jmockit.loginExample.domain.userLogin.LoginServiceNGTest.setAccountToRevokedAfterThreeFailedLoginAttempts() uses a Side Effect Constructor | STYLE | SEC_SIDE_EFFECT_CONSTRUCTOR | 83 | Medium |
| Method jmockit.loginExample.domain.userLogin.LoginServiceNGTest.throwExceptionIfAccountNotFound() uses a Side Effect Constructor | STYLE | SEC_SIDE_EFFECT_CONSTRUCTOR | 163 | Medium |
| Method jmockit.loginExample.domain.userLogin.LoginServiceNGTest.willMatchPassword(boolean[]) uses a Side Effect Constructor | STYLE | SEC_SIDE_EFFECT_CONSTRUCTOR | 61 | Medium |
jmockit.loginExample.domain.userLogin.LoginServiceNGTest$2
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| Return value of jmockit.loginExample.domain.userAccount.UserAccount.passwordMatches(String) ignored, but method has no side effect | STYLE | RV_RETURN_VALUE_IGNORED_NO_SIDE_EFFECT | 63 | Medium |
jmockit.loginExample.domain.userLogin.LoginServiceNGTest$5
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| Method new jmockit.loginExample.domain.userLogin.LoginServiceNGTest$5(LoginServiceNGTest) needlessly boxes a boolean constant | PERFORMANCE | NAB_NEEDLESS_BOOLEAN_CONSTANT_CONVERSION | 123 | Medium |
| Return value of jmockit.loginExample.domain.userAccount.UserAccount.passwordMatches(String) ignored, but method has no side effect | STYLE | RV_RETURN_VALUE_IGNORED_NO_SIDE_EFFECT | 122 | Medium |
jmockit.loginExample.domain.userLogin.LoginServiceNGTest$7
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| Method new jmockit.loginExample.domain.userLogin.LoginServiceNGTest$7(LoginServiceNGTest) needlessly boxes a boolean constant | PERFORMANCE | NAB_NEEDLESS_BOOLEAN_CONSTANT_CONVERSION | 149 | Medium |
| Return value of jmockit.loginExample.domain.userAccount.UserAccount.isLoggedIn() ignored, but method has no side effect | STYLE | RV_RETURN_VALUE_IGNORED_NO_SIDE_EFFECT | 148 | Medium |
jmockit.loginExample.domain.userLogin.LoginServiceNGTest$9
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| Method new jmockit.loginExample.domain.userLogin.LoginServiceNGTest$9(LoginServiceNGTest) needlessly boxes a boolean constant | PERFORMANCE | NAB_NEEDLESS_BOOLEAN_CONSTANT_CONVERSION | 185 | Medium |
| Return value of jmockit.loginExample.domain.userAccount.UserAccount.isRevoked() ignored, but method has no side effect | STYLE | RV_RETURN_VALUE_IGNORED_NO_SIDE_EFFECT | 184 | Medium |


