SpotBugs Bug Detector Report
The following document contains the results of SpotBugs
SpotBugs Version is 4.10.2
Threshold is medium
Effort is default
Summary
| Classes | Bugs | Errors | Missing Classes |
|---|---|---|---|
| 16 | 3 | 0 | 0 |
Files
| Class | Bugs |
|---|---|
| com.github.rhwood.jinputvalidator.JInputValidatorPreferences | 2 |
| com.github.rhwood.jinputvalidator.border.ValidatorBorder | 1 |
com.github.rhwood.jinputvalidator.JInputValidatorPreferences
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| Method com.github.rhwood.jinputvalidator.JInputValidatorPreferences.getPreferences() uses intrinsic lock of class com.github.rhwood.jinputvalidator.JInputValidatorPreferences for synchronization, that is exposed by static com.github.rhwood.jinputvalidator.JInputValidatorPreferences.getPreferences()Lcom/github/rhwood/jinputvalidator/JInputValidatorPreferences;,\nstatic com.github.rhwood.jinputvalidator.JInputValidatorPreferences.getPreferences(Ljava/util/prefs/Preferences;)Lcom/github/rhwood/jinputvalidator/JInputValidatorPreferences;. | SECURITY | USO_UNSAFE_METHOD_SYNCHRONIZATION | 209 | Medium |
| Static synchronized method com.github.rhwood.jinputvalidator.JInputValidatorPreferences.getPreferences() uses intrinsic lock of class com.github.rhwood.jinputvalidator.JInputValidatorPreferences for synchronization, exposing the class to untrusted code. | SECURITY | USO_UNSAFE_STATIC_METHOD_SYNCHRONIZATION | 209 | Medium |
com.github.rhwood.jinputvalidator.border.ValidatorBorder
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| Unread field: com.github.rhwood.jinputvalidator.border.ValidatorBorder.multiplier; should this field be static? | PERFORMANCE | SS_SHOULD_BE_STATIC | 56 | Medium |
