Checkstyle Results
The following document contains the results of Checkstyle 9.3 with sun_checks.xml ruleset.
Summary
Files | ![]() |
![]() |
![]() |
---|---|---|---|
34 | 0 | 0 | 1622 |
Files
Rules
Category | Rule | Violations | Severity |
---|---|---|---|
blocks | LeftCurly | 7 | ![]() |
RightCurly | 1 | ![]() | |
coding | HiddenField | 99 | ![]() |
MagicNumber | 376 | ![]() | |
SimplifyBooleanExpression | 8 | ![]() | |
design | DesignForExtension | 63 | ![]() |
HideUtilityClassConstructor | 2 | ![]() | |
imports | AvoidStarImport | 8 | ![]() |
RedundantImport | 1 | ![]() | |
UnusedImports
|
6 | ![]() | |
javadoc | InvalidJavadocPosition | 1 | ![]() |
JavadocMethod | 10 | ![]() | |
JavadocPackage | 9 | ![]() | |
JavadocVariable | 66 | ![]() | |
MissingJavadocMethod | 80 | ![]() | |
misc | FinalParameters | 198 | ![]() |
NewlineAtEndOfFile | 11 | ![]() | |
naming | ConstantName | 5 | ![]() |
LocalVariableName | 30 | ![]() | |
regexp | RegexpSingleline
|
94 | ![]() |
sizes | LineLength
|
332 | ![]() |
ParameterNumber | 4 | ![]() | |
whitespace | FileTabCharacter | 12 | ![]() |
GenericWhitespace | 3 | ![]() | |
NoWhitespaceBefore | 1 | ![]() | |
OperatorWrap | 43 | ![]() | |
ParenPad | 4 | ![]() | |
WhitespaceAfter | 27 | ![]() | |
WhitespaceAround | 121 | ![]() |
Details
application.properties
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
![]() |
misc | NewlineAtEndOfFile | File does not end with a newline. | 1 |
com/student_loan/DataInitializer.java
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
![]() |
javadoc | JavadocVariable | Missing a Javadoc comment. | 25 |
![]() |
javadoc | MissingJavadocMethod | Missing a Javadoc comment. | 27 |
![]() |
misc | FinalParameters | Parameter passwordEncoder should be final. | 27 |
![]() |
coding | HiddenField | 'passwordEncoder' hides a field. | 27 |
![]() |
regexp | RegexpSingleline | Line has trailing spaces. | 30 |
![]() |
whitespace | FileTabCharacter | File contains tab characters (this is the first instance). | 30 |
![]() |
sizes | LineLength | Line is longer than 80 characters (found 102). | 32 |
![]() |
javadoc | JavadocVariable | Missing a Javadoc comment. | 32 |
![]() |
naming | ConstantName | Name 'logger' must match pattern '^[A-Z][A-Z0-9]*(_[A-Z0-9]+)*$'. | 32 |
![]() |
design | DesignForExtension | Class 'DataInitializer' looks like designed for extension (can be subclassed), but the method 'initData' does not have javadoc that explains how to do that safely. If class is not designed for extension consider making the class 'DataInitializer' final or making the method 'initData' static/final/abstract/empty, or adding allowed annotation for the method. | 33 |
![]() |
javadoc | MissingJavadocMethod | Missing a Javadoc comment. | 33 |
![]() |
sizes | LineLength | Line is longer than 80 characters (found 177). | 34 |
![]() |
misc | FinalParameters | Parameter userRepository should be final. | 34 |
![]() |
misc | FinalParameters | Parameter itemRepository should be final. | 34 |
![]() |
misc | FinalParameters | Parameter loanRepository should be final. | 34 |
![]() |
whitespace | WhitespaceAfter | ',' is not followed by whitespace. | 34 |
![]() |
whitespace | NoWhitespaceBefore | ',' is preceded with whitespace. | 34 |
![]() |
misc | FinalParameters | Parameter notificationService should be final. | 34 |
![]() |
regexp | RegexpSingleline | Line has trailing spaces. | 40 |
![]() |
sizes | LineLength | Line is longer than 80 characters (found 95). | 45 |
![]() |
whitespace | GenericWhitespace | '<' is preceded with whitespace. | 52 |
![]() |
regexp | RegexpSingleline | Line has trailing spaces. | 53 |
![]() |
sizes | LineLength | Line is longer than 80 characters (found 219). | 55 |
![]() |
coding | MagicNumber | '3' is a magic number. | 55 |
![]() |
coding | MagicNumber | '4.5' is a magic number. | 55 |
![]() |
sizes | LineLength | Line is longer than 80 characters (found 218). | 56 |
![]() |
coding | MagicNumber | '4.2' is a magic number. | 56 |
![]() |
sizes | LineLength | Line is longer than 80 characters (found 237). | 57 |
![]() |
coding | MagicNumber | '4.8' is a magic number. | 57 |
![]() |
sizes | LineLength | Line is longer than 80 characters (found 212). | 58 |
![]() |
coding | MagicNumber | '4' is a magic number. | 58 |
![]() |
coding | MagicNumber | '4.9' is a magic number. | 58 |
![]() |
sizes | LineLength | Line is longer than 80 characters (found 229). | 59 |
![]() |
coding | MagicNumber | '4.7' is a magic number. | 59 |
![]() |
sizes | LineLength | Line is longer than 80 characters (found 223). | 60 |
![]() |
coding | MagicNumber | '4.3' is a magic number. | 60 |
![]() |
sizes | LineLength | Line is longer than 80 characters (found 228). | 61 |
![]() |
coding | MagicNumber | '3' is a magic number. | 61 |
![]() |
coding | MagicNumber | '3.8' is a magic number. | 61 |
![]() |
sizes | LineLength | Line is longer than 80 characters (found 222). | 62 |
![]() |
coding | MagicNumber | '4.6' is a magic number. | 62 |
![]() |
sizes | LineLength | Line is longer than 80 characters (found 223). | 63 |
![]() |
coding | MagicNumber | '3' is a magic number. | 63 |
![]() |
coding | MagicNumber | '4.4' is a magic number. | 63 |
![]() |
sizes | LineLength | Line is longer than 80 characters (found 213). | 64 |
![]() |
coding | MagicNumber | '4.6' is a magic number. | 64 |
![]() |
sizes | LineLength | Line is longer than 80 characters (found 219). | 65 |
![]() |
coding | MagicNumber | '4.5' is a magic number. | 65 |
![]() |
sizes | LineLength | Line is longer than 80 characters (found 238). | 66 |
![]() |
coding | MagicNumber | '3' is a magic number. | 66 |
![]() |
coding | MagicNumber | '4.7' is a magic number. | 66 |
![]() |
sizes | LineLength | Line is longer than 80 characters (found 212). | 67 |
![]() |
coding | MagicNumber | '4.8' is a magic number. | 67 |
![]() |
sizes | LineLength | Line is longer than 80 characters (found 215). | 68 |
![]() |
coding | MagicNumber | '4' is a magic number. | 68 |
![]() |
coding | MagicNumber | '5.0' is a magic number. | 68 |
![]() |
sizes | LineLength | Line is longer than 80 characters (found 214). | 69 |
![]() |
coding | MagicNumber | '4.4' is a magic number. | 69 |
![]() |
sizes | LineLength | Line is longer than 80 characters (found 200). | 70 |
![]() |
coding | MagicNumber | '4.4' is a magic number. | 70 |
![]() |
sizes | LineLength | Line is longer than 80 characters (found 217). | 72 |
![]() |
coding | MagicNumber | '4' is a magic number. | 72 |
![]() |
coding | MagicNumber | '5.0' is a magic number. | 72 |
![]() |
regexp | RegexpSingleline | Line has trailing spaces. | 73 |
![]() |
design | DesignForExtension | Class 'DataInitializer' looks like designed for extension (can be subclassed), but the method 'saveUsers' does not have javadoc that explains how to do that safely. If class is not designed for extension consider making the class 'DataInitializer' final or making the method 'saveUsers' static/final/abstract/empty, or adding allowed annotation for the method. | 77 |
![]() |
javadoc | MissingJavadocMethod | Missing a Javadoc comment. | 77 |
![]() |
misc | FinalParameters | Parameter users should be final. | 77 |
![]() |
misc | FinalParameters | Parameter userRepository should be final. | 77 |
![]() |
misc | FinalParameters | Parameter userRepository should be final. | 85 |
![]() |
sizes | LineLength | Line is longer than 80 characters (found 125). | 87 |
![]() |
sizes | LineLength | Line is longer than 80 characters (found 125). | 88 |
![]() |
sizes | LineLength | Line is longer than 80 characters (found 125). | 89 |
![]() |
coding | MagicNumber | '3L' is a magic number. | 89 |
![]() |
sizes | LineLength | Line is longer than 80 characters (found 125). | 90 |
![]() |
coding | MagicNumber | '4L' is a magic number. | 90 |
![]() |
sizes | LineLength | Line is longer than 80 characters (found 125). | 91 |
![]() |
coding | MagicNumber | '5L' is a magic number. | 91 |
![]() |
sizes | LineLength | Line is longer than 80 characters (found 125). | 92 |
![]() |
coding | MagicNumber | '6L' is a magic number. | 92 |
![]() |
sizes | LineLength | Line is longer than 80 characters (found 125). | 93 |
![]() |
coding | MagicNumber | '7L' is a magic number. | 93 |
![]() |
sizes | LineLength | Line is longer than 80 characters (found 125). | 94 |
![]() |
coding | MagicNumber | '8L' is a magic number. | 94 |
![]() |
sizes | LineLength | Line is longer than 80 characters (found 125). | 95 |
![]() |
coding | MagicNumber | '9L' is a magic number. | 95 |
![]() |
sizes | LineLength | Line is longer than 80 characters (found 127). | 96 |
![]() |
coding | MagicNumber | '10L' is a magic number. | 96 |
![]() |
sizes | LineLength | Line is longer than 80 characters (found 127). | 97 |
![]() |
coding | MagicNumber | '11L' is a magic number. | 97 |
![]() |
sizes | LineLength | Line is longer than 80 characters (found 127). | 98 |
![]() |
coding | MagicNumber | '12L' is a magic number. | 98 |
![]() |
sizes | LineLength | Line is longer than 80 characters (found 127). | 99 |
![]() |
coding | MagicNumber | '13L' is a magic number. | 99 |
![]() |
sizes | LineLength | Line is longer than 80 characters (found 127). | 100 |
![]() |
coding | MagicNumber | '14L' is a magic number. | 100 |
![]() |
sizes | LineLength | Line is longer than 80 characters (found 127). | 101 |
![]() |
coding | MagicNumber | '15L' is a magic number. | 101 |
![]() |
sizes | LineLength | Line is longer than 80 characters (found 127). | 104 |
![]() |
coding | MagicNumber | '16L' is a magic number. | 104 |
![]() |
whitespace | GenericWhitespace | '<' is preceded with whitespace. | 107 |
![]() |
sizes | LineLength | Line is longer than 80 characters (found 261). | 108 |
![]() |
coding | MagicNumber | '122' is a magic number. | 108 |
![]() |
coding | MagicNumber | '6' is a magic number. | 108 |
![]() |
coding | MagicNumber | '15' is a magic number. | 108 |
![]() |
coding | MagicNumber | '29.99' is a magic number. | 108 |
![]() |
sizes | LineLength | Line is longer than 80 characters (found 254). | 109 |
![]() |
coding | MagicNumber | '122' is a magic number. | 109 |
![]() |
coding | MagicNumber | '9' is a magic number. | 109 |
![]() |
coding | MagicNumber | '10' is a magic number. | 109 |
![]() |
coding | MagicNumber | '15.00' is a magic number. | 109 |
![]() |
sizes | LineLength | Line is longer than 80 characters (found 247). | 110 |
![]() |
coding | MagicNumber | '122' is a magic number. | 110 |
![]() |
coding | MagicNumber | '3' is a magic number. | 110 |
![]() |
coding | MagicNumber | '5' is a magic number. | 110 |
![]() |
coding | MagicNumber | '12.99' is a magic number. | 110 |
![]() |
sizes | LineLength | Line is longer than 80 characters (found 281). | 111 |
![]() |
coding | MagicNumber | '122' is a magic number. | 111 |
![]() |
coding | MagicNumber | '20' is a magic number. | 111 |
![]() |
coding | MagicNumber | '50.00' is a magic number. | 111 |
![]() |
sizes | LineLength | Line is longer than 80 characters (found 278). | 112 |
![]() |
coding | MagicNumber | '122' is a magic number. | 112 |
![]() |
coding | MagicNumber | '44' is a magic number. | 112 |
![]() |
coding | MagicNumber | '12' is a magic number. | 112 |
![]() |
coding | MagicNumber | '28.00' is a magic number. | 112 |
![]() |
sizes | LineLength | Line is longer than 80 characters (found 260). | 113 |
![]() |
coding | MagicNumber | '122' is a magic number. | 113 |
![]() |
coding | MagicNumber | '5' is a magic number. | 113 |
![]() |
coding | MagicNumber | '30' is a magic number. | 113 |
![]() |
coding | MagicNumber | '40.00' is a magic number. | 113 |
![]() |
sizes | LineLength | Line is longer than 80 characters (found 275). | 114 |
![]() |
coding | MagicNumber | '122' is a magic number. | 114 |
![]() |
coding | MagicNumber | '10' is a magic number. | 114 |
![]() |
coding | MagicNumber | '18' is a magic number. | 114 |
![]() |
coding | MagicNumber | '12.00' is a magic number. | 114 |
![]() |
sizes | LineLength | Line is longer than 80 characters (found 263). | 115 |
![]() |
coding | MagicNumber | '122' is a magic number. | 115 |
![]() |
coding | MagicNumber | '12' is a magic number. | 115 |
![]() |
coding | MagicNumber | '22' is a magic number. | 115 |
![]() |
coding | MagicNumber | '10.00' is a magic number. | 115 |
![]() |
sizes | LineLength | Line is longer than 80 characters (found 242). | 116 |
![]() |
coding | MagicNumber | '123' is a magic number. | 116 |
![]() |
coding | MagicNumber | '8' is a magic number. | 116 |
![]() |
coding | MagicNumber | '20.00' is a magic number. | 116 |
![]() |
sizes | LineLength | Line is longer than 80 characters (found 274). | 117 |
![]() |
coding | MagicNumber | '123' is a magic number. | 117 |
![]() |
coding | MagicNumber | '12' is a magic number. | 117 |
![]() |
coding | MagicNumber | '14' is a magic number. | 117 |
![]() |
coding | MagicNumber | '150.00' is a magic number. | 117 |
![]() |
sizes | LineLength | Line is longer than 80 characters (found 312). | 118 |
![]() |
coding | MagicNumber | '123' is a magic number. | 118 |
![]() |
coding | MagicNumber | '6' is a magic number. | 118 |
![]() |
coding | MagicNumber | '3' is a magic number. | 118 |
![]() |
coding | MagicNumber | '25.99' is a magic number. | 118 |
![]() |
sizes | LineLength | Line is longer than 80 characters (found 272). | 119 |
![]() |
coding | MagicNumber | '123' is a magic number. | 119 |
![]() |
coding | MagicNumber | '6' is a magic number. | 119 |
![]() |
coding | MagicNumber | '17' is a magic number. | 119 |
![]() |
coding | MagicNumber | '10.50' is a magic number. | 119 |
![]() |
sizes | LineLength | Line is longer than 80 characters (found 296). | 120 |
![]() |
coding | MagicNumber | '123' is a magic number. | 120 |
![]() |
coding | MagicNumber | '9' is a magic number. | 120 |
![]() |
coding | MagicNumber | '25' is a magic number. | 120 |
![]() |
coding | MagicNumber | '15.00' is a magic number. | 120 |
![]() |
sizes | LineLength | Line is longer than 80 characters (found 263). | 121 |
![]() |
coding | MagicNumber | '123' is a magic number. | 121 |
![]() |
coding | MagicNumber | '10' is a magic number. | 121 |
![]() |
coding | MagicNumber | '9' is a magic number. | 121 |
![]() |
coding | MagicNumber | '2.50' is a magic number. | 121 |
![]() |
sizes | LineLength | Line is longer than 80 characters (found 272). | 122 |
![]() |
coding | MagicNumber | '123' is a magic number. | 122 |
![]() |
coding | MagicNumber | '30' is a magic number. | 122 |
![]() |
coding | MagicNumber | '12.00' is a magic number. | 122 |
![]() |
sizes | LineLength | Line is longer than 80 characters (found 286). | 123 |
![]() |
coding | MagicNumber | '123' is a magic number. | 123 |
![]() |
coding | MagicNumber | '4' is a magic number. | 123 |
![]() |
coding | MagicNumber | '12' is a magic number. | 123 |
![]() |
coding | MagicNumber | '500.00' is a magic number. | 123 |
![]() |
sizes | LineLength | Line is longer than 80 characters (found 275). | 124 |
![]() |
coding | MagicNumber | '123' is a magic number. | 124 |
![]() |
coding | MagicNumber | '5' is a magic number. | 124 |
![]() |
coding | MagicNumber | '20' is a magic number. | 124 |
![]() |
coding | MagicNumber | '1.50' is a magic number. | 124 |
![]() |
sizes | LineLength | Line is longer than 80 characters (found 286). | 125 |
![]() |
coding | MagicNumber | '124' is a magic number. | 125 |
![]() |
coding | MagicNumber | '7' is a magic number. | 125 |
![]() |
coding | MagicNumber | '11' is a magic number. | 125 |
![]() |
coding | MagicNumber | '40.00' is a magic number. | 125 |
![]() |
sizes | LineLength | Line is longer than 80 characters (found 248). | 126 |
![]() |
coding | MagicNumber | '1234' is a magic number. | 126 |
![]() |
coding | MagicNumber | '12' is a magic number. | 126 |
![]() |
coding | MagicNumber | '28' is a magic number. | 126 |
![]() |
coding | MagicNumber | '0.50' is a magic number. | 126 |
![]() |
sizes | LineLength | Line is longer than 80 characters (found 259). | 127 |
![]() |
coding | MagicNumber | '123' is a magic number. | 127 |
![]() |
coding | MagicNumber | '7' is a magic number. | 127 |
![]() |
coding | MagicNumber | '35.00' is a magic number. | 127 |
![]() |
sizes | LineLength | Line is longer than 80 characters (found 272). | 128 |
![]() |
coding | MagicNumber | '123' is a magic number. | 128 |
![]() |
coding | MagicNumber | '9' is a magic number. | 128 |
![]() |
coding | MagicNumber | '15' is a magic number. | 128 |
![]() |
coding | MagicNumber | '45.00' is a magic number. | 128 |
![]() |
sizes | LineLength | Line is longer than 80 characters (found 255). | 129 |
![]() |
coding | MagicNumber | '123' is a magic number. | 129 |
![]() |
coding | MagicNumber | '8' is a magic number. | 129 |
![]() |
coding | MagicNumber | '4' is a magic number. | 129 |
![]() |
coding | MagicNumber | '35.00' is a magic number. | 129 |
![]() |
sizes | LineLength | Line is longer than 80 characters (found 262). | 130 |
![]() |
coding | MagicNumber | '124' is a magic number. | 130 |
![]() |
coding | MagicNumber | '6' is a magic number. | 130 |
![]() |
coding | MagicNumber | '19' is a magic number. | 130 |
![]() |
coding | MagicNumber | '60.00' is a magic number. | 130 |
![]() |
sizes | LineLength | Line is longer than 80 characters (found 254). | 131 |
![]() |
coding | MagicNumber | '124' is a magic number. | 131 |
![]() |
coding | MagicNumber | '5' is a magic number. | 131 |
![]() |
coding | MagicNumber | '25.00' is a magic number. | 131 |
![]() |
sizes | LineLength | Line is longer than 80 characters (found 251). | 132 |
![]() |
coding | MagicNumber | '124' is a magic number. | 132 |
![]() |
coding | MagicNumber | '10' is a magic number. | 132 |
![]() |
coding | MagicNumber | '22' is a magic number. | 132 |
![]() |
coding | MagicNumber | '80.00' is a magic number. | 132 |
![]() |
sizes | LineLength | Line is longer than 80 characters (found 280). | 133 |
![]() |
coding | MagicNumber | '124' is a magic number. | 133 |
![]() |
coding | MagicNumber | '4' is a magic number. | 133 |
![]() |
coding | MagicNumber | '14' is a magic number. | 133 |
![]() |
coding | MagicNumber | '55.00' is a magic number. | 133 |
![]() |
sizes | LineLength | Line is longer than 80 characters (found 273). | 134 |
![]() |
coding | MagicNumber | '124' is a magic number. | 134 |
![]() |
coding | MagicNumber | '6' is a magic number. | 134 |
![]() |
coding | MagicNumber | '30' is a magic number. | 134 |
![]() |
coding | MagicNumber | '20.00' is a magic number. | 134 |
![]() |
sizes | LineLength | Line is longer than 80 characters (found 268). | 135 |
![]() |
coding | MagicNumber | '124' is a magic number. | 135 |
![]() |
coding | MagicNumber | '8' is a magic number. | 135 |
![]() |
coding | MagicNumber | '8' is a magic number. | 135 |
![]() |
coding | MagicNumber | '30.00' is a magic number. | 135 |
![]() |
sizes | LineLength | Line is longer than 80 characters (found 268). | 136 |
![]() |
coding | MagicNumber | '124' is a magic number. | 136 |
![]() |
coding | MagicNumber | '3' is a magic number. | 136 |
![]() |
coding | MagicNumber | '16' is a magic number. | 136 |
![]() |
coding | MagicNumber | '35.00' is a magic number. | 136 |
![]() |
sizes | LineLength | Line is longer than 80 characters (found 271). | 137 |
![]() |
coding | MagicNumber | '124' is a magic number. | 137 |
![]() |
coding | MagicNumber | '11' is a magic number. | 137 |
![]() |
coding | MagicNumber | '27' is a magic number. | 137 |
![]() |
coding | MagicNumber | '70.00' is a magic number. | 137 |
![]() |
sizes | LineLength | Line is longer than 80 characters (found 266). | 138 |
![]() |
coding | MagicNumber | '124' is a magic number. | 138 |
![]() |
coding | MagicNumber | '12' is a magic number. | 138 |
![]() |
coding | MagicNumber | '55.00' is a magic number. | 138 |
![]() |
sizes | LineLength | Line is longer than 80 characters (found 245). | 139 |
![]() |
coding | MagicNumber | '124' is a magic number. | 139 |
![]() |
coding | MagicNumber | '20' is a magic number. | 139 |
![]() |
coding | MagicNumber | '20.00' is a magic number. | 139 |
![]() |
sizes | LineLength | Line is longer than 80 characters (found 249). | 140 |
![]() |
coding | MagicNumber | '124' is a magic number. | 140 |
![]() |
coding | MagicNumber | '7' is a magic number. | 140 |
![]() |
coding | MagicNumber | '5' is a magic number. | 140 |
![]() |
coding | MagicNumber | '35.00' is a magic number. | 140 |
![]() |
sizes | LineLength | Line is longer than 80 characters (found 259). | 141 |
![]() |
coding | MagicNumber | '124' is a magic number. | 141 |
![]() |
coding | MagicNumber | '3' is a magic number. | 141 |
![]() |
coding | MagicNumber | '18' is a magic number. | 141 |
![]() |
coding | MagicNumber | '25.00' is a magic number. | 141 |
![]() |
sizes | LineLength | Line is longer than 80 characters (found 262). | 142 |
![]() |
coding | MagicNumber | '124' is a magic number. | 142 |
![]() |
coding | MagicNumber | '11' is a magic number. | 142 |
![]() |
coding | MagicNumber | '18.00' is a magic number. | 142 |
![]() |
sizes | LineLength | Line is longer than 80 characters (found 274). | 143 |
![]() |
coding | MagicNumber | '124' is a magic number. | 143 |
![]() |
coding | MagicNumber | '10' is a magic number. | 143 |
![]() |
coding | MagicNumber | '25' is a magic number. | 143 |
![]() |
coding | MagicNumber | '30.00' is a magic number. | 143 |
![]() |
sizes | LineLength | Line is longer than 80 characters (found 272). | 144 |
![]() |
coding | MagicNumber | '124' is a magic number. | 144 |
![]() |
coding | MagicNumber | '8' is a magic number. | 144 |
![]() |
coding | MagicNumber | '14' is a magic number. | 144 |
![]() |
coding | MagicNumber | '22.00' is a magic number. | 144 |
![]() |
sizes | LineLength | Line is longer than 80 characters (found 239). | 145 |
![]() |
coding | MagicNumber | '124' is a magic number. | 145 |
![]() |
coding | MagicNumber | '5' is a magic number. | 145 |
![]() |
coding | MagicNumber | '30' is a magic number. | 145 |
![]() |
coding | MagicNumber | '40.00' is a magic number. | 145 |
![]() |
sizes | LineLength | Line is longer than 80 characters (found 237). | 146 |
![]() |
coding | MagicNumber | '124' is a magic number. | 146 |
![]() |
coding | MagicNumber | '4' is a magic number. | 146 |
![]() |
coding | MagicNumber | '7' is a magic number. | 146 |
![]() |
coding | MagicNumber | '90.00' is a magic number. | 146 |
![]() |
sizes | LineLength | Line is longer than 80 characters (found 265). | 147 |
![]() |
coding | MagicNumber | '124' is a magic number. | 147 |
![]() |
coding | MagicNumber | '3' is a magic number. | 147 |
![]() |
coding | MagicNumber | '40.00' is a magic number. | 147 |
![]() |
sizes | LineLength | Line is longer than 80 characters (found 236). | 148 |
![]() |
coding | MagicNumber | '125' is a magic number. | 148 |
![]() |
coding | MagicNumber | '14' is a magic number. | 148 |
![]() |
coding | MagicNumber | '8.50' is a magic number. | 148 |
![]() |
sizes | LineLength | Line is longer than 80 characters (found 254). | 149 |
![]() |
coding | MagicNumber | '125' is a magic number. | 149 |
![]() |
coding | MagicNumber | '10' is a magic number. | 149 |
![]() |
coding | MagicNumber | '5.00' is a magic number. | 149 |
![]() |
sizes | LineLength | Line is longer than 80 characters (found 258). | 150 |
![]() |
coding | MagicNumber | '125' is a magic number. | 150 |
![]() |
coding | MagicNumber | '25' is a magic number. | 150 |
![]() |
coding | MagicNumber | '25.00' is a magic number. | 150 |
![]() |
sizes | LineLength | Line is longer than 80 characters (found 283). | 151 |
![]() |
coding | MagicNumber | '125' is a magic number. | 151 |
![]() |
coding | MagicNumber | '3' is a magic number. | 151 |
![]() |
coding | MagicNumber | '5' is a magic number. | 151 |
![]() |
coding | MagicNumber | '60.00' is a magic number. | 151 |
![]() |
sizes | LineLength | Line is longer than 80 characters (found 267). | 152 |
![]() |
coding | MagicNumber | '125' is a magic number. | 152 |
![]() |
coding | MagicNumber | '15' is a magic number. | 152 |
![]() |
coding | MagicNumber | '55.00' is a magic number. | 152 |
![]() |
sizes | LineLength | Line is longer than 80 characters (found 300). | 153 |
![]() |
coding | MagicNumber | '125' is a magic number. | 153 |
![]() |
coding | MagicNumber | '15' is a magic number. | 153 |
![]() |
coding | MagicNumber | '40.00' is a magic number. | 153 |
![]() |
sizes | LineLength | Line is longer than 80 characters (found 295). | 154 |
![]() |
coding | MagicNumber | '125' is a magic number. | 154 |
![]() |
whitespace | WhitespaceAfter | ',' is not followed by whitespace. | 154 |
![]() |
coding | MagicNumber | '45.00' is a magic number. | 154 |
![]() |
sizes | LineLength | Line is longer than 80 characters (found 306). | 155 |
![]() |
coding | MagicNumber | '125' is a magic number. | 155 |
![]() |
coding | MagicNumber | '14' is a magic number. | 155 |
![]() |
coding | MagicNumber | '50.00' is a magic number. | 155 |
![]() |
sizes | LineLength | Line is longer than 80 characters (found 274). | 156 |
![]() |
coding | MagicNumber | '125' is a magic number. | 156 |
![]() |
coding | MagicNumber | '9' is a magic number. | 156 |
![]() |
coding | MagicNumber | '38.00' is a magic number. | 156 |
![]() |
sizes | LineLength | Line is longer than 80 characters (found 306). | 157 |
![]() |
coding | MagicNumber | '125' is a magic number. | 157 |
![]() |
coding | MagicNumber | '3' is a magic number. | 157 |
![]() |
coding | MagicNumber | '42.00' is a magic number. | 157 |
![]() |
regexp | RegexpSingleline | Line has trailing spaces. | 158 |
![]() |
design | DesignForExtension | Class 'DataInitializer' looks like designed for extension (can be subclassed), but the method 'saveItems' does not have javadoc that explains how to do that safely. If class is not designed for extension consider making the class 'DataInitializer' final or making the method 'saveItems' static/final/abstract/empty, or adding allowed annotation for the method. | 162 |
![]() |
javadoc | MissingJavadocMethod | Missing a Javadoc comment. | 162 |
![]() |
misc | FinalParameters | Parameter items should be final. | 162 |
![]() |
misc | FinalParameters | Parameter itemRepository should be final. | 162 |
![]() |
sizes | LineLength | Line is longer than 80 characters (found 97). | 170 |
![]() |
misc | FinalParameters | Parameter userRepository should be final. | 170 |
![]() |
misc | FinalParameters | Parameter itemRepository should be final. | 170 |
![]() |
sizes | LineLength | Line is longer than 80 characters (found 127). | 172 |
![]() |
naming | LocalVariableName | Name 'user_loan1' must match pattern '^[a-z][a-zA-Z0-9]*$'. | 172 |
![]() |
sizes | LineLength | Line is longer than 80 characters (found 127). | 173 |
![]() |
naming | LocalVariableName | Name 'user_loan2' must match pattern '^[a-z][a-zA-Z0-9]*$'. | 173 |
![]() |
sizes | LineLength | Line is longer than 80 characters (found 127). | 174 |
![]() |
naming | LocalVariableName | Name 'user_loan3' must match pattern '^[a-z][a-zA-Z0-9]*$'. | 174 |
![]() |
coding | MagicNumber | '3L' is a magic number. | 174 |
![]() |
sizes | LineLength | Line is longer than 80 characters (found 127). | 175 |
![]() |
naming | LocalVariableName | Name 'user_loan4' must match pattern '^[a-z][a-zA-Z0-9]*$'. | 175 |
![]() |
coding | MagicNumber | '4L' is a magic number. | 175 |
![]() |
sizes | LineLength | Line is longer than 80 characters (found 127). | 176 |
![]() |
naming | LocalVariableName | Name 'user_loan5' must match pattern '^[a-z][a-zA-Z0-9]*$'. | 176 |
![]() |
coding | MagicNumber | '5L' is a magic number. | 176 |
![]() |
sizes | LineLength | Line is longer than 80 characters (found 127). | 177 |
![]() |
naming | LocalVariableName | Name 'user_loan6' must match pattern '^[a-z][a-zA-Z0-9]*$'. | 177 |
![]() |
coding | MagicNumber | '6L' is a magic number. | 177 |
![]() |
sizes | LineLength | Line is longer than 80 characters (found 127). | 178 |
![]() |
naming | LocalVariableName | Name 'user_loan7' must match pattern '^[a-z][a-zA-Z0-9]*$'. | 178 |
![]() |
coding | MagicNumber | '7L' is a magic number. | 178 |
![]() |
sizes | LineLength | Line is longer than 80 characters (found 127). | 179 |
![]() |
naming | LocalVariableName | Name 'user_loan8' must match pattern '^[a-z][a-zA-Z0-9]*$'. | 179 |
![]() |
coding | MagicNumber | '8L' is a magic number. | 179 |
![]() |
sizes | LineLength | Line is longer than 80 characters (found 127). | 180 |
![]() |
naming | LocalVariableName | Name 'user_loan9' must match pattern '^[a-z][a-zA-Z0-9]*$'. | 180 |
![]() |
coding | MagicNumber | '9L' is a magic number. | 180 |
![]() |
sizes | LineLength | Line is longer than 80 characters (found 129). | 181 |
![]() |
naming | LocalVariableName | Name 'user_loan10' must match pattern '^[a-z][a-zA-Z0-9]*$'. | 181 |
![]() |
coding | MagicNumber | '10L' is a magic number. | 181 |
![]() |
sizes | LineLength | Line is longer than 80 characters (found 128). | 182 |
![]() |
sizes | LineLength | Line is longer than 80 characters (found 127). | 185 |
![]() |
naming | LocalVariableName | Name 'item_loan1' must match pattern '^[a-z][a-zA-Z0-9]*$'. | 185 |
![]() |
sizes | LineLength | Line is longer than 80 characters (found 127). | 186 |
![]() |
naming | LocalVariableName | Name 'item_loan2' must match pattern '^[a-z][a-zA-Z0-9]*$'. | 186 |
![]() |
sizes | LineLength | Line is longer than 80 characters (found 127). | 187 |
![]() |
naming | LocalVariableName | Name 'item_loan3' must match pattern '^[a-z][a-zA-Z0-9]*$'. | 187 |
![]() |
coding | MagicNumber | '3L' is a magic number. | 187 |
![]() |
sizes | LineLength | Line is longer than 80 characters (found 127). | 188 |
![]() |
naming | LocalVariableName | Name 'item_loan4' must match pattern '^[a-z][a-zA-Z0-9]*$'. | 188 |
![]() |
coding | MagicNumber | '4L' is a magic number. | 188 |
![]() |
sizes | LineLength | Line is longer than 80 characters (found 127). | 189 |
![]() |
naming | LocalVariableName | Name 'item_loan5' must match pattern '^[a-z][a-zA-Z0-9]*$'. | 189 |
![]() |
coding | MagicNumber | '5L' is a magic number. | 189 |
![]() |
sizes | LineLength | Line is longer than 80 characters (found 127). | 190 |
![]() |
naming | LocalVariableName | Name 'item_loan6' must match pattern '^[a-z][a-zA-Z0-9]*$'. | 190 |
![]() |
coding | MagicNumber | '6L' is a magic number. | 190 |
![]() |
sizes | LineLength | Line is longer than 80 characters (found 127). | 191 |
![]() |
naming | LocalVariableName | Name 'item_loan7' must match pattern '^[a-z][a-zA-Z0-9]*$'. | 191 |
![]() |
coding | MagicNumber | '7L' is a magic number. | 191 |
![]() |
sizes | LineLength | Line is longer than 80 characters (found 127). | 192 |
![]() |
naming | LocalVariableName | Name 'item_loan8' must match pattern '^[a-z][a-zA-Z0-9]*$'. | 192 |
![]() |
coding | MagicNumber | '8L' is a magic number. | 192 |
![]() |
sizes | LineLength | Line is longer than 80 characters (found 127). | 193 |
![]() |
naming | LocalVariableName | Name 'item_loan9' must match pattern '^[a-z][a-zA-Z0-9]*$'. | 193 |
![]() |
coding | MagicNumber | '9L' is a magic number. | 193 |
![]() |
sizes | LineLength | Line is longer than 80 characters (found 129). | 194 |
![]() |
naming | LocalVariableName | Name 'item_loan20' must match pattern '^[a-z][a-zA-Z0-9]*$'. | 194 |
![]() |
coding | MagicNumber | '10L' is a magic number. | 194 |
![]() |
sizes | LineLength | Line is longer than 80 characters (found 129). | 195 |
![]() |
naming | LocalVariableName | Name 'item_loan21' must match pattern '^[a-z][a-zA-Z0-9]*$'. | 195 |
![]() |
coding | MagicNumber | '21L' is a magic number. | 195 |
![]() |
sizes | LineLength | Line is longer than 80 characters (found 129). | 196 |
![]() |
naming | LocalVariableName | Name 'item_loan22' must match pattern '^[a-z][a-zA-Z0-9]*$'. | 196 |
![]() |
coding | MagicNumber | '22L' is a magic number. | 196 |
![]() |
sizes | LineLength | Line is longer than 80 characters (found 129). | 197 |
![]() |
naming | LocalVariableName | Name 'item_loan23' must match pattern '^[a-z][a-zA-Z0-9]*$'. | 197 |
![]() |
coding | MagicNumber | '23L' is a magic number. | 197 |
![]() |
sizes | LineLength | Line is longer than 80 characters (found 129). | 198 |
![]() |
naming | LocalVariableName | Name 'item_loan24' must match pattern '^[a-z][a-zA-Z0-9]*$'. | 198 |
![]() |
coding | MagicNumber | '24L' is a magic number. | 198 |
![]() |
sizes | LineLength | Line is longer than 80 characters (found 129). | 199 |
![]() |
naming | LocalVariableName | Name 'item_loan25' must match pattern '^[a-z][a-zA-Z0-9]*$'. | 199 |
![]() |
coding | MagicNumber | '25L' is a magic number. | 199 |
![]() |
sizes | LineLength | Line is longer than 80 characters (found 129). | 200 |
![]() |
naming | LocalVariableName | Name 'item_loan31' must match pattern '^[a-z][a-zA-Z0-9]*$'. | 200 |
![]() |
coding | MagicNumber | '31L' is a magic number. | 200 |
![]() |
sizes | LineLength | Line is longer than 80 characters (found 129). | 201 |
![]() |
naming | LocalVariableName | Name 'item_loan32' must match pattern '^[a-z][a-zA-Z0-9]*$'. | 201 |
![]() |
coding | MagicNumber | '32L' is a magic number. | 201 |
![]() |
sizes | LineLength | Line is longer than 80 characters (found 129). | 202 |
![]() |
naming | LocalVariableName | Name 'item_loan33' must match pattern '^[a-z][a-zA-Z0-9]*$'. | 202 |
![]() |
coding | MagicNumber | '33L' is a magic number. | 202 |
![]() |
sizes | LineLength | Line is longer than 80 characters (found 129). | 203 |
![]() |
naming | LocalVariableName | Name 'item_loan34' must match pattern '^[a-z][a-zA-Z0-9]*$'. | 203 |
![]() |
coding | MagicNumber | '34L' is a magic number. | 203 |
![]() |
sizes | LineLength | Line is longer than 80 characters (found 129). | 204 |
![]() |
naming | LocalVariableName | Name 'item_loan35' must match pattern '^[a-z][a-zA-Z0-9]*$'. | 204 |
![]() |
coding | MagicNumber | '35L' is a magic number. | 204 |
![]() |
whitespace | GenericWhitespace | '<' is preceded with whitespace. | 207 |
![]() |
sizes | LineLength | Line is longer than 80 characters (found 148). | 208 |
![]() |
coding | MagicNumber | '125' is a magic number. | 208 |
![]() |
coding | MagicNumber | '5' is a magic number. | 208 |
![]() |
coding | MagicNumber | '125' is a magic number. | 208 |
![]() |
coding | MagicNumber | '43' is a magic number. | 208 |
![]() |
coding | MagicNumber | '19' is a magic number. | 208 |
![]() |
sizes | LineLength | Line is longer than 80 characters (found 147). | 209 |
![]() |
coding | MagicNumber | '125' is a magic number. | 209 |
![]() |
coding | MagicNumber | '8' is a magic number. | 209 |
![]() |
coding | MagicNumber | '125' is a magic number. | 209 |
![]() |
coding | MagicNumber | '4' is a magic number. | 209 |
![]() |
coding | MagicNumber | '15' is a magic number. | 209 |
![]() |
sizes | LineLength | Line is longer than 80 characters (found 148). | 210 |
![]() |
coding | MagicNumber | '125' is a magic number. | 210 |
![]() |
coding | MagicNumber | '18' is a magic number. | 210 |
![]() |
coding | MagicNumber | '125' is a magic number. | 210 |
![]() |
coding | MagicNumber | '3' is a magic number. | 210 |
![]() |
coding | MagicNumber | '30' is a magic number. | 210 |
![]() |
sizes | LineLength | Line is longer than 80 characters (found 174). | 211 |
![]() |
coding | MagicNumber | '125' is a magic number. | 211 |
![]() |
coding | MagicNumber | '12' is a magic number. | 211 |
![]() |
coding | MagicNumber | '125' is a magic number. | 211 |
![]() |
coding | MagicNumber | '20' is a magic number. | 211 |
![]() |
coding | MagicNumber | '125' is a magic number. | 211 |
![]() |
coding | MagicNumber | '20' is a magic number. | 211 |
![]() |
coding | MagicNumber | '5.0' is a magic number. | 211 |
![]() |
sizes | LineLength | Line is longer than 80 characters (found 178). | 212 |
![]() |
coding | MagicNumber | '125' is a magic number. | 212 |
![]() |
coding | MagicNumber | '28' is a magic number. | 212 |
![]() |
coding | MagicNumber | '125' is a magic number. | 212 |
![]() |
coding | MagicNumber | '7' is a magic number. | 212 |
![]() |
coding | MagicNumber | '125' is a magic number. | 212 |
![]() |
coding | MagicNumber | '6' is a magic number. | 212 |
![]() |
coding | MagicNumber | '4.8' is a magic number. | 212 |
![]() |
sizes | LineLength | Line is longer than 80 characters (found 147). | 213 |
![]() |
coding | MagicNumber | '125' is a magic number. | 213 |
![]() |
coding | MagicNumber | '3' is a magic number. | 213 |
![]() |
coding | MagicNumber | '125' is a magic number. | 213 |
![]() |
coding | MagicNumber | '4' is a magic number. | 213 |
![]() |
coding | MagicNumber | '15' is a magic number. | 213 |
![]() |
sizes | LineLength | Line is longer than 80 characters (found 148). | 214 |
![]() |
coding | MagicNumber | '125' is a magic number. | 214 |
![]() |
coding | MagicNumber | '3' is a magic number. | 214 |
![]() |
coding | MagicNumber | '10' is a magic number. | 214 |
![]() |
coding | MagicNumber | '125' is a magic number. | 214 |
![]() |
coding | MagicNumber | '5' is a magic number. | 214 |
![]() |
coding | MagicNumber | '17' is a magic number. | 214 |
![]() |
sizes | LineLength | Line is longer than 80 characters (found 166). | 215 |
![]() |
coding | MagicNumber | '125' is a magic number. | 215 |
![]() |
coding | MagicNumber | '8' is a magic number. | 215 |
![]() |
coding | MagicNumber | '125' is a magic number. | 215 |
![]() |
coding | MagicNumber | '22' is a magic number. | 215 |
![]() |
sizes | LineLength | Line is longer than 80 characters (found 183). | 216 |
![]() |
coding | MagicNumber | '125' is a magic number. | 216 |
![]() |
coding | MagicNumber | '10' is a magic number. | 216 |
![]() |
coding | MagicNumber | '125' is a magic number. | 216 |
![]() |
coding | MagicNumber | '18' is a magic number. | 216 |
![]() |
coding | MagicNumber | '125' is a magic number. | 216 |
![]() |
coding | MagicNumber | '19' is a magic number. | 216 |
![]() |
coding | MagicNumber | '4.9' is a magic number. | 216 |
![]() |
sizes | LineLength | Line is longer than 80 characters (found 177). | 217 |
![]() |
coding | MagicNumber | '125' is a magic number. | 217 |
![]() |
coding | MagicNumber | '3' is a magic number. | 217 |
![]() |
coding | MagicNumber | '125' is a magic number. | 217 |
![]() |
coding | MagicNumber | '10' is a magic number. | 217 |
![]() |
coding | MagicNumber | '125' is a magic number. | 217 |
![]() |
coding | MagicNumber | '12' is a magic number. | 217 |
![]() |
coding | MagicNumber | '4.2' is a magic number. | 217 |
![]() |
sizes | LineLength | Line is longer than 80 characters (found 148). | 218 |
![]() |
coding | MagicNumber | '125' is a magic number. | 218 |
![]() |
coding | MagicNumber | '3' is a magic number. | 218 |
![]() |
coding | MagicNumber | '125' is a magic number. | 218 |
![]() |
coding | MagicNumber | '3' is a magic number. | 218 |
![]() |
coding | MagicNumber | '10' is a magic number. | 218 |
![]() |
sizes | LineLength | Line is longer than 80 characters (found 149). | 219 |
![]() |
coding | MagicNumber | '125' is a magic number. | 219 |
![]() |
coding | MagicNumber | '15' is a magic number. | 219 |
![]() |
coding | MagicNumber | '125' is a magic number. | 219 |
![]() |
coding | MagicNumber | '3' is a magic number. | 219 |
![]() |
coding | MagicNumber | '22' is a magic number. | 219 |
![]() |
sizes | LineLength | Line is longer than 80 characters (found 177). | 220 |
![]() |
coding | MagicNumber | '125' is a magic number. | 220 |
![]() |
coding | MagicNumber | '5' is a magic number. | 220 |
![]() |
coding | MagicNumber | '125' is a magic number. | 220 |
![]() |
coding | MagicNumber | '12' is a magic number. | 220 |
![]() |
coding | MagicNumber | '125' is a magic number. | 220 |
![]() |
coding | MagicNumber | '11' is a magic number. | 220 |
![]() |
coding | MagicNumber | '4.6' is a magic number. | 220 |
![]() |
sizes | LineLength | Line is longer than 80 characters (found 188). | 221 |
![]() |
coding | MagicNumber | '125' is a magic number. | 221 |
![]() |
coding | MagicNumber | '10' is a magic number. | 221 |
![]() |
coding | MagicNumber | '125' is a magic number. | 221 |
![]() |
coding | MagicNumber | '20' is a magic number. | 221 |
![]() |
coding | MagicNumber | '125' is a magic number. | 221 |
![]() |
coding | MagicNumber | '18' is a magic number. | 221 |
![]() |
coding | MagicNumber | '4.8' is a magic number. | 221 |
![]() |
sizes | LineLength | Line is longer than 80 characters (found 150). | 222 |
![]() |
coding | MagicNumber | '125' is a magic number. | 222 |
![]() |
coding | MagicNumber | '14' is a magic number. | 222 |
![]() |
coding | MagicNumber | '125' is a magic number. | 222 |
![]() |
coding | MagicNumber | '25' is a magic number. | 222 |
![]() |
sizes | LineLength | Line is longer than 80 characters (found 167). | 223 |
![]() |
coding | MagicNumber | '125' is a magic number. | 223 |
![]() |
coding | MagicNumber | '3' is a magic number. | 223 |
![]() |
coding | MagicNumber | '125' is a magic number. | 223 |
![]() |
coding | MagicNumber | '10' is a magic number. | 223 |
![]() |
sizes | LineLength | Line is longer than 80 characters (found 148). | 224 |
![]() |
coding | MagicNumber | '125' is a magic number. | 224 |
![]() |
coding | MagicNumber | '3' is a magic number. | 224 |
![]() |
coding | MagicNumber | '125' is a magic number. | 224 |
![]() |
coding | MagicNumber | '3' is a magic number. | 224 |
![]() |
coding | MagicNumber | '30' is a magic number. | 224 |
![]() |
sizes | LineLength | Line is longer than 80 characters (found 149). | 225 |
![]() |
coding | MagicNumber | '125' is a magic number. | 225 |
![]() |
coding | MagicNumber | '17' is a magic number. | 225 |
![]() |
coding | MagicNumber | '125' is a magic number. | 225 |
![]() |
coding | MagicNumber | '3' is a magic number. | 225 |
![]() |
coding | MagicNumber | '24' is a magic number. | 225 |
![]() |
sizes | LineLength | Line is longer than 80 characters (found 183). | 226 |
![]() |
coding | MagicNumber | '125' is a magic number. | 226 |
![]() |
coding | MagicNumber | '11' is a magic number. | 226 |
![]() |
coding | MagicNumber | '125' is a magic number. | 226 |
![]() |
coding | MagicNumber | '20' is a magic number. | 226 |
![]() |
coding | MagicNumber | '125' is a magic number. | 226 |
![]() |
coding | MagicNumber | '20' is a magic number. | 226 |
![]() |
coding | MagicNumber | '5.0' is a magic number. | 226 |
![]() |
sizes | LineLength | Line is longer than 80 characters (found 188). | 227 |
![]() |
coding | MagicNumber | '125' is a magic number. | 227 |
![]() |
coding | MagicNumber | '125' is a magic number. | 227 |
![]() |
coding | MagicNumber | '14' is a magic number. | 227 |
![]() |
coding | MagicNumber | '125' is a magic number. | 227 |
![]() |
coding | MagicNumber | '13' is a magic number. | 227 |
![]() |
coding | MagicNumber | '4.2' is a magic number. | 227 |
![]() |
sizes | LineLength | Line is longer than 80 characters (found 148). | 228 |
![]() |
coding | MagicNumber | '125' is a magic number. | 228 |
![]() |
coding | MagicNumber | '5' is a magic number. | 228 |
![]() |
coding | MagicNumber | '125' is a magic number. | 228 |
![]() |
coding | MagicNumber | '12' is a magic number. | 228 |
![]() |
sizes | LineLength | Line is longer than 80 characters (found 149). | 229 |
![]() |
sizes | LineLength | Line is longer than 80 characters (found 172). | 234 |
![]() |
design | DesignForExtension | Class 'DataInitializer' looks like designed for extension (can be subclassed), but the method 'saveLoans' does not have javadoc that explains how to do that safely. If class is not designed for extension consider making the class 'DataInitializer' final or making the method 'saveLoans' static/final/abstract/empty, or adding allowed annotation for the method. | 234 |
![]() |
javadoc | MissingJavadocMethod | Missing a Javadoc comment. | 234 |
![]() |
misc | FinalParameters | Parameter loans should be final. | 234 |
![]() |
misc | FinalParameters | Parameter loanRepository should be final. | 234 |
![]() |
misc | FinalParameters | Parameter notificationService should be final. | 234 |
![]() |
misc | FinalParameters | Parameter userRepository should be final. | 234 |
![]() |
misc | FinalParameters | Parameter itemRepo should be final. | 234 |
![]() |
regexp | RegexpSingleline | Line has trailing spaces. | 238 |
![]() |
regexp | RegexpSingleline | Line has trailing spaces. | 246 |
![]() |
regexp | RegexpSingleline | Line has trailing spaces. | 251 |
![]() |
coding | MagicNumber | '1000' is a magic number. | 258 |
![]() |
coding | MagicNumber | '60' is a magic number. | 258 |
![]() |
coding | MagicNumber | '60' is a magic number. | 258 |
![]() |
coding | MagicNumber | '24' is a magic number. | 258 |
![]() |
whitespace | WhitespaceAround | '<' is not followed by whitespace. | 259 |
![]() |
whitespace | WhitespaceAround | '<' is not preceded with whitespace. | 259 |
![]() |
coding | MagicNumber | '10' is a magic number. | 259 |
![]() |
sizes | LineLength | Line is longer than 80 characters (found 90). | 260 |
![]() |
sizes | LineLength | Line is longer than 80 characters (found 96). | 269 |
![]() |
whitespace | WhitespaceAround | '||' is not preceded with whitespace. | 269 |
![]() |
whitespace | WhitespaceAround | '{' is not preceded with whitespace. | 269 |
![]() |
whitespace | WhitespaceAround | '<' is not followed by whitespace. | 270 |
![]() |
whitespace | WhitespaceAround | '<' is not preceded with whitespace. | 270 |
![]() |
coding | MagicNumber | '10' is a magic number. | 270 |
![]() |
whitespace | WhitespaceAround | '>' is not followed by whitespace. | 270 |
![]() |
whitespace | WhitespaceAround | '>' is not preceded with whitespace. | 270 |
![]() |
regexp | RegexpSingleline | Line has trailing spaces. | 271 |
![]() |
sizes | LineLength | Line is longer than 80 characters (found 208). | 271 |
![]() |
whitespace | WhitespaceAround | '+' is not preceded with whitespace. | 271 |
![]() |
whitespace | WhitespaceAround | '+' is not followed by whitespace. | 271 |
![]() |
whitespace | WhitespaceAround | '+' is not preceded with whitespace. | 271 |
![]() |
whitespace | WhitespaceAround | '+' is not followed by whitespace. | 271 |
![]() |
whitespace | WhitespaceAround | '+' is not preceded with whitespace. | 271 |
![]() |
whitespace | WhitespaceAround | '+' is not followed by whitespace. | 271 |
![]() |
whitespace | WhitespaceAround | '+' is not preceded with whitespace. | 271 |
![]() |
whitespace | WhitespaceAround | '+' is not followed by whitespace. | 271 |
![]() |
whitespace | WhitespaceAround | '+' is not preceded with whitespace. | 271 |
![]() |
whitespace | WhitespaceAround | '}' is not followed by whitespace. | 272 |
![]() |
whitespace | WhitespaceAround | 'else' is not preceded with whitespace. | 272 |
![]() |
whitespace | WhitespaceAfter | 'if' is not followed by whitespace. | 272 |
![]() |
whitespace | ParenPad | '(' is followed by whitespace. | 272 |
![]() |
whitespace | WhitespaceAround | '<' is not followed by whitespace. | 272 |
![]() |
whitespace | WhitespaceAround | '<' is not preceded with whitespace. | 272 |
![]() |
sizes | LineLength | Line is longer than 80 characters (found 85). | 273 |
![]() |
sizes | LineLength | Line is longer than 80 characters (found 89). | 274 |
![]() |
sizes | LineLength | Line is longer than 80 characters (found 119). | 275 |
![]() |
whitespace | WhitespaceAround | '+' is not followed by whitespace. | 275 |
![]() |
whitespace | WhitespaceAround | '+' is not preceded with whitespace. | 275 |
![]() |
whitespace | WhitespaceAround | '+' is not followed by whitespace. | 275 |
![]() |
whitespace | WhitespaceAround | '+' is not preceded with whitespace. | 275 |
![]() |
whitespace | WhitespaceAround | '}' is not followed by whitespace. | 276 |
![]() |
whitespace | WhitespaceAround | 'else' is not preceded with whitespace. | 276 |
![]() |
whitespace | WhitespaceAfter | 'if' is not followed by whitespace. | 276 |
![]() |
whitespace | WhitespaceAround | '==' is not followed by whitespace. | 276 |
![]() |
whitespace | WhitespaceAround | '==' is not preceded with whitespace. | 276 |
![]() |
sizes | LineLength | Line is longer than 80 characters (found 83). | 277 |
![]() |
sizes | LineLength | Line is longer than 80 characters (found 116). | 278 |
![]() |
regexp | RegexpSingleline | Line has trailing spaces. | 282 |
![]() |
regexp | RegexpSingleline | Line has trailing spaces. | 285 |
com/student_loan/StudentLoanManagementApplication.java
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
![]() |
javadoc | JavadocPackage | Missing package-info.java file. | 1 |
![]() |
design | HideUtilityClassConstructor | Utility classes should not have a public or default constructor. | 6 |
![]() |
javadoc | MissingJavadocMethod | Missing a Javadoc comment. | 8 |
![]() |
misc | FinalParameters | Parameter args should be final. | 8 |
com/student_loan/config/CorsConfig.java
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
![]() |
misc | NewlineAtEndOfFile | File does not end with a newline. | 1 |
![]() |
design | DesignForExtension | Class 'CorsConfig' looks like designed for extension (can be subclassed), but the method 'corsConfigurer' does not have javadoc that explains how to do that safely. If class is not designed for extension consider making the class 'CorsConfig' final or making the method 'corsConfigurer' static/final/abstract/empty, or adding allowed annotation for the method. | 13 |
![]() |
javadoc | MissingJavadocMethod | Missing a Javadoc comment. | 13 |
![]() |
misc | FinalParameters | Parameter registry should be final. | 17 |
![]() |
sizes | LineLength | Line is longer than 80 characters (found 92). | 19 |
![]() |
sizes | LineLength | Line is longer than 80 characters (found 104). | 20 |
com/student_loan/config/SecurityConfig.java
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
![]() |
javadoc | JavadocVariable | Missing a Javadoc comment. | 25 |
![]() |
regexp | RegexpSingleline | Line has trailing spaces. | 26 |
![]() |
javadoc | MissingJavadocMethod | Missing a Javadoc comment. | 27 |
![]() |
misc | FinalParameters | Parameter jwtUtil should be final. | 27 |
![]() |
coding | HiddenField | 'jwtUtil' hides a field. | 27 |
![]() |
design | DesignForExtension | Class 'SecurityConfig' looks like designed for extension (can be subclassed), but the method 'bCryptPasswordEncoder' does not have javadoc that explains how to do that safely. If class is not designed for extension consider making the class 'SecurityConfig' final or making the method 'bCryptPasswordEncoder' static/final/abstract/empty, or adding allowed annotation for the method. | 31 |
![]() |
javadoc | MissingJavadocMethod | Missing a Javadoc comment. | 31 |
![]() |
design | DesignForExtension | Class 'SecurityConfig' looks like designed for extension (can be subclassed), but the method 'corsConfigurationSource' does not have javadoc that explains how to do that safely. If class is not designed for extension consider making the class 'SecurityConfig' final or making the method 'corsConfigurationSource' static/final/abstract/empty, or adding allowed annotation for the method. | 36 |
![]() |
javadoc | MissingJavadocMethod | Missing a Javadoc comment. | 36 |
![]() |
sizes | LineLength | Line is longer than 80 characters (found 82). | 40 |
![]() |
whitespace | WhitespaceAfter | ',' is not followed by whitespace. | 40 |
![]() |
whitespace | WhitespaceAfter | ',' is not followed by whitespace. | 40 |
![]() |
whitespace | WhitespaceAfter | ',' is not followed by whitespace. | 40 |
![]() |
whitespace | WhitespaceAfter | ',' is not followed by whitespace. | 41 |
![]() |
sizes | LineLength | Line is longer than 80 characters (found 87). | 44 |
![]() |
design | DesignForExtension | Class 'SecurityConfig' looks like designed for extension (can be subclassed), but the method 'securityFilterChain' does not have javadoc that explains how to do that safely. If class is not designed for extension consider making the class 'SecurityConfig' final or making the method 'securityFilterChain' static/final/abstract/empty, or adding allowed annotation for the method. | 49 |
![]() |
javadoc | MissingJavadocMethod | Missing a Javadoc comment. | 49 |
![]() |
sizes | LineLength | Line is longer than 80 characters (found 88). | 50 |
![]() |
misc | FinalParameters | Parameter http should be final. | 50 |
com/student_loan/config/SecurityConfigTest.java
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
![]() |
javadoc | JavadocPackage | Missing package-info.java file. | 1 |
![]() |
design | DesignForExtension | Class 'SecurityConfigTest' looks like designed for extension (can be subclassed), but the method 'bCryptPasswordEncoder' does not have javadoc that explains how to do that safely. If class is not designed for extension consider making the class 'SecurityConfigTest' final or making the method 'bCryptPasswordEncoder' static/final/abstract/empty, or adding allowed annotation for the method. | 20 |
![]() |
javadoc | MissingJavadocMethod | Missing a Javadoc comment. | 20 |
![]() |
design | DesignForExtension | Class 'SecurityConfigTest' looks like designed for extension (can be subclassed), but the method 'jwtUtil' does not have javadoc that explains how to do that safely. If class is not designed for extension consider making the class 'SecurityConfigTest' final or making the method 'jwtUtil' static/final/abstract/empty, or adding allowed annotation for the method. | 25 |
![]() |
javadoc | MissingJavadocMethod | Missing a Javadoc comment. | 25 |
![]() |
design | DesignForExtension | Class 'SecurityConfigTest' looks like designed for extension (can be subclassed), but the method 'jwtFilter' does not have javadoc that explains how to do that safely. If class is not designed for extension consider making the class 'SecurityConfigTest' final or making the method 'jwtFilter' static/final/abstract/empty, or adding allowed annotation for the method. | 30 |
![]() |
javadoc | MissingJavadocMethod | Missing a Javadoc comment. | 30 |
![]() |
misc | FinalParameters | Parameter jwtUtil should be final. | 31 |
![]() |
design | DesignForExtension | Class 'SecurityConfigTest' looks like designed for extension (can be subclassed), but the method 'securityFilterChain' does not have javadoc that explains how to do that safely. If class is not designed for extension consider making the class 'SecurityConfigTest' final or making the method 'securityFilterChain' static/final/abstract/empty, or adding allowed annotation for the method. | 35 |
![]() |
javadoc | MissingJavadocMethod | Missing a Javadoc comment. | 35 |
![]() |
misc | FinalParameters | Parameter http should be final. | 36 |
![]() |
sizes | LineLength | Line is longer than 80 characters (found 101). | 37 |
![]() |
misc | FinalParameters | Parameter jwtFilter should be final. | 37 |
![]() |
sizes | LineLength | Line is longer than 80 characters (found 83). | 39 |
com/student_loan/controller/ItemController.java
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
![]() |
misc | NewlineAtEndOfFile | File does not end with a newline. | 1 |
![]() |
imports | AvoidStarImport | Using the '.*' form of import should be avoided - org.springframework.web.bind.annotation.*. | 10 |
![]() |
regexp | RegexpSingleline | Line has trailing spaces. | 33 |
![]() |
whitespace | FileTabCharacter | File contains tab characters (this is the first instance). | 33 |
![]() |
sizes | LineLength | Line is longer than 80 characters (found 87). | 34 |
![]() |
javadoc | JavadocVariable | Missing a Javadoc comment. | 34 |
![]() |
naming | ConstantName | Name 'logger' must match pattern '^[A-Z][A-Z0-9]*(_[A-Z0-9]+)*$'. | 34 |
![]() |
javadoc | JavadocVariable | Missing a Javadoc comment. | 36 |
![]() |
javadoc | JavadocVariable | Missing a Javadoc comment. | 38 |
![]() |
javadoc | JavadocVariable | Missing a Javadoc comment. | 40 |
![]() |
sizes | LineLength | Line is longer than 80 characters (found 106). | 51 |
![]() |
misc | FinalParameters | Parameter itemService should be final. | 51 |
![]() |
coding | HiddenField | 'itemService' hides a field. | 51 |
![]() |
misc | FinalParameters | Parameter userService should be final. | 51 |
![]() |
coding | HiddenField | 'userService' hides a field. | 51 |
![]() |
misc | FinalParameters | Parameter loanService should be final. | 51 |
![]() |
coding | HiddenField | 'loanService' hides a field. | 51 |
![]() |
sizes | LineLength | Line is longer than 80 characters (found 95). | 63 |
![]() |
sizes | LineLength | Line is longer than 80 characters (found 103). | 75 |
![]() |
sizes | LineLength | Line is longer than 80 characters (found 95). | 80 |
![]() |
whitespace | WhitespaceAfter | ',' is not followed by whitespace. | 80 |
![]() |
regexp | RegexpSingleline | Line has trailing spaces. | 82 |
![]() |
whitespace | WhitespaceAfter | ',' is not followed by whitespace. | 83 |
![]() |
regexp | RegexpSingleline | Line has trailing spaces. | 90 |
![]() |
regexp | RegexpSingleline | Line has trailing spaces. | 94 |
![]() |
sizes | LineLength | Line is longer than 80 characters (found 103). | 97 |
![]() |
sizes | LineLength | Line is longer than 80 characters (found 95). | 102 |
![]() |
whitespace | WhitespaceAfter | ',' is not followed by whitespace. | 102 |
![]() |
regexp | RegexpSingleline | Line has trailing spaces. | 104 |
![]() |
sizes | LineLength | Line is longer than 80 characters (found 83). | 105 |
![]() |
whitespace | WhitespaceAfter | ',' is not followed by whitespace. | 105 |
![]() |
regexp | RegexpSingleline | Line has trailing spaces. | 108 |
![]() |
misc | FinalParameters | Parameter id should be final. | 116 |
![]() |
sizes | LineLength | Line is longer than 80 characters (found 95). | 117 |
![]() |
regexp | RegexpSingleline | Line has trailing spaces. | 121 |
![]() |
sizes | LineLength | Line is longer than 80 characters (found 139). | 122 |
![]() |
whitespace | WhitespaceAround | '}' is not followed by whitespace. | 124 |
![]() |
whitespace | WhitespaceAround | 'else' is not preceded with whitespace. | 124 |
![]() |
sizes | LineLength | Line is longer than 80 characters (found 84). | 129 |
![]() |
regexp | RegexpSingleline | Line has trailing spaces. | 133 |
![]() |
javadoc | InvalidJavadocPosition | Javadoc comment is placed in the wrong location. | 134 |
![]() |
sizes | LineLength | Line is longer than 80 characters (found 88). | 135 |
![]() |
regexp | RegexpSingleline | Line has trailing spaces. | 139 |
![]() |
sizes | LineLength | Line is longer than 80 characters (found 94). | 141 |
![]() |
sizes | LineLength | Line is longer than 80 characters (found 87). | 144 |
![]() |
sizes | LineLength | Line is longer than 80 characters (found 89). | 146 |
![]() |
regexp | RegexpSingleline | Line has trailing spaces. | 150 |
![]() |
regexp | RegexpSingleline | Line has trailing spaces. | 151 |
![]() |
misc | FinalParameters | Parameter id should be final. | 159 |
![]() |
sizes | LineLength | Line is longer than 80 characters (found 103). | 160 |
![]() |
sizes | LineLength | Line is longer than 80 characters (found 99). | 167 |
![]() |
sizes | LineLength | Line is longer than 80 characters (found 91). | 172 |
![]() |
regexp | RegexpSingleline | Line has trailing spaces. | 178 |
![]() |
sizes | LineLength | Line is longer than 80 characters (found 103). | 187 |
![]() |
sizes | LineLength | Line is longer than 80 characters (found 94). | 188 |
![]() |
sizes | LineLength | Line is longer than 80 characters (found 96). | 198 |
![]() |
sizes | LineLength | Line is longer than 80 characters (found 85). | 199 |
![]() |
sizes | LineLength | Line is longer than 80 characters (found 86). | 204 |
![]() |
sizes | LineLength | Line is longer than 80 characters (found 103). | 216 |
![]() |
sizes | LineLength | Line is longer than 80 characters (found 94). | 217 |
![]() |
sizes | LineLength | Line is longer than 80 characters (found 100). | 227 |
![]() |
sizes | LineLength | Line is longer than 80 characters (found 85). | 228 |
![]() |
sizes | LineLength | Line is longer than 80 characters (found 86). | 233 |
![]() |
sizes | LineLength | Line is longer than 80 characters (found 82). | 244 |
![]() |
misc | FinalParameters | Parameter itemRecord should be final. | 244 |
![]() |
regexp | RegexpSingleline | Line has trailing spaces. | 249 |
![]() |
sizes | LineLength | Line is longer than 80 characters (found 102). | 253 |
![]() |
sizes | LineLength | Line is longer than 80 characters (found 113). | 254 |
![]() |
sizes | LineLength | Line is longer than 80 characters (found 88). | 255 |
![]() |
sizes | LineLength | Line is longer than 80 characters (found 135). | 260 |
![]() |
sizes | LineLength | Line is longer than 80 characters (found 81). | 262 |
![]() |
sizes | LineLength | Line is longer than 80 characters (found 85). | 264 |
![]() |
regexp | RegexpSingleline | Line has trailing spaces. | 268 |
![]() |
sizes | LineLength | Line is longer than 80 characters (found 120). | 278 |
![]() |
misc | FinalParameters | Parameter itemRecord should be final. | 278 |
![]() |
misc | FinalParameters | Parameter token should be final. | 278 |
![]() |
sizes | LineLength | Line is longer than 80 characters (found 81). | 288 |
![]() |
regexp | RegexpSingleline | Line has trailing spaces. | 293 |
![]() |
regexp | RegexpSingleline | Line has trailing spaces. | 301 |
![]() |
sizes | LineLength | Line is longer than 80 characters (found 106). | 303 |
![]() |
misc | FinalParameters | Parameter id should be final. | 303 |
![]() |
misc | FinalParameters | Parameter token should be final. | 303 |
![]() |
sizes | LineLength | Line is longer than 80 characters (found 115). | 305 |
![]() |
whitespace | WhitespaceAround | '==' is not followed by whitespace. | 305 |
![]() |
whitespace | WhitespaceAround | '==' is not preceded with whitespace. | 305 |
![]() |
coding | SimplifyBooleanExpression | Expression can be simplified. | 305 |
![]() |
whitespace | WhitespaceAround | '!=' is not followed by whitespace. | 305 |
![]() |
whitespace | WhitespaceAround | '!=' is not preceded with whitespace. | 305 |
![]() |
regexp | RegexpSingleline | Line has trailing spaces. | 307 |
![]() |
regexp | RegexpSingleline | Line has trailing spaces. | 309 |
![]() |
regexp | RegexpSingleline | Line has trailing spaces. | 313 |
![]() |
sizes | LineLength | Line is longer than 80 characters (found 140). | 323 |
![]() |
misc | FinalParameters | Parameter id should be final. | 323 |
![]() |
misc | FinalParameters | Parameter item should be final. | 323 |
![]() |
misc | FinalParameters | Parameter token should be final. | 323 |
![]() |
sizes | LineLength | Line is longer than 80 characters (found 136). | 325 |
![]() |
whitespace | WhitespaceAround | '!=' is not followed by whitespace. | 325 |
![]() |
whitespace | WhitespaceAround | '!=' is not preceded with whitespace. | 325 |
![]() |
whitespace | WhitespaceAround | '!=' is not followed by whitespace. | 325 |
![]() |
whitespace | WhitespaceAround | '!=' is not preceded with whitespace. | 325 |
![]() |
coding | SimplifyBooleanExpression | Expression can be simplified. | 325 |
![]() |
regexp | RegexpSingleline | Line has trailing spaces. | 328 |
![]() |
sizes | LineLength | Line is longer than 80 characters (found 106). | 331 |
![]() |
whitespace | ParenPad | ')' is preceded with whitespace. | 331 |
![]() |
sizes | LineLength | Line is longer than 80 characters (found 134). | 332 |
![]() |
whitespace | ParenPad | ')' is preceded with whitespace. | 332 |
![]() |
sizes | LineLength | Line is longer than 80 characters (found 121). | 333 |
![]() |
sizes | LineLength | Line is longer than 80 characters (found 121). | 334 |
![]() |
sizes | LineLength | Line is longer than 80 characters (found 147). | 335 |
![]() |
whitespace | WhitespaceAround | '==' is not followed by whitespace. | 335 |
![]() |
whitespace | WhitespaceAround | '==' is not preceded with whitespace. | 335 |
![]() |
sizes | LineLength | Line is longer than 80 characters (found 162). | 336 |
![]() |
whitespace | WhitespaceAround | '==' is not followed by whitespace. | 336 |
![]() |
whitespace | WhitespaceAround | '==' is not preceded with whitespace. | 336 |
![]() |
sizes | LineLength | Line is longer than 80 characters (found 89). | 340 |
![]() |
whitespace | WhitespaceAfter | ',' is not followed by whitespace. | 340 |
![]() |
misc | FinalParameters | Parameter itemRecord should be final. | 350 |
![]() |
sizes | LineLength | Line is longer than 80 characters (found 91). | 356 |
![]() |
sizes | LineLength | Line is longer than 80 characters (found 82). | 358 |
![]() |
sizes | LineLength | Line is longer than 80 characters (found 100). | 359 |
com/student_loan/controller/LoanController.java
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
![]() |
javadoc | JavadocPackage | Missing package-info.java file. | 1 |
![]() |
imports | AvoidStarImport | Using the '.*' form of import should be avoided - org.springframework.web.bind.annotation.*. | 8 |
![]() |
imports | UnusedImports | Unused import - java.util.Objects. | 19 |
![]() |
javadoc | JavadocVariable | Missing a Javadoc comment. | 32 |
![]() |
javadoc | JavadocVariable | Missing a Javadoc comment. | 34 |
![]() |
sizes | LineLength | Line is longer than 80 characters (found 87). | 37 |
![]() |
javadoc | JavadocVariable | Missing a Javadoc comment. | 37 |
![]() |
naming | ConstantName | Name 'logger' must match pattern '^[A-Z][A-Z0-9]*(_[A-Z0-9]+)*$'. | 37 |
![]() |
whitespace | FileTabCharacter | File contains tab characters (this is the first instance). | 44 |
![]() |
sizes | LineLength | Line is longer than 80 characters (found 95). | 45 |
![]() |
sizes | LineLength | Line is longer than 80 characters (found 88). | 57 |
![]() |
misc | FinalParameters | Parameter token should be final. | 57 |
![]() |
whitespace | WhitespaceAround | '==' is not followed by whitespace. | 59 |
![]() |
whitespace | WhitespaceAround | '==' is not preceded with whitespace. | 59 |
![]() |
coding | SimplifyBooleanExpression | Expression can be simplified. | 59 |
![]() |
sizes | LineLength | Line is longer than 80 characters (found 87). | 60 |
![]() |
whitespace | WhitespaceAfter | ',' is not followed by whitespace. | 60 |
![]() |
whitespace | WhitespaceAfter | ',' is not followed by whitespace. | 62 |
![]() |
regexp | RegexpSingleline | Line has trailing spaces. | 71 |
![]() |
sizes | LineLength | Line is longer than 80 characters (found 109). | 73 |
![]() |
misc | FinalParameters | Parameter id should be final. | 73 |
![]() |
misc | FinalParameters | Parameter token should be final. | 73 |
![]() |
regexp | RegexpSingleline | Line has trailing spaces. | 75 |
![]() |
whitespace | OperatorWrap | '||' should be on a new line. | 75 |
![]() |
regexp | RegexpSingleline | Line has trailing spaces. | 76 |
![]() |
whitespace | OperatorWrap | '&&' should be on a new line. | 76 |
![]() |
regexp | RegexpSingleline | Line has trailing spaces. | 77 |
![]() |
sizes | LineLength | Line is longer than 80 characters (found 81). | 77 |
![]() |
whitespace | OperatorWrap | '&&' should be on a new line. | 77 |
![]() |
sizes | LineLength | Line is longer than 80 characters (found 83). | 78 |
![]() |
javadoc | JavadocMethod | Unused @param tag for 'token'. | 93 |
![]() |
javadoc | JavadocMethod | Unused @param tag for 'lenderId'. | 94 |
![]() |
sizes | LineLength | Line is longer than 80 characters (found 86). | 104 |
![]() |
regexp | RegexpSingleline | Line has trailing spaces. | 106 |
![]() |
sizes | LineLength | Line is longer than 80 characters (found 82). | 108 |
![]() |
regexp | RegexpSingleline | Line has trailing spaces. | 111 |
![]() |
javadoc | JavadocMethod | Unused @param tag for 'token'. | 115 |
![]() |
javadoc | JavadocMethod | Unused @param tag for 'borrowerId'. | 116 |
![]() |
sizes | LineLength | Line is longer than 80 characters (found 82). | 138 |
![]() |
misc | FinalParameters | Parameter loanRecord should be final. | 138 |
![]() |
regexp | RegexpSingleline | Line has trailing spaces. | 143 |
![]() |
sizes | LineLength | Line is longer than 80 characters (found 85). | 151 |
![]() |
regexp | RegexpSingleline | Line has trailing spaces. | 154 |
![]() |
regexp | RegexpSingleline | Line has trailing spaces. | 163 |
![]() |
sizes | LineLength | Line is longer than 80 characters (found 154). | 165 |
![]() |
misc | FinalParameters | Parameter id should be final. | 165 |
![]() |
misc | FinalParameters | Parameter loan should be final. | 165 |
![]() |
misc | FinalParameters | Parameter authHeader should be final. | 165 |
![]() |
regexp | RegexpSingleline | Line has trailing spaces. | 169 |
![]() |
coding | MagicNumber | '7' is a magic number. | 170 |
![]() |
sizes | LineLength | Line is longer than 80 characters (found 147). | 174 |
![]() |
whitespace | WhitespaceAround | '!=' is not followed by whitespace. | 174 |
![]() |
whitespace | WhitespaceAround | '!=' is not preceded with whitespace. | 174 |
![]() |
whitespace | WhitespaceAround | '!=' is not followed by whitespace. | 174 |
![]() |
whitespace | WhitespaceAround | '!=' is not preceded with whitespace. | 174 |
![]() |
whitespace | WhitespaceAround | '==' is not followed by whitespace. | 174 |
![]() |
whitespace | WhitespaceAround | '==' is not preceded with whitespace. | 174 |
![]() |
coding | SimplifyBooleanExpression | Expression can be simplified. | 174 |
![]() |
regexp | RegexpSingleline | Line has trailing spaces. | 177 |
![]() |
sizes | LineLength | Line is longer than 80 characters (found 103). | 179 |
![]() |
whitespace | WhitespaceAround | '==' is not followed by whitespace. | 179 |
![]() |
whitespace | WhitespaceAround | '==' is not preceded with whitespace. | 179 |
![]() |
sizes | LineLength | Line is longer than 80 characters (found 111). | 180 |
![]() |
whitespace | WhitespaceAround | '==' is not followed by whitespace. | 180 |
![]() |
whitespace | WhitespaceAround | '==' is not preceded with whitespace. | 180 |
![]() |
sizes | LineLength | Line is longer than 80 characters (found 95). | 181 |
![]() |
whitespace | WhitespaceAround | '==' is not followed by whitespace. | 181 |
![]() |
whitespace | WhitespaceAround | '==' is not preceded with whitespace. | 181 |
![]() |
sizes | LineLength | Line is longer than 80 characters (found 125). | 182 |
![]() |
whitespace | WhitespaceAround | '==' is not followed by whitespace. | 182 |
![]() |
whitespace | WhitespaceAround | '==' is not preceded with whitespace. | 182 |
![]() |
sizes | LineLength | Line is longer than 80 characters (found 169). | 183 |
![]() |
whitespace | WhitespaceAround | '==' is not followed by whitespace. | 183 |
![]() |
whitespace | WhitespaceAround | '==' is not preceded with whitespace. | 183 |
![]() |
sizes | LineLength | Line is longer than 80 characters (found 149). | 184 |
![]() |
whitespace | WhitespaceAround | '==' is not followed by whitespace. | 184 |
![]() |
whitespace | WhitespaceAround | '==' is not preceded with whitespace. | 184 |
![]() |
sizes | LineLength | Line is longer than 80 characters (found 140). | 185 |
![]() |
whitespace | WhitespaceAround | '==' is not followed by whitespace. | 185 |
![]() |
whitespace | WhitespaceAround | '==' is not preceded with whitespace. | 185 |
![]() |
sizes | LineLength | Line is longer than 80 characters (found 119). | 186 |
![]() |
whitespace | WhitespaceAround | '==' is not followed by whitespace. | 186 |
![]() |
whitespace | WhitespaceAround | '==' is not preceded with whitespace. | 186 |
![]() |
regexp | RegexpSingleline | Line has trailing spaces. | 187 |
![]() |
sizes | LineLength | Line is longer than 80 characters (found 128). | 187 |
![]() |
whitespace | WhitespaceAround | '==' is not followed by whitespace. | 187 |
![]() |
whitespace | WhitespaceAround | '==' is not preceded with whitespace. | 187 |
![]() |
sizes | LineLength | Line is longer than 80 characters (found 89). | 191 |
![]() |
whitespace | WhitespaceAfter | ',' is not followed by whitespace. | 191 |
![]() |
misc | FinalParameters | Parameter itemId should be final. | 202 |
![]() |
sizes | LineLength | Line is longer than 80 characters (found 87). | 208 |
![]() |
sizes | LineLength | Line is longer than 80 characters (found 82). | 212 |
![]() |
sizes | LineLength | Line is longer than 80 characters (found 86). | 215 |
![]() |
regexp | RegexpSingleline | Line has trailing spaces. | 219 |
![]() |
sizes | LineLength | Line is longer than 80 characters (found 106). | 228 |
![]() |
misc | FinalParameters | Parameter id should be final. | 228 |
![]() |
misc | FinalParameters | Parameter token should be final. | 228 |
![]() |
sizes | LineLength | Line is longer than 80 characters (found 181). | 230 |
![]() |
whitespace | WhitespaceAround | '!=' is not followed by whitespace. | 230 |
![]() |
whitespace | WhitespaceAround | '!=' is not preceded with whitespace. | 230 |
![]() |
whitespace | WhitespaceAround | '!=' is not followed by whitespace. | 230 |
![]() |
whitespace | WhitespaceAround | '!=' is not preceded with whitespace. | 230 |
![]() |
whitespace | WhitespaceAround | '==' is not followed by whitespace. | 230 |
![]() |
whitespace | WhitespaceAround | '==' is not preceded with whitespace. | 230 |
![]() |
coding | SimplifyBooleanExpression | Expression can be simplified. | 230 |
![]() |
regexp | RegexpSingleline | Line has trailing spaces. | 239 |
![]() |
regexp | RegexpSingleline | Line has trailing spaces. | 241 |
![]() |
misc | FinalParameters | Parameter loanRecord should be final. | 248 |
![]() |
regexp | RegexpSingleline | Line has trailing spaces. | 262 |
com/student_loan/controller/RankingController.java
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
![]() |
javadoc | JavadocVariable | Missing a Javadoc comment. | 16 |
![]() |
javadoc | MissingJavadocMethod | Missing a Javadoc comment. | 18 |
![]() |
misc | FinalParameters | Parameter rankingService should be final. | 18 |
![]() |
coding | HiddenField | 'rankingService' hides a field. | 18 |
![]() |
design | DesignForExtension | Class 'RankingController' looks like designed for extension (can be subclassed), but the method 'getAllRankings' does not have javadoc that explains how to do that safely. If class is not designed for extension consider making the class 'RankingController' final or making the method 'getAllRankings' static/final/abstract/empty, or adding allowed annotation for the method. | 22 |
![]() |
javadoc | MissingJavadocMethod | Missing a Javadoc comment. | 22 |
com/student_loan/controller/UserController.java
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
![]() |
imports | AvoidStarImport | Using the '.*' form of import should be avoided - org.springframework.web.bind.annotation.*. | 7 |
![]() |
imports | UnusedImports | Unused import - com.student_loan.model.Item. | 10 |
![]() |
regexp | RegexpSingleline | Line has trailing spaces. | 31 |
![]() |
javadoc | JavadocVariable | Missing a Javadoc comment. | 33 |
![]() |
javadoc | JavadocVariable | Missing a Javadoc comment. | 35 |
![]() |
sizes | LineLength | Line is longer than 80 characters (found 81). | 41 |
![]() |
whitespace | FileTabCharacter | File contains tab characters (this is the first instance). | 41 |
![]() |
misc | FinalParameters | Parameter userService should be final. | 41 |
![]() |
coding | HiddenField | 'userService' hides a field. | 41 |
![]() |
misc | FinalParameters | Parameter itemService should be final. | 41 |
![]() |
coding | HiddenField | 'itemService' hides a field. | 41 |
![]() |
javadoc | JavadocMethod | Expected @param tag for 'itemService'. | 41 |
![]() |
sizes | LineLength | Line is longer than 80 characters (found 88). | 52 |
![]() |
misc | FinalParameters | Parameter token should be final. | 52 |
![]() |
whitespace | WhitespaceAround | '==' is not followed by whitespace. | 54 |
![]() |
whitespace | WhitespaceAround | '==' is not preceded with whitespace. | 54 |
![]() |
coding | SimplifyBooleanExpression | Expression can be simplified. | 54 |
![]() |
sizes | LineLength | Line is longer than 80 characters (found 87). | 55 |
![]() |
whitespace | WhitespaceAfter | ',' is not followed by whitespace. | 55 |
![]() |
sizes | LineLength | Line is longer than 80 characters (found 86). | 63 |
![]() |
misc | FinalParameters | Parameter credentials should be final. | 66 |
![]() |
coding | MagicNumber | '401' is a magic number. | 70 |
![]() |
sizes | LineLength | Line is longer than 80 characters (found 83). | 81 |
![]() |
misc | FinalParameters | Parameter token should be final. | 81 |
![]() |
misc | FinalParameters | Parameter id should be final. | 95 |
![]() |
sizes | LineLength | Line is longer than 80 characters (found 95). | 96 |
![]() |
sizes | LineLength | Line is longer than 80 characters (found 120). | 104 |
![]() |
misc | FinalParameters | Parameter id should be final. | 118 |
![]() |
sizes | LineLength | Line is longer than 80 characters (found 95). | 119 |
![]() |
sizes | LineLength | Line is longer than 80 characters (found 82). | 128 |
![]() |
design | DesignForExtension | Class 'UserController' looks like designed for extension (can be subclassed), but the method 'getItemsLentByUser' does not have javadoc that explains how to do that safely. If class is not designed for extension consider making the class 'UserController' final or making the method 'getItemsLentByUser' static/final/abstract/empty, or adding allowed annotation for the method. | 134 |
![]() |
javadoc | MissingJavadocMethod | Missing a Javadoc comment. | 134 |
![]() |
sizes | LineLength | Line is longer than 80 characters (found 95). | 135 |
![]() |
misc | FinalParameters | Parameter userId should be final. | 135 |
![]() |
sizes | LineLength | Line is longer than 80 characters (found 91). | 136 |
![]() |
design | DesignForExtension | Class 'UserController' looks like designed for extension (can be subclassed), but the method 'getItemsBorrowedByUser' does not have javadoc that explains how to do that safely. If class is not designed for extension consider making the class 'UserController' final or making the method 'getItemsBorrowedByUser' static/final/abstract/empty, or adding allowed annotation for the method. | 141 |
![]() |
javadoc | MissingJavadocMethod | Missing a Javadoc comment. | 141 |
![]() |
sizes | LineLength | Line is longer than 80 characters (found 99). | 142 |
![]() |
misc | FinalParameters | Parameter userId should be final. | 142 |
![]() |
sizes | LineLength | Line is longer than 80 characters (found 95). | 143 |
![]() |
sizes | LineLength | Line is longer than 80 characters (found 138). | 156 |
![]() |
misc | FinalParameters | Parameter id should be final. | 156 |
![]() |
misc | FinalParameters | Parameter userData should be final. | 156 |
![]() |
misc | FinalParameters | Parameter token should be final. | 156 |
![]() |
sizes | LineLength | Line is longer than 80 characters (found 85). | 158 |
![]() |
coding | SimplifyBooleanExpression | Expression can be simplified. | 158 |
![]() |
regexp | RegexpSingleline | Line has trailing spaces. | 161 |
![]() |
sizes | LineLength | Line is longer than 80 characters (found 86). | 163 |
![]() |
regexp | RegexpSingleline | Line has trailing spaces. | 176 |
![]() |
sizes | LineLength | Line is longer than 80 characters (found 85). | 178 |
![]() |
misc | FinalParameters | Parameter userDTO should be final. | 178 |
![]() |
sizes | LineLength | Line is longer than 80 characters (found 106). | 194 |
![]() |
misc | FinalParameters | Parameter id should be final. | 194 |
![]() |
misc | FinalParameters | Parameter token should be final. | 194 |
![]() |
sizes | LineLength | Line is longer than 80 characters (found 85). | 196 |
![]() |
coding | SimplifyBooleanExpression | Expression can be simplified. | 196 |
![]() |
regexp | RegexpSingleline | Line has trailing spaces. | 203 |
![]() |
misc | FinalParameters | Parameter data should be final. | 212 |
![]() |
whitespace | ParenPad | ')' is preceded with whitespace. | 214 |
![]() |
sizes | LineLength | Line is longer than 80 characters (found 87). | 219 |
![]() |
regexp | RegexpSingleline | Line has trailing spaces. | 224 |
![]() |
regexp | RegexpSingleline | Line has trailing spaces. | 232 |
![]() |
misc | FinalParameters | Parameter userDTO should be final. | 233 |
![]() |
whitespace | WhitespaceAround | '+' is not followed by whitespace. | 235 |
![]() |
whitespace | WhitespaceAround | '+' is not preceded with whitespace. | 235 |
![]() |
whitespace | WhitespaceAround | '+' is not followed by whitespace. | 235 |
![]() |
whitespace | WhitespaceAround | '+' is not preceded with whitespace. | 235 |
![]() |
regexp | RegexpSingleline | Line has trailing spaces. | 245 |
![]() |
design | DesignForExtension | Class 'UserController' looks like designed for extension (can be subclassed), but the method 'userToUserRecord' does not have javadoc that explains how to do that safely. If class is not designed for extension consider making the class 'UserController' final or making the method 'userToUserRecord' static/final/abstract/empty, or adding allowed annotation for the method. | 249 |
![]() |
javadoc | MissingJavadocMethod | Missing a Javadoc comment. | 249 |
![]() |
misc | FinalParameters | Parameter user should be final. | 249 |
![]() |
sizes | LineLength | Line is longer than 80 characters (found 87). | 252 |
com/student_loan/dtos/CredentialsDTO.java
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
![]() |
misc | NewlineAtEndOfFile | File does not end with a newline. | 1 |
![]() |
whitespace | WhitespaceAround | '{' is not preceded with whitespace. | 4 |
![]() |
regexp | RegexpSingleline | Line has trailing spaces. | 5 |
![]() |
whitespace | FileTabCharacter | File contains tab characters (this is the first instance). | 5 |
![]() |
javadoc | JavadocVariable | Missing a Javadoc comment. | 6 |
![]() |
javadoc | JavadocVariable | Missing a Javadoc comment. | 7 |
![]() |
regexp | RegexpSingleline | Line has trailing spaces. | 8 |
![]() |
javadoc | MissingJavadocMethod | Missing a Javadoc comment. | 9 |
![]() |
regexp | RegexpSingleline | Line has trailing spaces. | 11 |
![]() |
javadoc | MissingJavadocMethod | Missing a Javadoc comment. | 12 |
![]() |
misc | FinalParameters | Parameter email should be final. | 12 |
![]() |
coding | HiddenField | 'email' hides a field. | 12 |
![]() |
misc | FinalParameters | Parameter password should be final. | 12 |
![]() |
coding | HiddenField | 'password' hides a field. | 12 |
![]() |
regexp | RegexpSingleline | Line has trailing spaces. | 16 |
![]() |
regexp | RegexpSingleline | Line has trailing spaces. | 18 |
![]() |
design | DesignForExtension | Class 'CredentialsDTO' looks like designed for extension (can be subclassed), but the method 'getEmail' does not have javadoc that explains how to do that safely. If class is not designed for extension consider making the class 'CredentialsDTO' final or making the method 'getEmail' static/final/abstract/empty, or adding allowed annotation for the method. | 19 |
![]() |
javadoc | MissingJavadocMethod | Missing a Javadoc comment. | 19 |
![]() |
regexp | RegexpSingleline | Line has trailing spaces. | 22 |
![]() |
design | DesignForExtension | Class 'CredentialsDTO' looks like designed for extension (can be subclassed), but the method 'setEmail' does not have javadoc that explains how to do that safely. If class is not designed for extension consider making the class 'CredentialsDTO' final or making the method 'setEmail' static/final/abstract/empty, or adding allowed annotation for the method. | 23 |
![]() |
javadoc | MissingJavadocMethod | Missing a Javadoc comment. | 23 |
![]() |
misc | FinalParameters | Parameter email should be final. | 23 |
![]() |
coding | HiddenField | 'email' hides a field. | 23 |
![]() |
regexp | RegexpSingleline | Line has trailing spaces. | 26 |
![]() |
design | DesignForExtension | Class 'CredentialsDTO' looks like designed for extension (can be subclassed), but the method 'getPassword' does not have javadoc that explains how to do that safely. If class is not designed for extension consider making the class 'CredentialsDTO' final or making the method 'getPassword' static/final/abstract/empty, or adding allowed annotation for the method. | 27 |
![]() |
javadoc | MissingJavadocMethod | Missing a Javadoc comment. | 27 |
![]() |
regexp | RegexpSingleline | Line has trailing spaces. | 30 |
![]() |
design | DesignForExtension | Class 'CredentialsDTO' looks like designed for extension (can be subclassed), but the method 'setPassword' does not have javadoc that explains how to do that safely. If class is not designed for extension consider making the class 'CredentialsDTO' final or making the method 'setPassword' static/final/abstract/empty, or adding allowed annotation for the method. | 31 |
![]() |
javadoc | MissingJavadocMethod | Missing a Javadoc comment. | 31 |
![]() |
misc | FinalParameters | Parameter password should be final. | 31 |
![]() |
coding | HiddenField | 'password' hides a field. | 31 |
com/student_loan/dtos/ItemRecord.java
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
![]() |
misc | NewlineAtEndOfFile | File does not end with a newline. | 1 |
![]() |
regexp | RegexpSingleline | Line has trailing spaces. | 5 |
![]() |
whitespace | FileTabCharacter | File contains tab characters (this is the first instance). | 5 |
![]() |
regexp | RegexpSingleline | Line has trailing spaces. | 9 |
![]() |
whitespace | WhitespaceAround | '{' is not followed by whitespace. | 12 |
![]() |
whitespace | WhitespaceAround | '}' is not preceded with whitespace. | 12 |
com/student_loan/dtos/LoanAndItemDto.java
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
![]() |
javadoc | JavadocVariable | Missing a Javadoc comment. | 7 |
![]() |
javadoc | JavadocVariable | Missing a Javadoc comment. | 8 |
![]() |
javadoc | JavadocVariable | Missing a Javadoc comment. | 9 |
![]() |
javadoc | JavadocVariable | Missing a Javadoc comment. | 10 |
![]() |
javadoc | JavadocVariable | Missing a Javadoc comment. | 11 |
![]() |
javadoc | JavadocVariable | Missing a Javadoc comment. | 14 |
![]() |
javadoc | JavadocVariable | Missing a Javadoc comment. | 15 |
![]() |
javadoc | JavadocVariable | Missing a Javadoc comment. | 16 |
![]() |
sizes | LineLength | Line is longer than 80 characters (found 155). | 19 |
![]() |
javadoc | MissingJavadocMethod | Missing a Javadoc comment. | 19 |
![]() |
sizes | ParameterNumber | More than 7 parameters (found 8). | 19 |
![]() |
misc | FinalParameters | Parameter loanId should be final. | 19 |
![]() |
coding | HiddenField | 'loanId' hides a field. | 19 |
![]() |
whitespace | WhitespaceAfter | ',' is not followed by whitespace. | 19 |
![]() |
misc | FinalParameters | Parameter borrowerId should be final. | 19 |
![]() |
coding | HiddenField | 'borrowerId' hides a field. | 19 |
![]() |
misc | FinalParameters | Parameter lenderId should be final. | 19 |
![]() |
coding | HiddenField | 'lenderId' hides a field. | 19 |
![]() |
misc | FinalParameters | Parameter startDate should be final. | 19 |
![]() |
coding | HiddenField | 'startDate' hides a field. | 19 |
![]() |
misc | FinalParameters | Parameter endDate should be final. | 19 |
![]() |
coding | HiddenField | 'endDate' hides a field. | 19 |
![]() |
misc | FinalParameters | Parameter itemId should be final. | 19 |
![]() |
coding | HiddenField | 'itemId' hides a field. | 19 |
![]() |
misc | FinalParameters | Parameter itemName should be final. | 19 |
![]() |
coding | HiddenField | 'itemName' hides a field. | 19 |
![]() |
misc | FinalParameters | Parameter itemDescription should be final. | 19 |
![]() |
coding | HiddenField | 'itemDescription' hides a field. | 19 |
![]() |
sizes | LineLength | Line is longer than 80 characters (found 96). | 30 |
![]() |
javadoc | MissingJavadocMethod | Missing a Javadoc comment. | 31 |
![]() |
whitespace | WhitespaceAround | '{' is not followed by whitespace. | 31 |
![]() |
whitespace | WhitespaceAround | '}' is not preceded with whitespace. | 31 |
![]() |
design | DesignForExtension | Class 'LoanAndItemDto' looks like designed for extension (can be subclassed), but the method 'getLoanId' does not have javadoc that explains how to do that safely. If class is not designed for extension consider making the class 'LoanAndItemDto' final or making the method 'getLoanId' static/final/abstract/empty, or adding allowed annotation for the method. | 34 |
![]() |
javadoc | MissingJavadocMethod | Missing a Javadoc comment. | 34 |
![]() |
design | DesignForExtension | Class 'LoanAndItemDto' looks like designed for extension (can be subclassed), but the method 'setLoanId' does not have javadoc that explains how to do that safely. If class is not designed for extension consider making the class 'LoanAndItemDto' final or making the method 'setLoanId' static/final/abstract/empty, or adding allowed annotation for the method. | 38 |
![]() |
javadoc | MissingJavadocMethod | Missing a Javadoc comment. | 38 |
![]() |
misc | FinalParameters | Parameter loanId should be final. | 38 |
![]() |
coding | HiddenField | 'loanId' hides a field. | 38 |
![]() |
design | DesignForExtension | Class 'LoanAndItemDto' looks like designed for extension (can be subclassed), but the method 'getBorrowerId' does not have javadoc that explains how to do that safely. If class is not designed for extension consider making the class 'LoanAndItemDto' final or making the method 'getBorrowerId' static/final/abstract/empty, or adding allowed annotation for the method. | 42 |
![]() |
javadoc | MissingJavadocMethod | Missing a Javadoc comment. | 42 |
![]() |
design | DesignForExtension | Class 'LoanAndItemDto' looks like designed for extension (can be subclassed), but the method 'setBorrowerId' does not have javadoc that explains how to do that safely. If class is not designed for extension consider making the class 'LoanAndItemDto' final or making the method 'setBorrowerId' static/final/abstract/empty, or adding allowed annotation for the method. | 46 |
![]() |
javadoc | MissingJavadocMethod | Missing a Javadoc comment. | 46 |
![]() |
misc | FinalParameters | Parameter borrowerId should be final. | 46 |
![]() |
coding | HiddenField | 'borrowerId' hides a field. | 46 |
![]() |
design | DesignForExtension | Class 'LoanAndItemDto' looks like designed for extension (can be subclassed), but the method 'getLenderId' does not have javadoc that explains how to do that safely. If class is not designed for extension consider making the class 'LoanAndItemDto' final or making the method 'getLenderId' static/final/abstract/empty, or adding allowed annotation for the method. | 50 |
![]() |
javadoc | MissingJavadocMethod | Missing a Javadoc comment. | 50 |
![]() |
design | DesignForExtension | Class 'LoanAndItemDto' looks like designed for extension (can be subclassed), but the method 'setLenderId' does not have javadoc that explains how to do that safely. If class is not designed for extension consider making the class 'LoanAndItemDto' final or making the method 'setLenderId' static/final/abstract/empty, or adding allowed annotation for the method. | 54 |
![]() |
javadoc | MissingJavadocMethod | Missing a Javadoc comment. | 54 |
![]() |
misc | FinalParameters | Parameter lenderId should be final. | 54 |
![]() |
coding | HiddenField | 'lenderId' hides a field. | 54 |
![]() |
design | DesignForExtension | Class 'LoanAndItemDto' looks like designed for extension (can be subclassed), but the method 'getStartDate' does not have javadoc that explains how to do that safely. If class is not designed for extension consider making the class 'LoanAndItemDto' final or making the method 'getStartDate' static/final/abstract/empty, or adding allowed annotation for the method. | 58 |
![]() |
javadoc | MissingJavadocMethod | Missing a Javadoc comment. | 58 |
![]() |
design | DesignForExtension | Class 'LoanAndItemDto' looks like designed for extension (can be subclassed), but the method 'setStartDate' does not have javadoc that explains how to do that safely. If class is not designed for extension consider making the class 'LoanAndItemDto' final or making the method 'setStartDate' static/final/abstract/empty, or adding allowed annotation for the method. | 62 |
![]() |
javadoc | MissingJavadocMethod | Missing a Javadoc comment. | 62 |
![]() |
misc | FinalParameters | Parameter startDate should be final. | 62 |
![]() |
coding | HiddenField | 'startDate' hides a field. | 62 |
![]() |
design | DesignForExtension | Class 'LoanAndItemDto' looks like designed for extension (can be subclassed), but the method 'getEndDate' does not have javadoc that explains how to do that safely. If class is not designed for extension consider making the class 'LoanAndItemDto' final or making the method 'getEndDate' static/final/abstract/empty, or adding allowed annotation for the method. | 66 |
![]() |
javadoc | MissingJavadocMethod | Missing a Javadoc comment. | 66 |
![]() |
design | DesignForExtension | Class 'LoanAndItemDto' looks like designed for extension (can be subclassed), but the method 'setEndDate' does not have javadoc that explains how to do that safely. If class is not designed for extension consider making the class 'LoanAndItemDto' final or making the method 'setEndDate' static/final/abstract/empty, or adding allowed annotation for the method. | 70 |
![]() |
javadoc | MissingJavadocMethod | Missing a Javadoc comment. | 70 |
![]() |
misc | FinalParameters | Parameter endDate should be final. | 70 |
![]() |
coding | HiddenField | 'endDate' hides a field. | 70 |
![]() |
design | DesignForExtension | Class 'LoanAndItemDto' looks like designed for extension (can be subclassed), but the method 'getItemId' does not have javadoc that explains how to do that safely. If class is not designed for extension consider making the class 'LoanAndItemDto' final or making the method 'getItemId' static/final/abstract/empty, or adding allowed annotation for the method. | 74 |
![]() |
javadoc | MissingJavadocMethod | Missing a Javadoc comment. | 74 |
![]() |
design | DesignForExtension | Class 'LoanAndItemDto' looks like designed for extension (can be subclassed), but the method 'setItemId' does not have javadoc that explains how to do that safely. If class is not designed for extension consider making the class 'LoanAndItemDto' final or making the method 'setItemId' static/final/abstract/empty, or adding allowed annotation for the method. | 78 |
![]() |
javadoc | MissingJavadocMethod | Missing a Javadoc comment. | 78 |
![]() |
misc | FinalParameters | Parameter itemId should be final. | 78 |
![]() |
coding | HiddenField | 'itemId' hides a field. | 78 |
![]() |
design | DesignForExtension | Class 'LoanAndItemDto' looks like designed for extension (can be subclassed), but the method 'getItemName' does not have javadoc that explains how to do that safely. If class is not designed for extension consider making the class 'LoanAndItemDto' final or making the method 'getItemName' static/final/abstract/empty, or adding allowed annotation for the method. | 82 |
![]() |
javadoc | MissingJavadocMethod | Missing a Javadoc comment. | 82 |
![]() |
design | DesignForExtension | Class 'LoanAndItemDto' looks like designed for extension (can be subclassed), but the method 'setItemName' does not have javadoc that explains how to do that safely. If class is not designed for extension consider making the class 'LoanAndItemDto' final or making the method 'setItemName' static/final/abstract/empty, or adding allowed annotation for the method. | 86 |
![]() |
javadoc | MissingJavadocMethod | Missing a Javadoc comment. | 86 |
![]() |
misc | FinalParameters | Parameter itemName should be final. | 86 |
![]() |
coding | HiddenField | 'itemName' hides a field. | 86 |
![]() |
design | DesignForExtension | Class 'LoanAndItemDto' looks like designed for extension (can be subclassed), but the method 'getItemDescription' does not have javadoc that explains how to do that safely. If class is not designed for extension consider making the class 'LoanAndItemDto' final or making the method 'getItemDescription' static/final/abstract/empty, or adding allowed annotation for the method. | 90 |
![]() |
javadoc | MissingJavadocMethod | Missing a Javadoc comment. | 90 |
![]() |
design | DesignForExtension | Class 'LoanAndItemDto' looks like designed for extension (can be subclassed), but the method 'setItemDescription' does not have javadoc that explains how to do that safely. If class is not designed for extension consider making the class 'LoanAndItemDto' final or making the method 'setItemDescription' static/final/abstract/empty, or adding allowed annotation for the method. | 94 |
![]() |
javadoc | MissingJavadocMethod | Missing a Javadoc comment. | 94 |
![]() |
misc | FinalParameters | Parameter itemDescription should be final. | 94 |
![]() |
coding | HiddenField | 'itemDescription' hides a field. | 94 |
com/student_loan/dtos/LoanRecord.java
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
![]() |
misc | NewlineAtEndOfFile | File does not end with a newline. | 1 |
![]() |
whitespace | WhitespaceAround | '{' is not followed by whitespace. | 14 |
![]() |
whitespace | WhitespaceAround | '}' is not preceded with whitespace. | 14 |
com/student_loan/dtos/RankingDTO.java
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
![]() |
javadoc | JavadocVariable | Missing a Javadoc comment. | 4 |
![]() |
javadoc | JavadocVariable | Missing a Javadoc comment. | 5 |
![]() |
javadoc | JavadocVariable | Missing a Javadoc comment. | 6 |
![]() |
javadoc | JavadocVariable | Missing a Javadoc comment. | 7 |
![]() |
sizes | LineLength | Line is longer than 80 characters (found 90). | 9 |
![]() |
javadoc | MissingJavadocMethod | Missing a Javadoc comment. | 9 |
![]() |
misc | FinalParameters | Parameter userId should be final. | 9 |
![]() |
coding | HiddenField | 'userId' hides a field. | 9 |
![]() |
misc | FinalParameters | Parameter name should be final. | 9 |
![]() |
coding | HiddenField | 'name' hides a field. | 9 |
![]() |
misc | FinalParameters | Parameter averageRating should be final. | 9 |
![]() |
coding | HiddenField | 'averageRating' hides a field. | 9 |
![]() |
misc | FinalParameters | Parameter penalties should be final. | 9 |
![]() |
coding | HiddenField | 'penalties' hides a field. | 9 |
![]() |
whitespace | WhitespaceAround | '=' is not preceded with whitespace. | 12 |
![]() |
design | DesignForExtension | Class 'RankingDTO' looks like designed for extension (can be subclassed), but the method 'getUserId' does not have javadoc that explains how to do that safely. If class is not designed for extension consider making the class 'RankingDTO' final or making the method 'getUserId' static/final/abstract/empty, or adding allowed annotation for the method. | 16 |
![]() |
blocks | LeftCurly | '{' at column 37 should have line break after. | 16 |
![]() |
design | DesignForExtension | Class 'RankingDTO' looks like designed for extension (can be subclassed), but the method 'getName' does not have javadoc that explains how to do that safely. If class is not designed for extension consider making the class 'RankingDTO' final or making the method 'getName' static/final/abstract/empty, or adding allowed annotation for the method. | 17 |
![]() |
blocks | LeftCurly | '{' at column 37 should have line break after. | 17 |
![]() |
design | DesignForExtension | Class 'RankingDTO' looks like designed for extension (can be subclassed), but the method 'getAverageRating' does not have javadoc that explains how to do that safely. If class is not designed for extension consider making the class 'RankingDTO' final or making the method 'getAverageRating' static/final/abstract/empty, or adding allowed annotation for the method. | 18 |
![]() |
blocks | LeftCurly | '{' at column 37 should have line break after. | 18 |
![]() |
whitespace | WhitespaceAround | '{' is not preceded with whitespace. | 18 |
![]() |
design | DesignForExtension | Class 'RankingDTO' looks like designed for extension (can be subclassed), but the method 'getPenalties' does not have javadoc that explains how to do that safely. If class is not designed for extension consider making the class 'RankingDTO' final or making the method 'getPenalties' static/final/abstract/empty, or adding allowed annotation for the method. | 19 |
![]() |
blocks | LeftCurly | '{' at column 37 should have line break after. | 19 |
com/student_loan/dtos/RegistrationRecord.java
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
![]() |
misc | NewlineAtEndOfFile | File does not end with a newline. | 1 |
![]() |
sizes | LineLength | Line is longer than 80 characters (found 175). | 3 |
![]() |
whitespace | WhitespaceAround | '{' is not followed by whitespace. | 3 |
![]() |
whitespace | WhitespaceAround | '}' is not preceded with whitespace. | 3 |
com/student_loan/dtos/UserDTO.java
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
![]() |
sizes | LineLength | Line is longer than 80 characters (found 87). | 3 |
![]() |
javadoc | JavadocVariable | Missing a Javadoc comment. | 6 |
![]() |
javadoc | JavadocVariable | Missing a Javadoc comment. | 7 |
![]() |
javadoc | JavadocVariable | Missing a Javadoc comment. | 8 |
![]() |
javadoc | MissingJavadocMethod | Missing a Javadoc comment. | 11 |
![]() |
misc | FinalParameters | Parameter id should be final. | 11 |
![]() |
coding | HiddenField | 'id' hides a field. | 11 |
![]() |
misc | FinalParameters | Parameter username should be final. | 11 |
![]() |
coding | HiddenField | 'username' hides a field. | 11 |
![]() |
misc | FinalParameters | Parameter email should be final. | 11 |
![]() |
coding | HiddenField | 'email' hides a field. | 11 |
![]() |
design | DesignForExtension | Class 'UserDTO' looks like designed for extension (can be subclassed), but the method 'getId' does not have javadoc that explains how to do that safely. If class is not designed for extension consider making the class 'UserDTO' final or making the method 'getId' static/final/abstract/empty, or adding allowed annotation for the method. | 17 |
![]() |
blocks | LeftCurly | '{' at column 25 should have line break after. | 17 |
![]() |
design | DesignForExtension | Class 'UserDTO' looks like designed for extension (can be subclassed), but the method 'getUsername' does not have javadoc that explains how to do that safely. If class is not designed for extension consider making the class 'UserDTO' final or making the method 'getUsername' static/final/abstract/empty, or adding allowed annotation for the method. | 19 |
![]() |
blocks | LeftCurly | '{' at column 33 should have line break after. | 19 |
![]() |
design | DesignForExtension | Class 'UserDTO' looks like designed for extension (can be subclassed), but the method 'getEmail' does not have javadoc that explains how to do that safely. If class is not designed for extension consider making the class 'UserDTO' final or making the method 'getEmail' static/final/abstract/empty, or adding allowed annotation for the method. | 21 |
![]() |
blocks | LeftCurly | '{' at column 30 should have line break after. | 21 |
com/student_loan/dtos/UserRecord.java
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
![]() |
misc | NewlineAtEndOfFile | File does not end with a newline. | 1 |
![]() |
javadoc | JavadocPackage | Missing package-info.java file. | 1 |
![]() |
sizes | LineLength | Line is longer than 80 characters (found 222). | 4 |
![]() |
whitespace | WhitespaceAround | '{' is not followed by whitespace. | 4 |
![]() |
whitespace | WhitespaceAround | '{' is not preceded with whitespace. | 4 |
![]() |
whitespace | WhitespaceAround | '}' is not preceded with whitespace. | 4 |
com/student_loan/model/Item.java
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
![]() |
javadoc | JavadocPackage | Missing package-info.java file. | 1 |
![]() |
imports | AvoidStarImport | Using the '.*' form of import should be avoided - jakarta.persistence.*. | 4 |
![]() |
sizes | LineLength | Line is longer than 80 characters (found 94). | 8 |
![]() |
javadoc | JavadocVariable | Missing a Javadoc comment. | 78 |
![]() |
javadoc | JavadocVariable | Missing a Javadoc comment. | 78 |
![]() |
javadoc | JavadocVariable | Missing a Javadoc comment. | 78 |
![]() |
javadoc | JavadocVariable | Missing a Javadoc comment. | 85 |
![]() |
javadoc | JavadocVariable | Missing a Javadoc comment. | 85 |
![]() |
javadoc | JavadocVariable | Missing a Javadoc comment. | 85 |
![]() |
javadoc | JavadocVariable | Missing a Javadoc comment. | 85 |
![]() |
javadoc | JavadocVariable | Missing a Javadoc comment. | 85 |
![]() |
javadoc | JavadocVariable | Missing a Javadoc comment. | 85 |
![]() |
sizes | LineLength | Line is longer than 80 characters (found 187). | 108 |
![]() |
sizes | ParameterNumber | More than 7 parameters (found 10). | 108 |
![]() |
misc | FinalParameters | Parameter id should be final. | 108 |
![]() |
coding | HiddenField | 'id' hides a field. | 108 |
![]() |
misc | FinalParameters | Parameter name should be final. | 108 |
![]() |
coding | HiddenField | 'name' hides a field. | 108 |
![]() |
misc | FinalParameters | Parameter description should be final. | 108 |
![]() |
coding | HiddenField | 'description' hides a field. | 108 |
![]() |
misc | FinalParameters | Parameter category should be final. | 108 |
![]() |
coding | HiddenField | 'category' hides a field. | 108 |
![]() |
misc | FinalParameters | Parameter status should be final. | 108 |
![]() |
coding | HiddenField | 'status' hides a field. | 108 |
![]() |
misc | FinalParameters | Parameter owner should be final. | 108 |
![]() |
coding | HiddenField | 'owner' hides a field. | 108 |
![]() |
misc | FinalParameters | Parameter purchaseDate should be final. | 108 |
![]() |
coding | HiddenField | 'purchaseDate' hides a field. | 108 |
![]() |
misc | FinalParameters | Parameter purchasePrice should be final. | 108 |
![]() |
coding | HiddenField | 'purchasePrice' hides a field. | 108 |
![]() |
misc | FinalParameters | Parameter condition should be final. | 108 |
![]() |
coding | HiddenField | 'condition' hides a field. | 108 |
![]() |
misc | FinalParameters | Parameter image should be final. | 108 |
![]() |
coding | HiddenField | 'image' hides a field. | 108 |
![]() |
misc | FinalParameters | Parameter id should be final. | 137 |
![]() |
coding | HiddenField | 'id' hides a field. | 137 |
![]() |
misc | FinalParameters | Parameter name should be final. | 155 |
![]() |
coding | HiddenField | 'name' hides a field. | 155 |
![]() |
misc | FinalParameters | Parameter description should be final. | 173 |
![]() |
coding | HiddenField | 'description' hides a field. | 173 |
![]() |
misc | FinalParameters | Parameter category should be final. | 191 |
![]() |
coding | HiddenField | 'category' hides a field. | 191 |
![]() |
misc | FinalParameters | Parameter status should be final. | 209 |
![]() |
coding | HiddenField | 'status' hides a field. | 209 |
![]() |
misc | FinalParameters | Parameter owner should be final. | 227 |
![]() |
coding | HiddenField | 'owner' hides a field. | 227 |
![]() |
misc | FinalParameters | Parameter purchaseDate should be final. | 245 |
![]() |
coding | HiddenField | 'purchaseDate' hides a field. | 245 |
![]() |
misc | FinalParameters | Parameter purchasePrice should be final. | 263 |
![]() |
coding | HiddenField | 'purchasePrice' hides a field. | 263 |
![]() |
misc | FinalParameters | Parameter condition should be final. | 281 |
![]() |
coding | HiddenField | 'condition' hides a field. | 281 |
![]() |
misc | FinalParameters | Parameter image should be final. | 299 |
![]() |
coding | HiddenField | 'image' hides a field. | 299 |
![]() |
whitespace | OperatorWrap | '+' should be on a new line. | 310 |
![]() |
whitespace | OperatorWrap | '+' should be on a new line. | 311 |
![]() |
whitespace | OperatorWrap | '+' should be on a new line. | 312 |
![]() |
whitespace | OperatorWrap | '+' should be on a new line. | 313 |
![]() |
whitespace | OperatorWrap | '+' should be on a new line. | 314 |
![]() |
whitespace | OperatorWrap | '+' should be on a new line. | 315 |
![]() |
whitespace | OperatorWrap | '+' should be on a new line. | 316 |
![]() |
whitespace | OperatorWrap | '+' should be on a new line. | 317 |
![]() |
whitespace | OperatorWrap | '+' should be on a new line. | 318 |
![]() |
whitespace | OperatorWrap | '+' should be on a new line. | 319 |
![]() |
whitespace | OperatorWrap | '+' should be on a new line. | 320 |
com/student_loan/model/Loan.java
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
![]() |
imports | AvoidStarImport | Using the '.*' form of import should be avoided - jakarta.persistence.*. | 4 |
![]() |
sizes | LineLength | Line is longer than 80 characters (found 93). | 8 |
![]() |
javadoc | JavadocVariable | Missing a Javadoc comment. | 82 |
![]() |
javadoc | JavadocVariable | Missing a Javadoc comment. | 82 |
![]() |
javadoc | JavadocVariable | Missing a Javadoc comment. | 82 |
![]() |
javadoc | JavadocVariable | Missing a Javadoc comment. | 82 |
![]() |
sizes | LineLength | Line is longer than 80 characters (found 84). | 103 |
![]() |
sizes | LineLength | Line is longer than 80 characters (found 182). | 105 |
![]() |
sizes | ParameterNumber | More than 7 parameters (found 10). | 105 |
![]() |
misc | FinalParameters | Parameter id should be final. | 105 |
![]() |
coding | HiddenField | 'id' hides a field. | 105 |
![]() |
misc | FinalParameters | Parameter lender should be final. | 105 |
![]() |
coding | HiddenField | 'lender' hides a field. | 105 |
![]() |
misc | FinalParameters | Parameter borrower should be final. | 105 |
![]() |
coding | HiddenField | 'borrower' hides a field. | 105 |
![]() |
misc | FinalParameters | Parameter item should be final. | 105 |
![]() |
coding | HiddenField | 'item' hides a field. | 105 |
![]() |
misc | FinalParameters | Parameter loanDate should be final. | 105 |
![]() |
coding | HiddenField | 'loanDate' hides a field. | 105 |
![]() |
misc | FinalParameters | Parameter estimatedReturnDate should be final. | 105 |
![]() |
coding | HiddenField | 'estimatedReturnDate' hides a field. | 105 |
![]() |
misc | FinalParameters | Parameter realReturnDate should be final. | 105 |
![]() |
coding | HiddenField | 'realReturnDate' hides a field. | 105 |
![]() |
misc | FinalParameters | Parameter loanStatus should be final. | 105 |
![]() |
coding | HiddenField | 'loanStatus' hides a field. | 105 |
![]() |
misc | FinalParameters | Parameter rating should be final. | 105 |
![]() |
coding | HiddenField | 'rating' hides a field. | 105 |
![]() |
misc | FinalParameters | Parameter observations should be final. | 105 |
![]() |
coding | HiddenField | 'observations' hides a field. | 105 |
![]() |
misc | FinalParameters | Parameter id should be final. | 132 |
![]() |
coding | HiddenField | 'id' hides a field. | 132 |
![]() |
misc | FinalParameters | Parameter lender should be final. | 150 |
![]() |
coding | HiddenField | 'lender' hides a field. | 150 |
![]() |
misc | FinalParameters | Parameter borrower should be final. | 168 |
![]() |
coding | HiddenField | 'borrower' hides a field. | 168 |
![]() |
misc | FinalParameters | Parameter item should be final. | 186 |
![]() |
coding | HiddenField | 'item' hides a field. | 186 |
![]() |
misc | FinalParameters | Parameter loanDate should be final. | 204 |
![]() |
coding | HiddenField | 'loanDate' hides a field. | 204 |
![]() |
whitespace | FileTabCharacter | File contains tab characters (this is the first instance). | 214 |
![]() |
misc | FinalParameters | Parameter estimatedReturnDate should be final. | 225 |
![]() |
coding | HiddenField | 'estimatedReturnDate' hides a field. | 225 |
![]() |
misc | FinalParameters | Parameter realReturnDate should be final. | 246 |
![]() |
coding | HiddenField | 'realReturnDate' hides a field. | 246 |
![]() |
misc | FinalParameters | Parameter loanStatus should be final. | 264 |
![]() |
coding | HiddenField | 'loanStatus' hides a field. | 264 |
![]() |
misc | FinalParameters | Parameter rating should be final. | 282 |
![]() |
coding | HiddenField | 'rating' hides a field. | 282 |
![]() |
misc | FinalParameters | Parameter observations should be final. | 300 |
![]() |
coding | HiddenField | 'observations' hides a field. | 300 |
![]() |
whitespace | OperatorWrap | '+' should be on a new line. | 311 |
![]() |
whitespace | OperatorWrap | '+' should be on a new line. | 312 |
![]() |
whitespace | OperatorWrap | '+' should be on a new line. | 313 |
![]() |
whitespace | OperatorWrap | '+' should be on a new line. | 314 |
![]() |
whitespace | OperatorWrap | '+' should be on a new line. | 315 |
![]() |
whitespace | OperatorWrap | '+' should be on a new line. | 316 |
![]() |
whitespace | OperatorWrap | '+' should be on a new line. | 317 |
![]() |
whitespace | OperatorWrap | '+' should be on a new line. | 318 |
![]() |
whitespace | OperatorWrap | '+' should be on a new line. | 319 |
![]() |
whitespace | OperatorWrap | '+' should be on a new line. | 320 |
![]() |
whitespace | OperatorWrap | '+' should be on a new line. | 321 |
com/student_loan/model/User.java
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
![]() |
imports | AvoidStarImport | Using the '.*' form of import should be avoided - jakarta.persistence.*. | 4 |
![]() |
sizes | LineLength | Line is longer than 80 characters (found 93). | 7 |
![]() |
javadoc | JavadocVariable | Missing a Javadoc comment. | 79 |
![]() |
javadoc | JavadocVariable | Missing a Javadoc comment. | 80 |
![]() |
javadoc | JavadocVariable | Missing a Javadoc comment. | 81 |
![]() |
sizes | LineLength | Line is longer than 80 characters (found 90). | 100 |
![]() |
sizes | LineLength | Line is longer than 80 characters (found 92). | 105 |
![]() |
sizes | ParameterNumber | More than 7 parameters (found 11). | 105 |
![]() |
misc | FinalParameters | Parameter id should be final. | 105 |
![]() |
coding | HiddenField | 'id' hides a field. | 105 |
![]() |
misc | FinalParameters | Parameter name should be final. | 105 |
![]() |
coding | HiddenField | 'name' hides a field. | 105 |
![]() |
misc | FinalParameters | Parameter email should be final. | 105 |
![]() |
coding | HiddenField | 'email' hides a field. | 105 |
![]() |
misc | FinalParameters | Parameter password should be final. | 105 |
![]() |
coding | HiddenField | 'password' hides a field. | 105 |
![]() |
misc | FinalParameters | Parameter telephoneNumber should be final. | 105 |
![]() |
coding | HiddenField | 'telephoneNumber' hides a field. | 105 |
![]() |
sizes | LineLength | Line is longer than 80 characters (found 93). | 106 |
![]() |
misc | FinalParameters | Parameter address should be final. | 106 |
![]() |
coding | HiddenField | 'address' hides a field. | 106 |
![]() |
misc | FinalParameters | Parameter degreeType should be final. | 106 |
![]() |
coding | HiddenField | 'degreeType' hides a field. | 106 |
![]() |
misc | FinalParameters | Parameter degreeYear should be final. | 106 |
![]() |
coding | HiddenField | 'degreeYear' hides a field. | 106 |
![]() |
misc | FinalParameters | Parameter penalties should be final. | 106 |
![]() |
coding | HiddenField | 'penalties' hides a field. | 106 |
![]() |
misc | FinalParameters | Parameter averageRating should be final. | 107 |
![]() |
coding | HiddenField | 'averageRating' hides a field. | 107 |
![]() |
misc | FinalParameters | Parameter admin should be final. | 107 |
![]() |
coding | HiddenField | 'admin' hides a field. | 107 |
![]() |
misc | FinalParameters | Parameter id should be final. | 135 |
![]() |
coding | HiddenField | 'id' hides a field. | 135 |
![]() |
misc | FinalParameters | Parameter name should be final. | 153 |
![]() |
coding | HiddenField | 'name' hides a field. | 153 |
![]() |
misc | FinalParameters | Parameter email should be final. | 171 |
![]() |
coding | HiddenField | 'email' hides a field. | 171 |
![]() |
misc | FinalParameters | Parameter password should be final. | 189 |
![]() |
coding | HiddenField | 'password' hides a field. | 189 |
![]() |
misc | FinalParameters | Parameter telephoneNumber should be final. | 207 |
![]() |
coding | HiddenField | 'telephoneNumber' hides a field. | 207 |
![]() |
misc | FinalParameters | Parameter address should be final. | 225 |
![]() |
coding | HiddenField | 'address' hides a field. | 225 |
![]() |
misc | FinalParameters | Parameter degreeType should be final. | 243 |
![]() |
coding | HiddenField | 'degreeType' hides a field. | 243 |
![]() |
sizes | LineLength | Line is longer than 80 characters (found 86). | 259 |
![]() |
misc | FinalParameters | Parameter degreeYear should be final. | 261 |
![]() |
coding | HiddenField | 'degreeYear' hides a field. | 261 |
![]() |
misc | FinalParameters | Parameter penalties should be final. | 279 |
![]() |
coding | HiddenField | 'penalties' hides a field. | 279 |
![]() |
misc | FinalParameters | Parameter averageRating should be final. | 297 |
![]() |
coding | HiddenField | 'averageRating' hides a field. | 297 |
![]() |
misc | FinalParameters | Parameter admin should be final. | 315 |
![]() |
coding | HiddenField | 'admin' hides a field. | 315 |
![]() |
whitespace | OperatorWrap | '+' should be on a new line. | 326 |
![]() |
whitespace | OperatorWrap | '+' should be on a new line. | 327 |
![]() |
whitespace | OperatorWrap | '+' should be on a new line. | 328 |
![]() |
whitespace | OperatorWrap | '+' should be on a new line. | 329 |
![]() |
whitespace | OperatorWrap | '+' should be on a new line. | 330 |
![]() |
whitespace | OperatorWrap | '+' should be on a new line. | 331 |
![]() |
whitespace | OperatorWrap | '+' should be on a new line. | 332 |
![]() |
whitespace | OperatorWrap | '+' should be on a new line. | 333 |
![]() |
whitespace | OperatorWrap | '+' should be on a new line. | 334 |
![]() |
whitespace | OperatorWrap | '+' should be on a new line. | 335 |
![]() |
whitespace | OperatorWrap | '+' should be on a new line. | 336 |
![]() |
whitespace | OperatorWrap | '+' should be on a new line. | 337 |
![]() |
design | DesignForExtension | Class 'User' looks like designed for extension (can be subclassed), but the method 'hasPenalty' does not have javadoc that explains how to do that safely. If class is not designed for extension consider making the class 'User' final or making the method 'hasPenalty' static/final/abstract/empty, or adding allowed annotation for the method. | 341 |
![]() |
javadoc | MissingJavadocMethod | Missing a Javadoc comment. | 341 |
com/student_loan/repository/ItemRepository.java
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
![]() |
javadoc | JavadocPackage | Missing package-info.java file. | 1 |
![]() |
whitespace | FileTabCharacter | File contains tab characters (this is the first instance). | 11 |
![]() |
javadoc | MissingJavadocMethod | Missing a Javadoc comment. | 11 |
![]() |
javadoc | MissingJavadocMethod | Missing a Javadoc comment. | 12 |
![]() |
javadoc | MissingJavadocMethod | Missing a Javadoc comment. | 14 |
com/student_loan/repository/LoanRepository.java
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
![]() |
misc | NewlineAtEndOfFile | File does not end with a newline. | 1 |
![]() |
javadoc | MissingJavadocMethod | Missing a Javadoc comment. | 13 |
![]() |
javadoc | MissingJavadocMethod | Missing a Javadoc comment. | 14 |
![]() |
javadoc | MissingJavadocMethod | Missing a Javadoc comment. | 15 |
![]() |
javadoc | MissingJavadocMethod | Missing a Javadoc comment. | 16 |
![]() |
javadoc | MissingJavadocMethod | Missing a Javadoc comment. | 17 |
![]() |
sizes | LineLength | Line is longer than 80 characters (found 99). | 18 |
![]() |
javadoc | MissingJavadocMethod | Missing a Javadoc comment. | 18 |
![]() |
javadoc | MissingJavadocMethod | Missing a Javadoc comment. | 19 |
com/student_loan/repository/UserRepository.java
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
![]() |
javadoc | MissingJavadocMethod | Missing a Javadoc comment. | 14 |
![]() |
javadoc | MissingJavadocMethod | Missing a Javadoc comment. | 26 |
com/student_loan/security/JwtFilter.java
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
![]() |
javadoc | JavadocVariable | Missing a Javadoc comment. | 19 |
![]() |
javadoc | MissingJavadocMethod | Missing a Javadoc comment. | 21 |
![]() |
misc | FinalParameters | Parameter jwtUtil should be final. | 21 |
![]() |
coding | HiddenField | 'jwtUtil' hides a field. | 21 |
![]() |
design | DesignForExtension | Class 'JwtFilter' looks like designed for extension (can be subclassed), but the method 'doFilterInternal' does not have javadoc that explains how to do that safely. If class is not designed for extension consider making the class 'JwtFilter' final or making the method 'doFilterInternal' static/final/abstract/empty, or adding allowed annotation for the method. | 25 |
![]() |
misc | FinalParameters | Parameter request should be final. | 26 |
![]() |
misc | FinalParameters | Parameter response should be final. | 27 |
![]() |
sizes | LineLength | Line is longer than 80 characters (found 99). | 28 |
![]() |
misc | FinalParameters | Parameter filterChain should be final. | 28 |
![]() |
coding | MagicNumber | '7' is a magic number. | 33 |
![]() |
sizes | LineLength | Line is longer than 80 characters (found 102). | 38 |
![]() |
sizes | LineLength | Line is longer than 80 characters (found 109). | 40 |
![]() |
sizes | LineLength | Line is longer than 80 characters (found 102). | 43 |
![]() |
sizes | LineLength | Line is longer than 80 characters (found 85). | 45 |
com/student_loan/security/JwtUtil.java
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
![]() |
misc | NewlineAtEndOfFile | File does not end with a newline. | 1 |
![]() |
javadoc | JavadocPackage | Missing package-info.java file. | 1 |
![]() |
imports | AvoidStarImport | Using the '.*' form of import should be avoided - io.jsonwebtoken.*. | 3 |
![]() |
imports | UnusedImports | Unused import - javax.crypto.SecretKey. | 9 |
![]() |
sizes | LineLength | Line is longer than 80 characters (found 96). | 17 |
![]() |
javadoc | JavadocVariable | Missing a Javadoc comment. | 17 |
![]() |
sizes | LineLength | Line is longer than 80 characters (found 81). | 18 |
![]() |
javadoc | JavadocVariable | Missing a Javadoc comment. | 18 |
![]() |
sizes | LineLength | Line is longer than 80 characters (found 87). | 20 |
![]() |
javadoc | JavadocVariable | Missing a Javadoc comment. | 20 |
![]() |
design | DesignForExtension | Class 'JwtUtil' looks like designed for extension (can be subclassed), but the method 'generateToken' does not have javadoc that explains how to do that safely. If class is not designed for extension consider making the class 'JwtUtil' final or making the method 'generateToken' static/final/abstract/empty, or adding allowed annotation for the method. | 22 |
![]() |
javadoc | MissingJavadocMethod | Missing a Javadoc comment. | 22 |
![]() |
misc | FinalParameters | Parameter email should be final. | 22 |
![]() |
sizes | LineLength | Line is longer than 80 characters (found 86). | 26 |
![]() |
design | DesignForExtension | Class 'JwtUtil' looks like designed for extension (can be subclassed), but the method 'extractEmail' does not have javadoc that explains how to do that safely. If class is not designed for extension consider making the class 'JwtUtil' final or making the method 'extractEmail' static/final/abstract/empty, or adding allowed annotation for the method. | 31 |
![]() |
javadoc | MissingJavadocMethod | Missing a Javadoc comment. | 31 |
![]() |
misc | FinalParameters | Parameter token should be final. | 31 |
![]() |
design | DesignForExtension | Class 'JwtUtil' looks like designed for extension (can be subclassed), but the method 'validateToken' does not have javadoc that explains how to do that safely. If class is not designed for extension consider making the class 'JwtUtil' final or making the method 'validateToken' static/final/abstract/empty, or adding allowed annotation for the method. | 40 |
![]() |
javadoc | MissingJavadocMethod | Missing a Javadoc comment. | 40 |
![]() |
misc | FinalParameters | Parameter token should be final. | 40 |
![]() |
sizes | LineLength | Line is longer than 80 characters (found 82). | 42 |
com/student_loan/service/ItemService.java
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
![]() |
javadoc | JavadocVariable | Missing a Javadoc comment. | 25 |
![]() |
javadoc | JavadocVariable | Missing a Javadoc comment. | 27 |
![]() |
javadoc | JavadocVariable | Missing a Javadoc comment. | 29 |
![]() |
regexp | RegexpSingleline | Line has trailing spaces. | 31 |
![]() |
whitespace | FileTabCharacter | File contains tab characters (this is the first instance). | 46 |
![]() |
misc | FinalParameters | Parameter id should be final. | 56 |
![]() |
misc | FinalParameters | Parameter itemsId should be final. | 66 |
![]() |
regexp | RegexpSingleline | Line has trailing spaces. | 74 |
![]() |
regexp | RegexpSingleline | Line has trailing spaces. | 82 |
![]() |
misc | FinalParameters | Parameter id should be final. | 83 |
![]() |
whitespace | WhitespaceAround | '{' is not preceded with whitespace. | 83 |
![]() |
whitespace | WhitespaceAfter | 'if' is not followed by whitespace. | 84 |
![]() |
whitespace | WhitespaceAround | '}' is not followed by whitespace. | 86 |
![]() |
whitespace | WhitespaceAround | 'else' is not preceded with whitespace. | 86 |
![]() |
sizes | LineLength | Line is longer than 80 characters (found 97). | 87 |
![]() |
regexp | RegexpSingleline | Line has trailing spaces. | 90 |
![]() |
javadoc | JavadocMethod | Unused @param tag for 'item'. | 94 |
![]() |
misc | FinalParameters | Parameter status should be final. | 98 |
![]() |
javadoc | JavadocMethod | Expected @param tag for 'status'. | 98 |
![]() |
design | DesignForExtension | Class 'ItemService' looks like designed for extension (can be subclassed), but the method 'saveItem' does not have javadoc that explains how to do that safely. If class is not designed for extension consider making the class 'ItemService' final or making the method 'saveItem' static/final/abstract/empty, or adding allowed annotation for the method. | 101 |
![]() |
javadoc | MissingJavadocMethod | Missing a Javadoc comment. | 101 |
![]() |
misc | FinalParameters | Parameter item should be final. | 101 |
![]() |
whitespace | WhitespaceAfter | 'if' is not followed by whitespace. | 102 |
![]() |
sizes | LineLength | Line is longer than 80 characters (found 137). | 103 |
![]() |
whitespace | WhitespaceAround | '+' is not preceded with whitespace. | 103 |
![]() |
whitespace | WhitespaceAround | '+' is not followed by whitespace. | 103 |
![]() |
whitespace | WhitespaceAround | '+' is not preceded with whitespace. | 103 |
![]() |
whitespace | WhitespaceAround | '}' is not followed by whitespace. | 104 |
![]() |
whitespace | WhitespaceAround | 'else' is not preceded with whitespace. | 104 |
![]() |
design | DesignForExtension | Class 'ItemService' looks like designed for extension (can be subclassed), but the method 'getItemsLentByUserWithActiveLoans' does not have javadoc that explains how to do that safely. If class is not designed for extension consider making the class 'ItemService' final or making the method 'getItemsLentByUserWithActiveLoans' static/final/abstract/empty, or adding allowed annotation for the method. | 109 |
![]() |
javadoc | MissingJavadocMethod | Missing a Javadoc comment. | 109 |
![]() |
misc | FinalParameters | Parameter userId should be final. | 109 |
![]() |
sizes | LineLength | Line is longer than 80 characters (found 96). | 110 |
![]() |
regexp | RegexpSingleline | Line has trailing spaces. | 111 |
![]() |
sizes | LineLength | Line is longer than 80 characters (found 103). | 115 |
![]() |
sizes | LineLength | Line is longer than 80 characters (found 84). | 130 |
![]() |
design | DesignForExtension | Class 'ItemService' looks like designed for extension (can be subclassed), but the method 'getItemsBorrowedByUserWithActiveLoans' does not have javadoc that explains how to do that safely. If class is not designed for extension consider making the class 'ItemService' final or making the method 'getItemsBorrowedByUserWithActiveLoans' static/final/abstract/empty, or adding allowed annotation for the method. | 130 |
![]() |
javadoc | MissingJavadocMethod | Missing a Javadoc comment. | 130 |
![]() |
misc | FinalParameters | Parameter userId should be final. | 130 |
![]() |
sizes | LineLength | Line is longer than 80 characters (found 98). | 131 |
![]() |
regexp | RegexpSingleline | Line has trailing spaces. | 132 |
![]() |
sizes | LineLength | Line is longer than 80 characters (found 103). | 136 |
![]() |
regexp | RegexpSingleline | Line has trailing spaces. | 150 |
![]() |
sizes | LineLength | Line is longer than 80 characters (found 84). | 156 |
![]() |
regexp | RegexpSingleline | Line has trailing spaces. | 159 |
![]() |
misc | FinalParameters | Parameter item should be final. | 160 |
![]() |
sizes | LineLength | Line is longer than 80 characters (found 84). | 161 |
![]() |
sizes | LineLength | Line is longer than 80 characters (found 140). | 164 |
![]() |
sizes | LineLength | Line is longer than 80 characters (found 81). | 165 |
![]() |
whitespace | WhitespaceAround | '}' is not followed by whitespace. | 165 |
![]() |
whitespace | WhitespaceAround | 'else' is not preceded with whitespace. | 165 |
![]() |
whitespace | WhitespaceAfter | 'if' is not followed by whitespace. | 165 |
![]() |
sizes | LineLength | Line is longer than 80 characters (found 137). | 166 |
![]() |
whitespace | WhitespaceAround | '+' is not preceded with whitespace. | 166 |
![]() |
whitespace | WhitespaceAround | '+' is not followed by whitespace. | 166 |
![]() |
whitespace | WhitespaceAround | '+' is not preceded with whitespace. | 166 |
![]() |
regexp | RegexpSingleline | Line has trailing spaces. | 170 |
![]() |
regexp | RegexpSingleline | Line has trailing spaces. | 171 |
![]() |
misc | FinalParameters | Parameter id should be final. | 177 |
com/student_loan/service/LoanService.java
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
![]() |
imports | RedundantImport | Duplicate import to line 9 - com.student_loan.model.Item. | 14 |
![]() |
imports | UnusedImports | Unused import - java.time.LocalDate. | 22 |
![]() |
imports | UnusedImports | Unused import - java.time.ZoneId. | 23 |
![]() |
whitespace | FileTabCharacter | File contains tab characters (this is the first instance). | 29 |
![]() |
javadoc | JavadocVariable | Missing a Javadoc comment. | 29 |
![]() |
javadoc | JavadocVariable | Missing a Javadoc comment. | 31 |
![]() |
javadoc | JavadocVariable | Missing a Javadoc comment. | 33 |
![]() |
javadoc | JavadocVariable | Missing a Javadoc comment. | 35 |
![]() |
regexp | RegexpSingleline | Line has trailing spaces. | 38 |
![]() |
sizes | LineLength | Line is longer than 80 characters (found 108). | 39 |
![]() |
javadoc | JavadocVariable | Missing a Javadoc comment. | 39 |
![]() |
naming | ConstantName | Name 'logger' must match pattern '^[A-Z][A-Z0-9]*(_[A-Z0-9]+)*$'. | 39 |
![]() |
regexp | RegexpSingleline | Line has trailing spaces. | 40 |
![]() |
design | DesignForExtension | Class 'LoanService' looks like designed for extension (can be subclassed), but the method 'getAllLoans' does not have javadoc that explains how to do that safely. If class is not designed for extension consider making the class 'LoanService' final or making the method 'getAllLoans' static/final/abstract/empty, or adding allowed annotation for the method. | 41 |
![]() |
javadoc | MissingJavadocMethod | Missing a Javadoc comment. | 41 |
![]() |
design | DesignForExtension | Class 'LoanService' looks like designed for extension (can be subclassed), but the method 'getLoanById' does not have javadoc that explains how to do that safely. If class is not designed for extension consider making the class 'LoanService' final or making the method 'getLoanById' static/final/abstract/empty, or adding allowed annotation for the method. | 45 |
![]() |
javadoc | MissingJavadocMethod | Missing a Javadoc comment. | 45 |
![]() |
misc | FinalParameters | Parameter id should be final. | 45 |
![]() |
design | DesignForExtension | Class 'LoanService' looks like designed for extension (can be subclassed), but the method 'getLoansByLender' does not have javadoc that explains how to do that safely. If class is not designed for extension consider making the class 'LoanService' final or making the method 'getLoansByLender' static/final/abstract/empty, or adding allowed annotation for the method. | 49 |
![]() |
javadoc | MissingJavadocMethod | Missing a Javadoc comment. | 49 |
![]() |
misc | FinalParameters | Parameter userId should be final. | 49 |
![]() |
design | DesignForExtension | Class 'LoanService' looks like designed for extension (can be subclassed), but the method 'getLoansByBorrower' does not have javadoc that explains how to do that safely. If class is not designed for extension consider making the class 'LoanService' final or making the method 'getLoansByBorrower' static/final/abstract/empty, or adding allowed annotation for the method. | 53 |
![]() |
javadoc | MissingJavadocMethod | Missing a Javadoc comment. | 53 |
![]() |
misc | FinalParameters | Parameter userId should be final. | 53 |
![]() |
design | DesignForExtension | Class 'LoanService' looks like designed for extension (can be subclassed), but the method 'getLentItemsIdByUser' does not have javadoc that explains how to do that safely. If class is not designed for extension consider making the class 'LoanService' final or making the method 'getLentItemsIdByUser' static/final/abstract/empty, or adding allowed annotation for the method. | 57 |
![]() |
javadoc | MissingJavadocMethod | Missing a Javadoc comment. | 57 |
![]() |
misc | FinalParameters | Parameter userId should be final. | 57 |
![]() |
sizes | LineLength | Line is longer than 80 characters (found 91). | 58 |
![]() |
design | DesignForExtension | Class 'LoanService' looks like designed for extension (can be subclassed), but the method 'getBorrowedItemsIdByUser' does not have javadoc that explains how to do that safely. If class is not designed for extension consider making the class 'LoanService' final or making the method 'getBorrowedItemsIdByUser' static/final/abstract/empty, or adding allowed annotation for the method. | 66 |
![]() |
javadoc | MissingJavadocMethod | Missing a Javadoc comment. | 66 |
![]() |
misc | FinalParameters | Parameter userId should be final. | 66 |
![]() |
sizes | LineLength | Line is longer than 80 characters (found 93). | 67 |
![]() |
design | DesignForExtension | Class 'LoanService' looks like designed for extension (can be subclassed), but the method 'saveLoan' does not have javadoc that explains how to do that safely. If class is not designed for extension consider making the class 'LoanService' final or making the method 'saveLoan' static/final/abstract/empty, or adding allowed annotation for the method. | 76 |
![]() |
javadoc | MissingJavadocMethod | Missing a Javadoc comment. | 76 |
![]() |
misc | FinalParameters | Parameter loan should be final. | 76 |
![]() |
sizes | LineLength | Line is longer than 80 characters (found 138). | 80 |
![]() |
sizes | LineLength | Line is longer than 80 characters (found 81). | 84 |
![]() |
sizes | LineLength | Line is longer than 80 characters (found 142). | 86 |
![]() |
sizes | LineLength | Line is longer than 80 characters (found 134). | 100 |
![]() |
sizes | LineLength | Line is longer than 80 characters (found 81). | 104 |
![]() |
coding | MagicNumber | '3' is a magic number. | 107 |
![]() |
sizes | LineLength | Line is longer than 80 characters (found 145). | 110 |
![]() |
design | DesignForExtension | Class 'LoanService' looks like designed for extension (can be subclassed), but the method 'returnLoan' does not have javadoc that explains how to do that safely. If class is not designed for extension consider making the class 'LoanService' final or making the method 'returnLoan' static/final/abstract/empty, or adding allowed annotation for the method. | 125 |
![]() |
javadoc | MissingJavadocMethod | Missing a Javadoc comment. | 125 |
![]() |
misc | FinalParameters | Parameter itemId should be final. | 125 |
![]() |
misc | FinalParameters | Parameter borrowerId should be final. | 125 |
![]() |
sizes | LineLength | Line is longer than 80 characters (found 88). | 126 |
![]() |
regexp | RegexpSingleline | Line has trailing spaces. | 145 |
![]() |
sizes | LineLength | Line is longer than 80 characters (found 81). | 147 |
![]() |
whitespace | WhitespaceAround | '=' is not preceded with whitespace. | 149 |
![]() |
whitespace | WhitespaceAfter | 'if' is not followed by whitespace. | 151 |
![]() |
whitespace | WhitespaceAround | '!=' is not followed by whitespace. | 151 |
![]() |
whitespace | WhitespaceAround | '!=' is not preceded with whitespace. | 151 |
![]() |
whitespace | WhitespaceAround | '+' is not followed by whitespace. | 152 |
![]() |
whitespace | WhitespaceAround | '+' is not preceded with whitespace. | 152 |
![]() |
coding | MagicNumber | '0.1' is a magic number. | 152 |
![]() |
coding | MagicNumber | '5' is a magic number. | 153 |
![]() |
coding | MagicNumber | '5' is a magic number. | 154 |
![]() |
regexp | RegexpSingleline | Line has trailing spaces. | 157 |
![]() |
regexp | RegexpSingleline | Line has trailing spaces. | 161 |
![]() |
sizes | LineLength | Line is longer than 80 characters (found 130). | 163 |
![]() |
whitespace | WhitespaceAfter | 'if' is not followed by whitespace. | 163 |
![]() |
sizes | LineLength | Line is longer than 80 characters (found 125). | 164 |
![]() |
sizes | LineLength | Line is longer than 80 characters (found 128). | 165 |
![]() |
sizes | LineLength | Line is longer than 80 characters (found 126). | 166 |
![]() |
sizes | LineLength | Line is longer than 80 characters (found 105). | 167 |
![]() |
sizes | LineLength | Line is longer than 80 characters (found 90). | 168 |
![]() |
sizes | LineLength | Line is longer than 80 characters (found 127). | 170 |
![]() |
sizes | LineLength | Line is longer than 80 characters (found 127). | 171 |
![]() |
sizes | LineLength | Line is longer than 80 characters (found 142). | 172 |
![]() |
sizes | LineLength | Line is longer than 80 characters (found 128). | 173 |
![]() |
regexp | RegexpSingleline | Line has trailing spaces. | 180 |
![]() |
regexp | RegexpSingleline | Line has trailing spaces. | 181 |
![]() |
design | DesignForExtension | Class 'LoanService' looks like designed for extension (can be subclassed), but the method 'createLoan' does not have javadoc that explains how to do that safely. If class is not designed for extension consider making the class 'LoanService' final or making the method 'createLoan' static/final/abstract/empty, or adding allowed annotation for the method. | 184 |
![]() |
javadoc | MissingJavadocMethod | Missing a Javadoc comment. | 184 |
![]() |
misc | FinalParameters | Parameter loan should be final. | 184 |
![]() |
sizes | LineLength | Line is longer than 80 characters (found 91). | 187 |
![]() |
sizes | LineLength | Line is longer than 80 characters (found 87). | 193 |
![]() |
sizes | LineLength | Line is longer than 80 characters (found 91). | 197 |
![]() |
sizes | LineLength | Line is longer than 80 characters (found 83). | 200 |
![]() |
sizes | LineLength | Line is longer than 80 characters (found 83). | 205 |
![]() |
sizes | LineLength | Line is longer than 80 characters (found 81). | 207 |
![]() |
sizes | LineLength | Line is longer than 80 characters (found 110). | 208 |
![]() |
coding | MagicNumber | '3' is a magic number. | 209 |
![]() |
sizes | LineLength | Line is longer than 80 characters (found 97). | 211 |
![]() |
whitespace | OperatorWrap | '+' should be on a new line. | 221 |
![]() |
whitespace | OperatorWrap | '+' should be on a new line. | 222 |
![]() |
whitespace | OperatorWrap | '+' should be on a new line. | 223 |
![]() |
whitespace | OperatorWrap | '+' should be on a new line. | 230 |
![]() |
whitespace | OperatorWrap | '+' should be on a new line. | 231 |
![]() |
whitespace | OperatorWrap | '+' should be on a new line. | 232 |
![]() |
regexp | RegexpSingleline | Line has trailing spaces. | 238 |
![]() |
design | DesignForExtension | Class 'LoanService' looks like designed for extension (can be subclassed), but the method 'deleteLoan' does not have javadoc that explains how to do that safely. If class is not designed for extension consider making the class 'LoanService' final or making the method 'deleteLoan' static/final/abstract/empty, or adding allowed annotation for the method. | 239 |
![]() |
javadoc | MissingJavadocMethod | Missing a Javadoc comment. | 239 |
![]() |
misc | FinalParameters | Parameter id should be final. | 239 |
![]() |
regexp | RegexpSingleline | Line has trailing spaces. | 243 |
com/student_loan/service/NotificationService.java
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
![]() |
misc | NewlineAtEndOfFile | File does not end with a newline. | 1 |
![]() |
regexp | RegexpSingleline | Line has trailing spaces. | 14 |
![]() |
whitespace | FileTabCharacter | File contains tab characters (this is the first instance). | 14 |
![]() |
javadoc | JavadocVariable | Missing a Javadoc comment. | 15 |
![]() |
regexp | RegexpSingleline | Line has trailing spaces. | 17 |
![]() |
sizes | LineLength | Line is longer than 80 characters (found 92). | 19 |
![]() |
javadoc | JavadocVariable | Missing a Javadoc comment. | 19 |
![]() |
naming | ConstantName | Name 'logger' must match pattern '^[A-Z][A-Z0-9]*(_[A-Z0-9]+)*$'. | 19 |
![]() |
sizes | LineLength | Line is longer than 80 characters (found 81). | 21 |
![]() |
design | DesignForExtension | Class 'NotificationService' looks like designed for extension (can be subclassed), but the method 'enviarCorreo' does not have javadoc that explains how to do that safely. If class is not designed for extension consider making the class 'NotificationService' final or making the method 'enviarCorreo' static/final/abstract/empty, or adding allowed annotation for the method. | 21 |
![]() |
javadoc | MissingJavadocMethod | Missing a Javadoc comment. | 21 |
![]() |
misc | FinalParameters | Parameter destinatario should be final. | 21 |
![]() |
misc | FinalParameters | Parameter asunto should be final. | 21 |
![]() |
misc | FinalParameters | Parameter cuerpo should be final. | 21 |
![]() |
sizes | LineLength | Line is longer than 80 characters (found 85). | 29 |
![]() |
regexp | RegexpSingleline | Line has trailing spaces. | 32 |
com/student_loan/service/RankingService.java
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
![]() |
javadoc | JavadocVariable | Missing a Javadoc comment. | 11 |
![]() |
javadoc | MissingJavadocMethod | Missing a Javadoc comment. | 13 |
![]() |
misc | FinalParameters | Parameter userRepo should be final. | 13 |
![]() |
coding | HiddenField | 'userRepo' hides a field. | 13 |
![]() |
design | DesignForExtension | Class 'RankingService' looks like designed for extension (can be subclassed), but the method 'getRanking' does not have javadoc that explains how to do that safely. If class is not designed for extension consider making the class 'RankingService' final or making the method 'getRanking' static/final/abstract/empty, or adding allowed annotation for the method. | 17 |
![]() |
javadoc | MissingJavadocMethod | Missing a Javadoc comment. | 17 |
com/student_loan/service/UserService.java
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
![]() |
javadoc | JavadocPackage | Missing package-info.java file. | 1 |
![]() |
imports | UnusedImports | Unused import - com.student_loan.model.User.DegreeType. | 7 |
![]() |
javadoc | JavadocVariable | Missing a Javadoc comment. | 25 |
![]() |
regexp | RegexpSingleline | Line has trailing spaces. | 27 |
![]() |
javadoc | JavadocVariable | Missing a Javadoc comment. | 28 |
![]() |
javadoc | JavadocVariable | Missing a Javadoc comment. | 31 |
![]() |
regexp | RegexpSingleline | Line has trailing spaces. | 34 |
![]() |
javadoc | JavadocVariable | Missing a Javadoc comment. | 35 |
![]() |
javadoc | JavadocVariable | Missing a Javadoc comment. | 38 |
![]() |
whitespace | FileTabCharacter | File contains tab characters (this is the first instance). | 40 |
![]() |
regexp | RegexpSingleline | Line has trailing spaces. | 50 |
![]() |
javadoc | JavadocMethod | @return tag should be present and have description. | 54 |
![]() |
misc | FinalParameters | Parameter id should be final. | 54 |
![]() |
javadoc | JavadocMethod | Unused @param tag for 'updatedUserData'. | 62 |
![]() |
misc | FinalParameters | Parameter id should be final. | 66 |
![]() |
misc | FinalParameters | Parameter newData should be final. | 66 |
![]() |
javadoc | JavadocMethod | Expected @param tag for 'newData'. | 66 |
![]() |
regexp | RegexpSingleline | Line has trailing spaces. | 99 |
![]() |
sizes | LineLength | Line is longer than 80 characters (found 81). | 122 |
![]() |
misc | FinalParameters | Parameter user should be final. | 124 |
![]() |
whitespace | WhitespaceAfter | 'if' is not followed by whitespace. | 125 |
![]() |
whitespace | WhitespaceAround | '!=' is not followed by whitespace. | 125 |
![]() |
whitespace | WhitespaceAround | '!=' is not preceded with whitespace. | 125 |
![]() |
whitespace | WhitespaceAround | '}' is not followed by whitespace. | 127 |
![]() |
whitespace | WhitespaceAround | 'else' is not preceded with whitespace. | 127 |
![]() |
sizes | LineLength | Line is longer than 80 characters (found 98). | 128 |
![]() |
regexp | RegexpSingleline | Line has trailing spaces. | 134 |
![]() |
misc | FinalParameters | Parameter credentials should be final. | 141 |
![]() |
sizes | LineLength | Line is longer than 80 characters (found 108). | 145 |
![]() |
regexp | RegexpSingleline | Line has trailing spaces. | 153 |
![]() |
misc | FinalParameters | Parameter token should be final. | 161 |
![]() |
whitespace | WhitespaceAfter | 'if' is not followed by whitespace. | 162 |
![]() |
whitespace | WhitespaceAround | '}' is not followed by whitespace. | 165 |
![]() |
whitespace | WhitespaceAfter | 'else' is not followed by whitespace. | 165 |
![]() |
whitespace | WhitespaceAround | 'else' is not preceded with whitespace. | 165 |
![]() |
whitespace | WhitespaceAround | '{' is not preceded with whitespace. | 165 |
![]() |
whitespace | WhitespaceAfter | ';' is not followed by whitespace. | 166 |
![]() |
blocks | RightCurly | '}' at column 23 should have line break before. | 166 |
![]() |
whitespace | WhitespaceAround | '}' is not preceded with whitespace. | 166 |
![]() |
regexp | RegexpSingleline | Line has trailing spaces. | 168 |
![]() |
misc | FinalParameters | Parameter id should be final. | 175 |
![]() |
misc | FinalParameters | Parameter token should be final. | 189 |
![]() |
misc | FinalParameters | Parameter email should be final. | 199 |
com/student_loan/utils/ImageUtil.java
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
![]() |
javadoc | JavadocPackage | Missing package-info.java file. | 1 |
![]() |
imports | AvoidStarImport | Using the '.*' form of import should be avoided - java.nio.file.*. | 4 |
![]() |
design | HideUtilityClassConstructor | Utility classes should not have a public or default constructor. | 8 |
![]() |
sizes | LineLength | Line is longer than 80 characters (found 99). | 10 |
![]() |
javadoc | MissingJavadocMethod | Missing a Javadoc comment. | 10 |
![]() |
misc | FinalParameters | Parameter base64Image should be final. | 10 |
![]() |
misc | FinalParameters | Parameter uploadDir should be final. | 10 |
![]() |
sizes | LineLength | Line is longer than 80 characters (found 88). | 20 |