Checkstyle Results
The following document contains the results of Checkstyle 9.3 with sun_checks.xml ruleset.
Summary
Files | ![]() |
![]() |
![]() |
---|---|---|---|
34 | 0 | 0 | 1092 |
Files
Rules
Category | Rule | Violations | Severity |
---|---|---|---|
blocks | NeedBraces | 5 | ![]() |
coding | HiddenField | 56 | ![]() |
MagicNumber | 8 | ![]() | |
design | DesignForExtension | 53 | ![]() |
HideUtilityClassConstructor | 1 | ![]() | |
VisibilityModifier | 2 | ![]() | |
imports | AvoidStarImport | 2 | ![]() |
UnusedImports
|
1 | ![]() | |
javadoc | JavadocMethod | 188 | ![]() |
JavadocPackage | 6 | ![]() | |
JavadocStyle | 1 | ![]() | |
JavadocVariable | 46 | ![]() | |
MissingJavadocMethod | 61 | ![]() | |
misc | FinalParameters | 170 | ![]() |
NewlineAtEndOfFile | 5 | ![]() | |
Translation | 108 | ![]() | |
naming | ConstantName | 14 | ![]() |
ParameterName | 3 | ![]() | |
regexp | RegexpSingleline
|
154 | ![]() |
sizes | LineLength
|
148 | ![]() |
ParameterNumber | 6 | ![]() | |
whitespace | FileTabCharacter | 3 | ![]() |
NoWhitespaceBefore | 2 | ![]() | |
OperatorWrap | 24 | ![]() | |
WhitespaceAfter | 13 | ![]() | |
WhitespaceAround | 12 | ![]() |
Details
com/hospital/portal/HealthcarePortalApplication.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 |
![]() |
whitespace | FileTabCharacter | File contains tab characters (this is the first instance). | 9 |
![]() |
javadoc | MissingJavadocMethod | Missing a Javadoc comment. | 9 |
![]() |
misc | FinalParameters | Parameter args should be final. | 9 |
com/hospital/portal/config/MvcConfig.java
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
![]() |
javadoc | JavadocPackage | Missing package-info.java file. | 1 |
![]() |
design | DesignForExtension | Class 'MvcConfig' looks like designed for extension (can be subclassed), but the method 'addResourceHandlers' does not have javadoc that explains how to do that safely. If class is not designed for extension consider making the class 'MvcConfig' final or making the method 'addResourceHandlers' static/final/abstract/empty, or adding allowed annotation for the method. | 20 |
![]() |
misc | FinalParameters | Parameter registry should be final. | 21 |
![]() |
misc | FinalParameters | Parameter registry should be final. | 27 |
![]() |
design | DesignForExtension | Class 'MvcConfig' looks like designed for extension (can be subclassed), but the method 'localeResolver' does not have javadoc that explains how to do that safely. If class is not designed for extension consider making the class 'MvcConfig' final or making the method 'localeResolver' static/final/abstract/empty, or adding allowed annotation for the method. | 31 |
![]() |
javadoc | MissingJavadocMethod | Missing a Javadoc comment. | 31 |
![]() |
design | DesignForExtension | Class 'MvcConfig' looks like designed for extension (can be subclassed), but the method 'messageSource' does not have javadoc that explains how to do that safely. If class is not designed for extension consider making the class 'MvcConfig' final or making the method 'messageSource' static/final/abstract/empty, or adding allowed annotation for the method. | 38 |
![]() |
javadoc | MissingJavadocMethod | Missing a Javadoc comment. | 38 |
![]() |
sizes | LineLength | Line is longer than 80 characters (found 106). | 40 |
![]() |
regexp | RegexpSingleline | Line has trailing spaces. | 41 |
![]() |
coding | MagicNumber | '3600' is a magic number. | 43 |
![]() |
design | DesignForExtension | Class 'MvcConfig' looks like designed for extension (can be subclassed), but the method 'localeChangeInterceptor' does not have javadoc that explains how to do that safely. If class is not designed for extension consider making the class 'MvcConfig' final or making the method 'localeChangeInterceptor' static/final/abstract/empty, or adding allowed annotation for the method. | 47 |
![]() |
javadoc | MissingJavadocMethod | Missing a Javadoc comment. | 47 |
![]() |
design | DesignForExtension | Class 'MvcConfig' looks like designed for extension (can be subclassed), but the method 'addInterceptors' does not have javadoc that explains how to do that safely. If class is not designed for extension consider making the class 'MvcConfig' final or making the method 'addInterceptors' static/final/abstract/empty, or adding allowed annotation for the method. | 54 |
![]() |
misc | FinalParameters | Parameter registry should be final. | 55 |
com/hospital/portal/config/SecurityConfig.java
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
![]() |
misc | NewlineAtEndOfFile | File does not end with a newline. | 1 |
![]() |
design | DesignForExtension | Class 'SecurityConfig' looks like designed for extension (can be subclassed), but the method 'passwordEncoder' 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 'passwordEncoder' static/final/abstract/empty, or adding allowed annotation for the method. | 15 |
![]() |
javadoc | MissingJavadocMethod | Missing a Javadoc comment. | 15 |
![]() |
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. | 20 |
![]() |
javadoc | MissingJavadocMethod | Missing a Javadoc comment. | 20 |
![]() |
sizes | LineLength | Line is longer than 80 characters (found 88). | 21 |
![]() |
misc | FinalParameters | Parameter http should be final. | 21 |
com/hospital/portal/controller/AdminAppointmentController.java
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
![]() |
imports | AvoidStarImport | Using the '.*' form of import should be avoided - org.springframework.web.bind.annotation.*. | 9 |
![]() |
sizes | LineLength | Line is longer than 80 characters (found 96). | 17 |
![]() |
javadoc | JavadocVariable | Missing a Javadoc comment. | 17 |
![]() |
naming | ConstantName | Name 'logger' must match pattern '^[A-Z][A-Z0-9]*(_[A-Z0-9]+)*$'. | 17 |
![]() |
javadoc | JavadocVariable | Missing a Javadoc comment. | 19 |
![]() |
regexp | RegexpSingleline | Line has trailing spaces. | 23 |
![]() |
regexp | RegexpSingleline | Line has trailing spaces. | 24 |
![]() |
sizes | LineLength | Line is longer than 80 characters (found 88). | 26 |
![]() |
misc | FinalParameters | Parameter adminAppointmentService should be final. | 26 |
![]() |
coding | HiddenField | 'adminAppointmentService' hides a field. | 26 |
![]() |
javadoc | JavadocMethod | Expected @param tag for 'adminAppointmentService'. | 26 |
![]() |
regexp | RegexpSingleline | Line has trailing spaces. | 28 |
![]() |
regexp | RegexpSingleline | Line has trailing spaces. | 31 |
![]() |
regexp | RegexpSingleline | Line has trailing spaces. | 32 |
![]() |
misc | FinalParameters | Parameter appointment should be final. | 37 |
![]() |
regexp | RegexpSingleline | Line has trailing spaces. | 43 |
![]() |
regexp | RegexpSingleline | Line has trailing spaces. | 44 |
![]() |
regexp | RegexpSingleline | Line has trailing spaces. | 45 |
![]() |
javadoc | JavadocMethod | Unused @param tag for 'id'. | 45 |
![]() |
javadoc | JavadocMethod | Unused @param tag for 'new'. | 46 |
![]() |
sizes | LineLength | Line is longer than 80 characters (found 123). | 50 |
![]() |
misc | FinalParameters | Parameter appointmentId should be final. | 50 |
![]() |
javadoc | JavadocMethod | Expected @param tag for 'appointmentId'. | 50 |
![]() |
misc | FinalParameters | Parameter updatedAppointment should be final. | 50 |
![]() |
javadoc | JavadocMethod | Expected @param tag for 'updatedAppointment'. | 50 |
![]() |
sizes | LineLength | Line is longer than 80 characters (found 92). | 52 |
![]() |
regexp | RegexpSingleline | Line has trailing spaces. | 55 |
![]() |
regexp | RegexpSingleline | Line has trailing spaces. | 56 |
![]() |
regexp | RegexpSingleline | Line has trailing spaces. | 57 |
![]() |
javadoc | JavadocMethod | Unused @param tag for 'id'. | 58 |
![]() |
misc | FinalParameters | Parameter appointmentId should be final. | 61 |
![]() |
javadoc | JavadocMethod | Expected @param tag for 'appointmentId'. | 61 |
![]() |
regexp | RegexpSingleline | Line has trailing spaces. | 66 |
![]() |
regexp | RegexpSingleline | Line has trailing spaces. | 67 |
![]() |
regexp | RegexpSingleline | Line has trailing spaces. | 68 |
![]() |
javadoc | JavadocMethod | @return tag should be present and have description. | 70 |
![]() |
regexp | RegexpSingleline | Line has trailing spaces. | 76 |
![]() |
regexp | RegexpSingleline | Line has trailing spaces. | 77 |
![]() |
regexp | RegexpSingleline | Line has trailing spaces. | 78 |
![]() |
javadoc | JavadocMethod | @return tag should be present and have description. | 80 |
![]() |
regexp | RegexpSingleline | Line has trailing spaces. | 85 |
![]() |
regexp | RegexpSingleline | Line has trailing spaces. | 86 |
![]() |
regexp | RegexpSingleline | Line has trailing spaces. | 87 |
![]() |
regexp | RegexpSingleline | Line has trailing spaces. | 88 |
![]() |
javadoc | JavadocMethod | @return tag should be present and have description. | 90 |
com/hospital/portal/controller/DocAppointmentController.java
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
![]() |
sizes | LineLength | Line is longer than 80 characters (found 94). | 28 |
![]() |
javadoc | JavadocVariable | Missing a Javadoc comment. | 28 |
![]() |
naming | ConstantName | Name 'logger' must match pattern '^[A-Z][A-Z0-9]*(_[A-Z0-9]+)*$'. | 28 |
![]() |
javadoc | JavadocVariable | Missing a Javadoc comment. | 31 |
![]() |
regexp | RegexpSingleline | Line has trailing spaces. | 33 |
![]() |
regexp | RegexpSingleline | Line has trailing spaces. | 35 |
![]() |
sizes | LineLength | Line is longer than 80 characters (found 82). | 37 |
![]() |
misc | FinalParameters | Parameter docAppointmentService should be final. | 37 |
![]() |
coding | HiddenField | 'docAppointmentService' hides a field. | 37 |
![]() |
javadoc | JavadocMethod | Expected @param tag for 'docAppointmentService'. | 37 |
![]() |
regexp | RegexpSingleline | Line has trailing spaces. | 40 |
![]() |
regexp | RegexpSingleline | Line has trailing spaces. | 41 |
![]() |
regexp | RegexpSingleline | Line has trailing spaces. | 43 |
![]() |
regexp | RegexpSingleline | Line has trailing spaces. | 51 |
![]() |
regexp | RegexpSingleline | Line has trailing spaces. | 52 |
![]() |
regexp | RegexpSingleline | Line has trailing spaces. | 54 |
![]() |
regexp | RegexpSingleline | Line has trailing spaces. | 63 |
![]() |
javadoc | JavadocMethod | Unused @param tag for 'DNI'. | 65 |
![]() |
misc | FinalParameters | Parameter dni should be final. | 69 |
![]() |
javadoc | JavadocMethod | Expected @param tag for 'dni'. | 69 |
![]() |
sizes | LineLength | Line is longer than 80 characters (found 88). | 70 |
![]() |
whitespace | WhitespaceAfter | ',' is not followed by whitespace. | 70 |
![]() |
regexp | RegexpSingleline | Line has trailing spaces. | 75 |
![]() |
javadoc | JavadocMethod | Unused @param tag for 'DNI'. | 77 |
![]() |
javadoc | JavadocMethod | Unused @param tag for 'New'. | 78 |
![]() |
sizes | LineLength | Line is longer than 80 characters (found 106). | 82 |
![]() |
misc | FinalParameters | Parameter dni should be final. | 82 |
![]() |
javadoc | JavadocMethod | Expected @param tag for 'dni'. | 82 |
![]() |
misc | FinalParameters | Parameter appointment should be final. | 82 |
![]() |
javadoc | JavadocMethod | Expected @param tag for 'appointment'. | 82 |
![]() |
sizes | LineLength | Line is longer than 80 characters (found 82). | 83 |
![]() |
whitespace | WhitespaceAfter | ',' is not followed by whitespace. | 83 |
![]() |
regexp | RegexpSingleline | Line has trailing spaces. | 88 |
![]() |
javadoc | JavadocMethod | Unused @param tag for 'Id'. | 90 |
![]() |
javadoc | JavadocMethod | Unused @param tag for 'Appointment'. | 91 |
![]() |
sizes | LineLength | Line is longer than 80 characters (found 116). | 95 |
![]() |
misc | FinalParameters | Parameter appointmentId should be final. | 95 |
![]() |
javadoc | JavadocMethod | Expected @param tag for 'appointmentId'. | 95 |
![]() |
misc | FinalParameters | Parameter appointment should be final. | 95 |
![]() |
javadoc | JavadocMethod | Expected @param tag for 'appointment'. | 95 |
![]() |
sizes | LineLength | Line is longer than 80 characters (found 103). | 96 |
![]() |
whitespace | WhitespaceAfter | ',' is not followed by whitespace. | 96 |
![]() |
sizes | LineLength | Line is longer than 80 characters (found 83). | 98 |
![]() |
regexp | RegexpSingleline | Line has trailing spaces. | 101 |
![]() |
regexp | RegexpSingleline | Line has trailing spaces. | 102 |
![]() |
javadoc | JavadocMethod | Unused @param tag for 'Id'. | 103 |
![]() |
misc | FinalParameters | Parameter appointmentId should be final. | 106 |
![]() |
javadoc | JavadocMethod | Expected @param tag for 'appointmentId'. | 106 |
![]() |
sizes | LineLength | Line is longer than 80 characters (found 103). | 107 |
![]() |
whitespace | WhitespaceAfter | ',' is not followed by whitespace. | 107 |
![]() |
regexp | RegexpSingleline | Line has trailing spaces. | 110 |
![]() |
regexp | RegexpSingleline | Line has trailing spaces. | 111 |
![]() |
javadoc | JavadocMethod | Unused @param tag for 'DNI'. | 113 |
![]() |
javadoc | JavadocMethod | Unused @param tag for 'From'. | 114 |
![]() |
javadoc | JavadocMethod | Unused @param tag for 'To'. | 115 |
![]() |
sizes | LineLength | Line is longer than 80 characters (found 184). | 119 |
![]() |
misc | FinalParameters | Parameter dni should be final. | 119 |
![]() |
javadoc | JavadocMethod | Expected @param tag for 'dni'. | 119 |
![]() |
misc | FinalParameters | Parameter startDate should be final. | 119 |
![]() |
javadoc | JavadocMethod | Expected @param tag for 'startDate'. | 119 |
![]() |
misc | FinalParameters | Parameter endDate should be final. | 119 |
![]() |
javadoc | JavadocMethod | Expected @param tag for 'endDate'. | 119 |
![]() |
sizes | LineLength | Line is longer than 80 characters (found 100). | 120 |
![]() |
whitespace | WhitespaceAfter | ',' is not followed by whitespace. | 120 |
![]() |
sizes | LineLength | Line is longer than 80 characters (found 98). | 121 |
com/hospital/portal/controller/LoginController.java
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
![]() |
javadoc | JavadocVariable | Missing a Javadoc comment. | 19 |
![]() |
sizes | LineLength | Line is longer than 80 characters (found 85). | 21 |
![]() |
javadoc | JavadocVariable | Missing a Javadoc comment. | 21 |
![]() |
naming | ConstantName | Name 'logger' must match pattern '^[A-Z][A-Z0-9]*(_[A-Z0-9]+)*$'. | 21 |
![]() |
regexp | RegexpSingleline | Line has trailing spaces. | 24 |
![]() |
misc | FinalParameters | Parameter loginService should be final. | 27 |
![]() |
coding | HiddenField | 'loginService' hides a field. | 27 |
![]() |
javadoc | JavadocMethod | Expected @param tag for 'loginService'. | 27 |
![]() |
regexp | RegexpSingleline | Line has trailing spaces. | 31 |
![]() |
sizes | LineLength | Line is longer than 80 characters (found 89). | 33 |
![]() |
javadoc | JavadocMethod | Unused @param tag for 'DNI'. | 33 |
![]() |
javadoc | JavadocMethod | Unused @param tag for 'Password'. | 34 |
![]() |
sizes | LineLength | Line is longer than 80 characters (found 103). | 35 |
![]() |
regexp | RegexpSingleline | Line has trailing spaces. | 39 |
![]() |
misc | FinalParameters | Parameter dni should be final. | 39 |
![]() |
javadoc | JavadocMethod | Expected @param tag for 'dni'. | 39 |
![]() |
misc | FinalParameters | Parameter password should be final. | 40 |
![]() |
javadoc | JavadocMethod | Expected @param tag for 'password'. | 40 |
![]() |
regexp | RegexpSingleline | Line has trailing spaces. | 41 |
![]() |
sizes | LineLength | Line is longer than 80 characters (found 86). | 43 |
![]() |
coding | MagicNumber | '401' is a magic number. | 51 |
![]() |
sizes | LineLength | Line is longer than 80 characters (found 165). | 54 |
![]() |
sizes | LineLength | Line is longer than 80 characters (found 86). | 56 |
![]() |
coding | MagicNumber | '500' is a magic number. | 56 |
com/hospital/portal/controller/PatientAppointmentController.java
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
![]() |
javadoc | JavadocPackage | Missing package-info.java file. | 1 |
![]() |
imports | AvoidStarImport | Using the '.*' form of import should be avoided - com.hospital.portal.model.*. | 17 |
![]() |
javadoc | JavadocVariable | Missing a Javadoc comment. | 27 |
![]() |
sizes | LineLength | Line is longer than 80 characters (found 98). | 28 |
![]() |
javadoc | JavadocVariable | Missing a Javadoc comment. | 28 |
![]() |
naming | ConstantName | Name 'logger' must match pattern '^[A-Z][A-Z0-9]*(_[A-Z0-9]+)*$'. | 28 |
![]() |
regexp | RegexpSingleline | Line has trailing spaces. | 30 |
![]() |
sizes | LineLength | Line is longer than 80 characters (found 93). | 33 |
![]() |
misc | FinalParameters | Parameter patientAppointmentService should be final. | 33 |
![]() |
coding | HiddenField | 'patientAppointmentService' hides a field. | 33 |
![]() |
javadoc | JavadocMethod | Expected @param tag for 'patientAppointmentService'. | 33 |
![]() |
whitespace | WhitespaceAround | '{' is not preceded with whitespace. | 33 |
![]() |
regexp | RegexpSingleline | Line has trailing spaces. | 37 |
![]() |
regexp | RegexpSingleline | Line has trailing spaces. | 47 |
![]() |
javadoc | JavadocMethod | Unused @param tag for 'DNI'. | 49 |
![]() |
sizes | LineLength | Line is longer than 80 characters (found 91). | 53 |
![]() |
misc | FinalParameters | Parameter patientDNI should be final. | 53 |
![]() |
javadoc | JavadocMethod | Expected @param tag for 'patientDNI'. | 53 |
![]() |
sizes | LineLength | Line is longer than 80 characters (found 99). | 54 |
![]() |
whitespace | WhitespaceAfter | ',' is not followed by whitespace. | 54 |
![]() |
sizes | LineLength | Line is longer than 80 characters (found 81). | 55 |
![]() |
regexp | RegexpSingleline | Line has trailing spaces. | 58 |
![]() |
javadoc | JavadocMethod | Unused @param tag for 'DNI'. | 60 |
![]() |
javadoc | JavadocMethod | Unused @param tag for 'From'. | 61 |
![]() |
sizes | LineLength | Line is longer than 80 characters (found 115). | 65 |
![]() |
misc | FinalParameters | Parameter patientDNI should be final. | 65 |
![]() |
javadoc | JavadocMethod | Expected @param tag for 'patientDNI'. | 65 |
![]() |
misc | FinalParameters | Parameter date should be final. | 65 |
![]() |
javadoc | JavadocMethod | Expected @param tag for 'date'. | 65 |
![]() |
sizes | LineLength | Line is longer than 80 characters (found 93). | 66 |
![]() |
whitespace | WhitespaceAfter | ',' is not followed by whitespace. | 66 |
![]() |
sizes | LineLength | Line is longer than 80 characters (found 81). | 68 |
![]() |
regexp | RegexpSingleline | Line has trailing spaces. | 71 |
![]() |
sizes | LineLength | Line is longer than 80 characters (found 91). | 72 |
![]() |
javadoc | JavadocMethod | Unused @param tag for 'DNI'. | 73 |
![]() |
javadoc | JavadocMethod | Unused @param tag for 'Speaciality'. | 74 |
![]() |
sizes | LineLength | Line is longer than 80 characters (found 149). | 78 |
![]() |
misc | FinalParameters | Parameter patientDNI should be final. | 78 |
![]() |
javadoc | JavadocMethod | Expected @param tag for 'patientDNI'. | 78 |
![]() |
misc | FinalParameters | Parameter specialty_name should be final. | 78 |
![]() |
javadoc | JavadocMethod | Expected @param tag for 'specialty_name'. | 78 |
![]() |
naming | ParameterName | Name 'specialty_name' must match pattern '^[a-z][a-zA-Z0-9]*$'. | 78 |
![]() |
sizes | LineLength | Line is longer than 80 characters (found 117). | 79 |
![]() |
whitespace | WhitespaceAfter | ',' is not followed by whitespace. | 79 |
![]() |
sizes | LineLength | Line is longer than 80 characters (found 118). | 81 |
![]() |
regexp | RegexpSingleline | Line has trailing spaces. | 84 |
![]() |
javadoc | JavadocMethod | Unused @param tag for 'DNI'. | 86 |
![]() |
javadoc | JavadocMethod | Unused @param tag for 'New'. | 87 |
![]() |
sizes | LineLength | Line is longer than 80 characters (found 117). | 91 |
![]() |
misc | FinalParameters | Parameter patientDNI should be final. | 91 |
![]() |
javadoc | JavadocMethod | Expected @param tag for 'patientDNI'. | 91 |
![]() |
misc | FinalParameters | Parameter appointment should be final. | 91 |
![]() |
javadoc | JavadocMethod | Expected @param tag for 'appointment'. | 91 |
![]() |
sizes | LineLength | Line is longer than 80 characters (found 93). | 92 |
![]() |
whitespace | WhitespaceAfter | ',' is not followed by whitespace. | 92 |
![]() |
sizes | LineLength | Line is longer than 80 characters (found 88). | 94 |
![]() |
regexp | RegexpSingleline | Line has trailing spaces. | 98 |
![]() |
javadoc | JavadocMethod | Unused @param tag for 'Id'. | 100 |
![]() |
javadoc | JavadocMethod | Unused @param tag for 'Appointment'. | 101 |
![]() |
sizes | LineLength | Line is longer than 80 characters (found 123). | 105 |
![]() |
misc | FinalParameters | Parameter appointmentId should be final. | 105 |
![]() |
javadoc | JavadocMethod | Expected @param tag for 'appointmentId'. | 105 |
![]() |
misc | FinalParameters | Parameter modifiedAppointment should be final. | 105 |
![]() |
javadoc | JavadocMethod | Expected @param tag for 'modifiedAppointment'. | 105 |
![]() |
whitespace | WhitespaceAround | '{' is not preceded with whitespace. | 105 |
![]() |
sizes | LineLength | Line is longer than 80 characters (found 103). | 106 |
![]() |
whitespace | WhitespaceAfter | ',' is not followed by whitespace. | 106 |
![]() |
sizes | LineLength | Line is longer than 80 characters (found 95). | 108 |
![]() |
regexp | RegexpSingleline | Line has trailing spaces. | 111 |
![]() |
regexp | RegexpSingleline | Line has trailing spaces. | 112 |
![]() |
javadoc | JavadocMethod | Unused @param tag for 'Id'. | 113 |
![]() |
misc | FinalParameters | Parameter appointmentId should be final. | 116 |
![]() |
javadoc | JavadocMethod | Expected @param tag for 'appointmentId'. | 116 |
![]() |
sizes | LineLength | Line is longer than 80 characters (found 111). | 117 |
![]() |
whitespace | WhitespaceAfter | ',' is not followed by whitespace. | 117 |
![]() |
regexp | RegexpSingleline | Line has trailing spaces. | 121 |
com/hospital/portal/controller/RegisterController.java
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
![]() |
javadoc | JavadocVariable | Missing a Javadoc comment. | 19 |
![]() |
sizes | LineLength | Line is longer than 80 characters (found 88). | 20 |
![]() |
javadoc | JavadocVariable | Missing a Javadoc comment. | 20 |
![]() |
naming | ConstantName | Name 'logger' must match pattern '^[A-Z][A-Z0-9]*(_[A-Z0-9]+)*$'. | 20 |
![]() |
regexp | RegexpSingleline | Line has trailing spaces. | 22 |
![]() |
misc | FinalParameters | Parameter registerService should be final. | 25 |
![]() |
coding | HiddenField | 'registerService' hides a field. | 25 |
![]() |
javadoc | JavadocMethod | Expected @param tag for 'registerService'. | 25 |
![]() |
javadoc | JavadocMethod | Unused @param tag for 'DNI'. | 31 |
![]() |
javadoc | JavadocMethod | Unused @param tag for 'Name'. | 32 |
![]() |
javadoc | JavadocMethod | Unused @param tag for 'Surname'. | 33 |
![]() |
javadoc | JavadocMethod | Unused @param tag for 'Phone'. | 34 |
![]() |
javadoc | JavadocMethod | Unused @param tag for 'birthdate'. | 36 |
![]() |
javadoc | JavadocMethod | Unused @param tag for 'Gender'. | 37 |
![]() |
javadoc | JavadocMethod | Unused @param tag for 'Password'. | 38 |
![]() |
sizes | LineLength | Line is longer than 80 characters (found 112). | 39 |
![]() |
sizes | ParameterNumber | More than 7 parameters (found 8). | 42 |
![]() |
misc | FinalParameters | Parameter dni should be final. | 43 |
![]() |
javadoc | JavadocMethod | Expected @param tag for 'dni'. | 43 |
![]() |
misc | FinalParameters | Parameter name should be final. | 44 |
![]() |
javadoc | JavadocMethod | Expected @param tag for 'name'. | 44 |
![]() |
misc | FinalParameters | Parameter surname should be final. | 45 |
![]() |
javadoc | JavadocMethod | Expected @param tag for 'surname'. | 45 |
![]() |
misc | FinalParameters | Parameter phone should be final. | 46 |
![]() |
javadoc | JavadocMethod | Expected @param tag for 'phone'. | 46 |
![]() |
misc | FinalParameters | Parameter email should be final. | 47 |
![]() |
misc | FinalParameters | Parameter birthDateString should be final. | 48 |
![]() |
javadoc | JavadocMethod | Expected @param tag for 'birthDateString'. | 48 |
![]() |
misc | FinalParameters | Parameter gender should be final. | 49 |
![]() |
javadoc | JavadocMethod | Expected @param tag for 'gender'. | 49 |
![]() |
misc | FinalParameters | Parameter password should be final. | 50 |
![]() |
javadoc | JavadocMethod | Expected @param tag for 'password'. | 50 |
![]() |
sizes | LineLength | Line is longer than 80 characters (found 83). | 55 |
![]() |
sizes | LineLength | Line is longer than 80 characters (found 94). | 64 |
![]() |
regexp | RegexpSingleline | Line has trailing spaces. | 65 |
com/hospital/portal/controller/TemplateController.java
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
![]() |
javadoc | JavadocVariable | Missing a Javadoc comment. | 22 |
![]() |
javadoc | JavadocVariable | Missing a Javadoc comment. | 25 |
![]() |
javadoc | JavadocVariable | Missing a Javadoc comment. | 28 |
![]() |
javadoc | JavadocVariable | Missing a Javadoc comment. | 31 |
![]() |
regexp | RegexpSingleline | Line has trailing spaces. | 33 |
![]() |
regexp | RegexpSingleline | Line has trailing spaces. | 34 |
![]() |
sizes | LineLength | Line is longer than 80 characters (found 99). | 34 |
![]() |
regexp | RegexpSingleline | Line has trailing spaces. | 38 |
![]() |
regexp | RegexpSingleline | Line has trailing spaces. | 41 |
![]() |
regexp | RegexpSingleline | Line has trailing spaces. | 50 |
![]() |
regexp | RegexpSingleline | Line has trailing spaces. | 59 |
![]() |
regexp | RegexpSingleline | Line has trailing spaces. | 68 |
![]() |
regexp | RegexpSingleline | Line has trailing spaces. | 77 |
![]() |
sizes | LineLength | Line is longer than 80 characters (found 116). | 78 |
![]() |
javadoc | JavadocMethod | Unused @param tag for 'DNI'. | 79 |
![]() |
javadoc | JavadocMethod | Unused @param tag for 'Model'. | 80 |
![]() |
sizes | LineLength | Line is longer than 80 characters (found 82). | 84 |
![]() |
misc | FinalParameters | Parameter dni should be final. | 84 |
![]() |
javadoc | JavadocMethod | Expected @param tag for 'dni'. | 84 |
![]() |
misc | FinalParameters | Parameter model should be final. | 84 |
![]() |
javadoc | JavadocMethod | Expected @param tag for 'model'. | 84 |
![]() |
regexp | RegexpSingleline | Line has trailing spaces. | 90 |
![]() |
sizes | LineLength | Line is longer than 80 characters (found 81). | 91 |
![]() |
regexp | RegexpSingleline | Line has trailing spaces. | 99 |
![]() |
regexp | RegexpSingleline | Line has trailing spaces. | 108 |
![]() |
sizes | LineLength | Line is longer than 80 characters (found 117). | 109 |
![]() |
javadoc | JavadocMethod | Unused @param tag for 'DNI'. | 110 |
![]() |
javadoc | JavadocMethod | Unused @param tag for 'Model'. | 111 |
![]() |
sizes | LineLength | Line is longer than 80 characters (found 84). | 112 |
![]() |
sizes | LineLength | Line is longer than 80 characters (found 117). | 115 |
![]() |
misc | FinalParameters | Parameter patientId should be final. | 115 |
![]() |
javadoc | JavadocMethod | Expected @param tag for 'patientId'. | 115 |
![]() |
misc | FinalParameters | Parameter model should be final. | 115 |
![]() |
javadoc | JavadocMethod | Expected @param tag for 'model'. | 115 |
![]() |
sizes | LineLength | Line is longer than 80 characters (found 96). | 117 |
![]() |
regexp | RegexpSingleline | Line has trailing spaces. | 127 |
![]() |
sizes | LineLength | Line is longer than 80 characters (found 114). | 128 |
![]() |
javadoc | JavadocMethod | Unused @param tag for 'DNI'. | 129 |
![]() |
javadoc | JavadocMethod | Unused @param tag for 'Model'. | 130 |
![]() |
sizes | LineLength | Line is longer than 80 characters (found 89). | 134 |
![]() |
misc | FinalParameters | Parameter doctorId should be final. | 134 |
![]() |
javadoc | JavadocMethod | Expected @param tag for 'doctorId'. | 134 |
![]() |
misc | FinalParameters | Parameter model should be final. | 134 |
![]() |
javadoc | JavadocMethod | Expected @param tag for 'model'. | 134 |
![]() |
sizes | LineLength | Line is longer than 80 characters (found 93). | 136 |
com/hospital/portal/model/Admin.java
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
![]() |
regexp | RegexpSingleline | Line has trailing spaces. | 28 |
![]() |
whitespace | WhitespaceAround | '{' is not followed by whitespace. | 29 |
![]() |
whitespace | WhitespaceAround | '}' is not preceded with whitespace. | 29 |
![]() |
sizes | LineLength | Line is longer than 80 characters (found 156). | 44 |
![]() |
sizes | ParameterNumber | More than 7 parameters (found 9). | 44 |
![]() |
misc | FinalParameters | Parameter dni should be final. | 44 |
![]() |
misc | FinalParameters | Parameter name should be final. | 44 |
![]() |
misc | FinalParameters | Parameter surname should be final. | 44 |
![]() |
misc | FinalParameters | Parameter birthDate should be final. | 44 |
![]() |
misc | FinalParameters | Parameter gender should be final. | 44 |
![]() |
misc | FinalParameters | Parameter phone should be final. | 44 |
![]() |
misc | FinalParameters | Parameter mail should be final. | 44 |
![]() |
misc | FinalParameters | Parameter password should be final. | 44 |
![]() |
misc | FinalParameters | Parameter workerId should be final. | 44 |
![]() |
coding | HiddenField | 'workerId' hides a field. | 44 |
![]() |
sizes | LineLength | Line is longer than 80 characters (found 111). | 45 |
![]() |
regexp | RegexpSingleline | Line has trailing spaces. | 49 |
![]() |
design | DesignForExtension | Class 'Admin' looks like designed for extension (can be subclassed), but the method 'getWorkerId' does not have javadoc that explains how to do that safely. If class is not designed for extension consider making the class 'Admin' final or making the method 'getWorkerId' static/final/abstract/empty, or adding allowed annotation for the method. | 50 |
![]() |
javadoc | MissingJavadocMethod | Missing a Javadoc comment. | 50 |
![]() |
design | DesignForExtension | Class 'Admin' looks like designed for extension (can be subclassed), but the method 'setWorkerId' does not have javadoc that explains how to do that safely. If class is not designed for extension consider making the class 'Admin' final or making the method 'setWorkerId' static/final/abstract/empty, or adding allowed annotation for the method. | 54 |
![]() |
javadoc | MissingJavadocMethod | Missing a Javadoc comment. | 54 |
![]() |
misc | FinalParameters | Parameter workerId should be final. | 54 |
![]() |
coding | HiddenField | 'workerId' hides a field. | 54 |
![]() |
regexp | RegexpSingleline | Line has trailing spaces. | 65 |
![]() |
whitespace | OperatorWrap | '+' should be on a new line. | 65 |
![]() |
regexp | RegexpSingleline | Line has trailing spaces. | 66 |
![]() |
whitespace | OperatorWrap | '+' should be on a new line. | 66 |
com/hospital/portal/model/Appointment.java
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
![]() |
javadoc | JavadocPackage | Missing package-info.java file. | 1 |
![]() |
sizes | LineLength | Line is longer than 80 characters (found 106). | 19 |
![]() |
design | VisibilityModifier | Variable 'appointmentId' must be private and have accessor methods. | 32 |
![]() |
regexp | RegexpSingleline | Line has trailing spaces. | 33 |
![]() |
regexp | RegexpSingleline | Line has trailing spaces. | 50 |
![]() |
coding | MagicNumber | '1000' is a magic number. | 78 |
![]() |
regexp | RegexpSingleline | Line has trailing spaces. | 79 |
![]() |
whitespace | NoWhitespaceBefore | ';' is preceded with whitespace. | 79 |
![]() |
coding | MagicNumber | '1000' is a magic number. | 84 |
![]() |
regexp | RegexpSingleline | Line has trailing spaces. | 85 |
![]() |
misc | FinalParameters | Parameter date should be final. | 104 |
![]() |
coding | HiddenField | 'date' hides a field. | 104 |
![]() |
misc | FinalParameters | Parameter startTime should be final. | 104 |
![]() |
coding | HiddenField | 'startTime' hides a field. | 104 |
![]() |
misc | FinalParameters | Parameter endTime should be final. | 104 |
![]() |
coding | HiddenField | 'endTime' hides a field. | 104 |
![]() |
misc | FinalParameters | Parameter patient should be final. | 105 |
![]() |
coding | HiddenField | 'patient' hides a field. | 105 |
![]() |
misc | FinalParameters | Parameter doctor should be final. | 105 |
![]() |
coding | HiddenField | 'doctor' hides a field. | 105 |
![]() |
misc | FinalParameters | Parameter appointmentPurpose should be final. | 105 |
![]() |
coding | HiddenField | 'appointmentPurpose' hides a field. | 105 |
![]() |
design | DesignForExtension | Class 'Appointment' looks like designed for extension (can be subclassed), but the method 'getAppointmentId' does not have javadoc that explains how to do that safely. If class is not designed for extension consider making the class 'Appointment' final or making the method 'getAppointmentId' static/final/abstract/empty, or adding allowed annotation for the method. | 115 |
![]() |
javadoc | MissingJavadocMethod | Missing a Javadoc comment. | 115 |
![]() |
design | DesignForExtension | Class 'Appointment' looks like designed for extension (can be subclassed), but the method 'setAppointmentId' does not have javadoc that explains how to do that safely. If class is not designed for extension consider making the class 'Appointment' final or making the method 'setAppointmentId' static/final/abstract/empty, or adding allowed annotation for the method. | 119 |
![]() |
javadoc | MissingJavadocMethod | Missing a Javadoc comment. | 119 |
![]() |
misc | FinalParameters | Parameter appointmentId should be final. | 119 |
![]() |
coding | HiddenField | 'appointmentId' hides a field. | 119 |
![]() |
design | DesignForExtension | Class 'Appointment' looks like designed for extension (can be subclassed), but the method 'getDate' does not have javadoc that explains how to do that safely. If class is not designed for extension consider making the class 'Appointment' final or making the method 'getDate' static/final/abstract/empty, or adding allowed annotation for the method. | 123 |
![]() |
javadoc | MissingJavadocMethod | Missing a Javadoc comment. | 123 |
![]() |
design | DesignForExtension | Class 'Appointment' looks like designed for extension (can be subclassed), but the method 'setDate' does not have javadoc that explains how to do that safely. If class is not designed for extension consider making the class 'Appointment' final or making the method 'setDate' static/final/abstract/empty, or adding allowed annotation for the method. | 127 |
![]() |
javadoc | MissingJavadocMethod | Missing a Javadoc comment. | 127 |
![]() |
misc | FinalParameters | Parameter date should be final. | 127 |
![]() |
coding | HiddenField | 'date' hides a field. | 127 |
![]() |
design | DesignForExtension | Class 'Appointment' looks like designed for extension (can be subclassed), but the method 'getStartTime' does not have javadoc that explains how to do that safely. If class is not designed for extension consider making the class 'Appointment' final or making the method 'getStartTime' static/final/abstract/empty, or adding allowed annotation for the method. | 131 |
![]() |
javadoc | MissingJavadocMethod | Missing a Javadoc comment. | 131 |
![]() |
design | DesignForExtension | Class 'Appointment' looks like designed for extension (can be subclassed), but the method 'setStartTime' does not have javadoc that explains how to do that safely. If class is not designed for extension consider making the class 'Appointment' final or making the method 'setStartTime' static/final/abstract/empty, or adding allowed annotation for the method. | 135 |
![]() |
javadoc | MissingJavadocMethod | Missing a Javadoc comment. | 135 |
![]() |
misc | FinalParameters | Parameter startTime should be final. | 135 |
![]() |
coding | HiddenField | 'startTime' hides a field. | 135 |
![]() |
design | DesignForExtension | Class 'Appointment' looks like designed for extension (can be subclassed), but the method 'getEndTime' does not have javadoc that explains how to do that safely. If class is not designed for extension consider making the class 'Appointment' final or making the method 'getEndTime' static/final/abstract/empty, or adding allowed annotation for the method. | 139 |
![]() |
javadoc | MissingJavadocMethod | Missing a Javadoc comment. | 139 |
![]() |
design | DesignForExtension | Class 'Appointment' looks like designed for extension (can be subclassed), but the method 'setEndTime' does not have javadoc that explains how to do that safely. If class is not designed for extension consider making the class 'Appointment' final or making the method 'setEndTime' static/final/abstract/empty, or adding allowed annotation for the method. | 143 |
![]() |
javadoc | MissingJavadocMethod | Missing a Javadoc comment. | 143 |
![]() |
misc | FinalParameters | Parameter endTime should be final. | 143 |
![]() |
coding | HiddenField | 'endTime' hides a field. | 143 |
![]() |
design | DesignForExtension | Class 'Appointment' looks like designed for extension (can be subclassed), but the method 'getPatient' does not have javadoc that explains how to do that safely. If class is not designed for extension consider making the class 'Appointment' final or making the method 'getPatient' static/final/abstract/empty, or adding allowed annotation for the method. | 147 |
![]() |
javadoc | MissingJavadocMethod | Missing a Javadoc comment. | 147 |
![]() |
design | DesignForExtension | Class 'Appointment' looks like designed for extension (can be subclassed), but the method 'setPatient' does not have javadoc that explains how to do that safely. If class is not designed for extension consider making the class 'Appointment' final or making the method 'setPatient' static/final/abstract/empty, or adding allowed annotation for the method. | 151 |
![]() |
javadoc | MissingJavadocMethod | Missing a Javadoc comment. | 151 |
![]() |
misc | FinalParameters | Parameter patient should be final. | 151 |
![]() |
coding | HiddenField | 'patient' hides a field. | 151 |
![]() |
design | DesignForExtension | Class 'Appointment' looks like designed for extension (can be subclassed), but the method 'getDoctor' does not have javadoc that explains how to do that safely. If class is not designed for extension consider making the class 'Appointment' final or making the method 'getDoctor' static/final/abstract/empty, or adding allowed annotation for the method. | 155 |
![]() |
javadoc | MissingJavadocMethod | Missing a Javadoc comment. | 155 |
![]() |
design | DesignForExtension | Class 'Appointment' looks like designed for extension (can be subclassed), but the method 'setDoctor' does not have javadoc that explains how to do that safely. If class is not designed for extension consider making the class 'Appointment' final or making the method 'setDoctor' static/final/abstract/empty, or adding allowed annotation for the method. | 159 |
![]() |
javadoc | MissingJavadocMethod | Missing a Javadoc comment. | 159 |
![]() |
misc | FinalParameters | Parameter doctor should be final. | 159 |
![]() |
coding | HiddenField | 'doctor' hides a field. | 159 |
![]() |
design | DesignForExtension | Class 'Appointment' looks like designed for extension (can be subclassed), but the method 'getAppointmentPurpose' does not have javadoc that explains how to do that safely. If class is not designed for extension consider making the class 'Appointment' final or making the method 'getAppointmentPurpose' static/final/abstract/empty, or adding allowed annotation for the method. | 163 |
![]() |
javadoc | MissingJavadocMethod | Missing a Javadoc comment. | 163 |
![]() |
design | DesignForExtension | Class 'Appointment' looks like designed for extension (can be subclassed), but the method 'setAppointmentPurpose' does not have javadoc that explains how to do that safely. If class is not designed for extension consider making the class 'Appointment' final or making the method 'setAppointmentPurpose' static/final/abstract/empty, or adding allowed annotation for the method. | 167 |
![]() |
javadoc | MissingJavadocMethod | Missing a Javadoc comment. | 167 |
![]() |
misc | FinalParameters | Parameter appointmentPurpose should be final. | 167 |
![]() |
coding | HiddenField | 'appointmentPurpose' hides a field. | 167 |
![]() |
design | DesignForExtension | Class 'Appointment' looks like designed for extension (can be subclassed), but the method 'getObservations' does not have javadoc that explains how to do that safely. If class is not designed for extension consider making the class 'Appointment' final or making the method 'getObservations' static/final/abstract/empty, or adding allowed annotation for the method. | 171 |
![]() |
javadoc | MissingJavadocMethod | Missing a Javadoc comment. | 171 |
![]() |
design | DesignForExtension | Class 'Appointment' looks like designed for extension (can be subclassed), but the method 'setObservations' does not have javadoc that explains how to do that safely. If class is not designed for extension consider making the class 'Appointment' final or making the method 'setObservations' static/final/abstract/empty, or adding allowed annotation for the method. | 175 |
![]() |
javadoc | MissingJavadocMethod | Missing a Javadoc comment. | 175 |
![]() |
misc | FinalParameters | Parameter observations should be final. | 175 |
![]() |
coding | HiddenField | 'observations' hides a field. | 175 |
![]() |
javadoc | JavadocStyle | First sentence should end with a period. | 179 |
![]() |
whitespace | OperatorWrap | '+' should be on a new line. | 185 |
![]() |
whitespace | OperatorWrap | '+' should be on a new line. | 186 |
![]() |
whitespace | OperatorWrap | '+' should be on a new line. | 187 |
![]() |
whitespace | OperatorWrap | '+' should be on a new line. | 188 |
![]() |
whitespace | OperatorWrap | '+' should be on a new line. | 189 |
![]() |
sizes | LineLength | Line is longer than 80 characters (found 84). | 190 |
![]() |
whitespace | OperatorWrap | '+' should be on a new line. | 190 |
![]() |
whitespace | OperatorWrap | '+' should be on a new line. | 191 |
![]() |
whitespace | OperatorWrap | '+' should be on a new line. | 192 |
![]() |
whitespace | OperatorWrap | '+' should be on a new line. | 193 |
com/hospital/portal/model/Doctor.java
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
![]() |
whitespace | WhitespaceAround | '{' is not followed by whitespace. | 37 |
![]() |
whitespace | WhitespaceAround | '}' is not preceded with whitespace. | 37 |
![]() |
sizes | LineLength | Line is longer than 80 characters (found 178). | 53 |
![]() |
sizes | ParameterNumber | More than 7 parameters (found 10). | 53 |
![]() |
misc | FinalParameters | Parameter dni should be final. | 53 |
![]() |
misc | FinalParameters | Parameter name should be final. | 53 |
![]() |
misc | FinalParameters | Parameter surname should be final. | 53 |
![]() |
misc | FinalParameters | Parameter birthDate should be final. | 53 |
![]() |
misc | FinalParameters | Parameter gender should be final. | 53 |
![]() |
misc | FinalParameters | Parameter phone should be final. | 53 |
![]() |
misc | FinalParameters | Parameter mail should be final. | 53 |
![]() |
misc | FinalParameters | Parameter password should be final. | 53 |
![]() |
misc | FinalParameters | Parameter doctorId should be final. | 53 |
![]() |
coding | HiddenField | 'doctorId' hides a field. | 53 |
![]() |
misc | FinalParameters | Parameter specialty should be final. | 53 |
![]() |
coding | HiddenField | 'specialty' hides a field. | 53 |
![]() |
sizes | LineLength | Line is longer than 80 characters (found 111). | 54 |
![]() |
design | DesignForExtension | Class 'Doctor' looks like designed for extension (can be subclassed), but the method 'getDoctorId' does not have javadoc that explains how to do that safely. If class is not designed for extension consider making the class 'Doctor' final or making the method 'getDoctorId' static/final/abstract/empty, or adding allowed annotation for the method. | 60 |
![]() |
javadoc | MissingJavadocMethod | Missing a Javadoc comment. | 60 |
![]() |
design | DesignForExtension | Class 'Doctor' looks like designed for extension (can be subclassed), but the method 'setDoctorId' does not have javadoc that explains how to do that safely. If class is not designed for extension consider making the class 'Doctor' final or making the method 'setDoctorId' static/final/abstract/empty, or adding allowed annotation for the method. | 64 |
![]() |
javadoc | MissingJavadocMethod | Missing a Javadoc comment. | 64 |
![]() |
misc | FinalParameters | Parameter doctorId should be final. | 64 |
![]() |
coding | HiddenField | 'doctorId' hides a field. | 64 |
![]() |
design | DesignForExtension | Class 'Doctor' looks like designed for extension (can be subclassed), but the method 'getSpecialty' does not have javadoc that explains how to do that safely. If class is not designed for extension consider making the class 'Doctor' final or making the method 'getSpecialty' static/final/abstract/empty, or adding allowed annotation for the method. | 69 |
![]() |
javadoc | MissingJavadocMethod | Missing a Javadoc comment. | 69 |
![]() |
design | DesignForExtension | Class 'Doctor' looks like designed for extension (can be subclassed), but the method 'setSpecialty' does not have javadoc that explains how to do that safely. If class is not designed for extension consider making the class 'Doctor' final or making the method 'setSpecialty' static/final/abstract/empty, or adding allowed annotation for the method. | 73 |
![]() |
javadoc | MissingJavadocMethod | Missing a Javadoc comment. | 73 |
![]() |
misc | FinalParameters | Parameter specialty should be final. | 73 |
![]() |
coding | HiddenField | 'specialty' hides a field. | 73 |
![]() |
sizes | LineLength | Line is longer than 80 characters (found 87). | 78 |
![]() |
regexp | RegexpSingleline | Line has trailing spaces. | 84 |
![]() |
whitespace | OperatorWrap | '+' should be on a new line. | 84 |
![]() |
regexp | RegexpSingleline | Line has trailing spaces. | 85 |
![]() |
whitespace | OperatorWrap | '+' should be on a new line. | 85 |
![]() |
regexp | RegexpSingleline | Line has trailing spaces. | 86 |
![]() |
whitespace | OperatorWrap | '+' should be on a new line. | 86 |
com/hospital/portal/model/Patient.java
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
![]() |
regexp | RegexpSingleline | Line has trailing spaces. | 22 |
![]() |
sizes | LineLength | Line is longer than 80 characters (found 159). | 44 |
![]() |
sizes | ParameterNumber | More than 7 parameters (found 9). | 44 |
![]() |
misc | FinalParameters | Parameter dni should be final. | 44 |
![]() |
misc | FinalParameters | Parameter name should be final. | 44 |
![]() |
misc | FinalParameters | Parameter surname should be final. | 44 |
![]() |
misc | FinalParameters | Parameter birthDate should be final. | 44 |
![]() |
misc | FinalParameters | Parameter gender should be final. | 44 |
![]() |
misc | FinalParameters | Parameter phone should be final. | 44 |
![]() |
misc | FinalParameters | Parameter mail should be final. | 44 |
![]() |
misc | FinalParameters | Parameter password should be final. | 44 |
![]() |
misc | FinalParameters | Parameter patientId should be final. | 44 |
![]() |
coding | HiddenField | 'patientId' hides a field. | 44 |
![]() |
design | DesignForExtension | Class 'Patient' looks like designed for extension (can be subclassed), but the method 'getPatientId' does not have javadoc that explains how to do that safely. If class is not designed for extension consider making the class 'Patient' final or making the method 'getPatientId' static/final/abstract/empty, or adding allowed annotation for the method. | 49 |
![]() |
javadoc | MissingJavadocMethod | Missing a Javadoc comment. | 49 |
![]() |
design | DesignForExtension | Class 'Patient' looks like designed for extension (can be subclassed), but the method 'setPatientId' does not have javadoc that explains how to do that safely. If class is not designed for extension consider making the class 'Patient' final or making the method 'setPatientId' static/final/abstract/empty, or adding allowed annotation for the method. | 53 |
![]() |
javadoc | MissingJavadocMethod | Missing a Javadoc comment. | 53 |
![]() |
misc | FinalParameters | Parameter patientId should be final. | 53 |
![]() |
coding | HiddenField | 'patientId' hides a field. | 53 |
![]() |
design | DesignForExtension | Class 'Patient' looks like designed for extension (can be subclassed), but the method 'setDni' does not have javadoc that explains how to do that safely. If class is not designed for extension consider making the class 'Patient' final or making the method 'setDni' static/final/abstract/empty, or adding allowed annotation for the method. | 57 |
![]() |
javadoc | MissingJavadocMethod | Missing a Javadoc comment. | 57 |
![]() |
misc | FinalParameters | Parameter dni should be final. | 57 |
![]() |
design | DesignForExtension | Class 'Patient' 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 'Patient' final or making the method 'setEmail' static/final/abstract/empty, or adding allowed annotation for the method. | 61 |
![]() |
javadoc | MissingJavadocMethod | Missing a Javadoc comment. | 61 |
![]() |
misc | FinalParameters | Parameter email should be final. | 61 |
![]() |
regexp | RegexpSingleline | Line has trailing spaces. | 64 |
com/hospital/portal/model/Specialty.java
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
![]() |
javadoc | JavadocVariable | Missing a Javadoc comment. | 22 |
![]() |
whitespace | WhitespaceAround | '{' is not followed by whitespace. | 27 |
![]() |
whitespace | WhitespaceAround | '}' is not preceded with whitespace. | 27 |
![]() |
misc | FinalParameters | Parameter name should be final. | 35 |
![]() |
coding | HiddenField | 'name' hides a field. | 35 |
![]() |
misc | FinalParameters | Parameter description should be final. | 35 |
![]() |
coding | HiddenField | 'description' hides a field. | 35 |
![]() |
regexp | RegexpSingleline | Line has trailing spaces. | 40 |
![]() |
design | DesignForExtension | Class 'Specialty' 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 'Specialty' final or making the method 'getName' static/final/abstract/empty, or adding allowed annotation for the method. | 41 |
![]() |
javadoc | MissingJavadocMethod | Missing a Javadoc comment. | 41 |
![]() |
design | DesignForExtension | Class 'Specialty' looks like designed for extension (can be subclassed), but the method 'setName' does not have javadoc that explains how to do that safely. If class is not designed for extension consider making the class 'Specialty' final or making the method 'setName' static/final/abstract/empty, or adding allowed annotation for the method. | 45 |
![]() |
javadoc | MissingJavadocMethod | Missing a Javadoc comment. | 45 |
![]() |
misc | FinalParameters | Parameter name should be final. | 45 |
![]() |
coding | HiddenField | 'name' hides a field. | 45 |
![]() |
regexp | RegexpSingleline | Line has trailing spaces. | 49 |
![]() |
design | DesignForExtension | Class 'Specialty' looks like designed for extension (can be subclassed), but the method 'getDescription' does not have javadoc that explains how to do that safely. If class is not designed for extension consider making the class 'Specialty' final or making the method 'getDescription' static/final/abstract/empty, or adding allowed annotation for the method. | 50 |
![]() |
javadoc | MissingJavadocMethod | Missing a Javadoc comment. | 50 |
![]() |
design | DesignForExtension | Class 'Specialty' looks like designed for extension (can be subclassed), but the method 'setDescription' does not have javadoc that explains how to do that safely. If class is not designed for extension consider making the class 'Specialty' final or making the method 'setDescription' static/final/abstract/empty, or adding allowed annotation for the method. | 54 |
![]() |
javadoc | MissingJavadocMethod | Missing a Javadoc comment. | 54 |
![]() |
misc | FinalParameters | Parameter description should be final. | 54 |
![]() |
coding | HiddenField | 'description' hides a field. | 54 |
![]() |
whitespace | OperatorWrap | '+' should be on a new line. | 65 |
![]() |
whitespace | OperatorWrap | '+' should be on a new line. | 66 |
![]() |
whitespace | OperatorWrap | '+' should be on a new line. | 67 |
com/hospital/portal/model/User.java
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
![]() |
design | VisibilityModifier | Variable 'dni' must be private and have accessor methods. | 28 |
![]() |
regexp | RegexpSingleline | Line has trailing spaces. | 29 |
![]() |
regexp | RegexpSingleline | Line has trailing spaces. | 36 |
![]() |
regexp | RegexpSingleline | Line has trailing spaces. | 43 |
![]() |
regexp | RegexpSingleline | Line has trailing spaces. | 51 |
![]() |
regexp | RegexpSingleline | Line has trailing spaces. | 58 |
![]() |
regexp | RegexpSingleline | Line has trailing spaces. | 66 |
![]() |
regexp | RegexpSingleline | Line has trailing spaces. | 74 |
![]() |
regexp | RegexpSingleline | Line has trailing spaces. | 80 |
![]() |
sizes | LineLength | Line is longer than 80 characters (found 107). | 81 |
![]() |
whitespace | WhitespaceAround | '{' is not followed by whitespace. | 88 |
![]() |
whitespace | WhitespaceAround | '}' is not preceded with whitespace. | 88 |
![]() |
sizes | LineLength | Line is longer than 80 characters (found 138). | 102 |
![]() |
sizes | ParameterNumber | More than 7 parameters (found 8). | 102 |
![]() |
misc | FinalParameters | Parameter dni should be final. | 102 |
![]() |
coding | HiddenField | 'dni' hides a field. | 102 |
![]() |
misc | FinalParameters | Parameter name should be final. | 102 |
![]() |
coding | HiddenField | 'name' hides a field. | 102 |
![]() |
misc | FinalParameters | Parameter surname should be final. | 102 |
![]() |
coding | HiddenField | 'surname' hides a field. | 102 |
![]() |
misc | FinalParameters | Parameter birthDate should be final. | 102 |
![]() |
coding | HiddenField | 'birthDate' hides a field. | 102 |
![]() |
misc | FinalParameters | Parameter gender should be final. | 102 |
![]() |
coding | HiddenField | 'gender' hides a field. | 102 |
![]() |
misc | FinalParameters | Parameter phone should be final. | 102 |
![]() |
coding | HiddenField | 'phone' hides a field. | 102 |
![]() |
misc | FinalParameters | Parameter mail should be final. | 102 |
![]() |
coding | HiddenField | 'mail' hides a field. | 102 |
![]() |
misc | FinalParameters | Parameter password should be final. | 102 |
![]() |
coding | HiddenField | 'password' hides a field. | 102 |
![]() |
design | DesignForExtension | Class 'User' looks like designed for extension (can be subclassed), but the method 'getDni' 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 'getDni' static/final/abstract/empty, or adding allowed annotation for the method. | 114 |
![]() |
javadoc | MissingJavadocMethod | Missing a Javadoc comment. | 114 |
![]() |
design | DesignForExtension | Class 'User' looks like designed for extension (can be subclassed), but the method 'setDni' 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 'setDni' static/final/abstract/empty, or adding allowed annotation for the method. | 118 |
![]() |
javadoc | MissingJavadocMethod | Missing a Javadoc comment. | 118 |
![]() |
misc | FinalParameters | Parameter dni should be final. | 118 |
![]() |
coding | HiddenField | 'dni' hides a field. | 118 |
![]() |
design | DesignForExtension | Class 'User' 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 'User' final or making the method 'getName' static/final/abstract/empty, or adding allowed annotation for the method. | 122 |
![]() |
javadoc | MissingJavadocMethod | Missing a Javadoc comment. | 122 |
![]() |
design | DesignForExtension | Class 'User' looks like designed for extension (can be subclassed), but the method 'setName' 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 'setName' static/final/abstract/empty, or adding allowed annotation for the method. | 126 |
![]() |
javadoc | MissingJavadocMethod | Missing a Javadoc comment. | 126 |
![]() |
misc | FinalParameters | Parameter name should be final. | 126 |
![]() |
coding | HiddenField | 'name' hides a field. | 126 |
![]() |
design | DesignForExtension | Class 'User' looks like designed for extension (can be subclassed), but the method 'getSurname' 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 'getSurname' static/final/abstract/empty, or adding allowed annotation for the method. | 130 |
![]() |
javadoc | MissingJavadocMethod | Missing a Javadoc comment. | 130 |
![]() |
design | DesignForExtension | Class 'User' looks like designed for extension (can be subclassed), but the method 'setSurname' 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 'setSurname' static/final/abstract/empty, or adding allowed annotation for the method. | 134 |
![]() |
javadoc | MissingJavadocMethod | Missing a Javadoc comment. | 134 |
![]() |
misc | FinalParameters | Parameter surname should be final. | 134 |
![]() |
coding | HiddenField | 'surname' hides a field. | 134 |
![]() |
design | DesignForExtension | Class 'User' looks like designed for extension (can be subclassed), but the method 'getBirthDate' 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 'getBirthDate' static/final/abstract/empty, or adding allowed annotation for the method. | 138 |
![]() |
javadoc | MissingJavadocMethod | Missing a Javadoc comment. | 138 |
![]() |
design | DesignForExtension | Class 'User' looks like designed for extension (can be subclassed), but the method 'setBirthDate' 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 'setBirthDate' static/final/abstract/empty, or adding allowed annotation for the method. | 142 |
![]() |
javadoc | MissingJavadocMethod | Missing a Javadoc comment. | 142 |
![]() |
misc | FinalParameters | Parameter birthDate should be final. | 142 |
![]() |
coding | HiddenField | 'birthDate' hides a field. | 142 |
![]() |
design | DesignForExtension | Class 'User' looks like designed for extension (can be subclassed), but the method 'getGender' 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 'getGender' static/final/abstract/empty, or adding allowed annotation for the method. | 146 |
![]() |
javadoc | MissingJavadocMethod | Missing a Javadoc comment. | 146 |
![]() |
design | DesignForExtension | Class 'User' looks like designed for extension (can be subclassed), but the method 'setGender' 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 'setGender' static/final/abstract/empty, or adding allowed annotation for the method. | 150 |
![]() |
javadoc | MissingJavadocMethod | Missing a Javadoc comment. | 150 |
![]() |
misc | FinalParameters | Parameter gender should be final. | 150 |
![]() |
coding | HiddenField | 'gender' hides a field. | 150 |
![]() |
design | DesignForExtension | Class 'User' looks like designed for extension (can be subclassed), but the method 'getPhone' 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 'getPhone' static/final/abstract/empty, or adding allowed annotation for the method. | 154 |
![]() |
javadoc | MissingJavadocMethod | Missing a Javadoc comment. | 154 |
![]() |
design | DesignForExtension | Class 'User' looks like designed for extension (can be subclassed), but the method 'setPhone' 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 'setPhone' static/final/abstract/empty, or adding allowed annotation for the method. | 158 |
![]() |
javadoc | MissingJavadocMethod | Missing a Javadoc comment. | 158 |
![]() |
misc | FinalParameters | Parameter phone should be final. | 158 |
![]() |
coding | HiddenField | 'phone' hides a field. | 158 |
![]() |
design | DesignForExtension | Class 'User' 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 'User' final or making the method 'getEmail' static/final/abstract/empty, or adding allowed annotation for the method. | 162 |
![]() |
javadoc | MissingJavadocMethod | Missing a Javadoc comment. | 162 |
![]() |
design | DesignForExtension | Class 'User' 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 'User' final or making the method 'setEmail' static/final/abstract/empty, or adding allowed annotation for the method. | 166 |
![]() |
javadoc | MissingJavadocMethod | Missing a Javadoc comment. | 166 |
![]() |
misc | FinalParameters | Parameter mail should be final. | 166 |
![]() |
coding | HiddenField | 'mail' hides a field. | 166 |
![]() |
design | DesignForExtension | Class 'User' 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 'User' final or making the method 'getPassword' static/final/abstract/empty, or adding allowed annotation for the method. | 170 |
![]() |
javadoc | MissingJavadocMethod | Missing a Javadoc comment. | 170 |
![]() |
design | DesignForExtension | Class 'User' 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 'User' final or making the method 'setPassword' static/final/abstract/empty, or adding allowed annotation for the method. | 174 |
![]() |
javadoc | MissingJavadocMethod | Missing a Javadoc comment. | 174 |
![]() |
misc | FinalParameters | Parameter password should be final. | 174 |
![]() |
coding | HiddenField | 'password' hides a field. | 174 |
![]() |
whitespace | OperatorWrap | '+' should be on a new line. | 185 |
![]() |
whitespace | OperatorWrap | '+' should be on a new line. | 186 |
![]() |
whitespace | OperatorWrap | '+' should be on a new line. | 187 |
![]() |
whitespace | OperatorWrap | '+' should be on a new line. | 188 |
![]() |
whitespace | OperatorWrap | '+' should be on a new line. | 189 |
![]() |
whitespace | OperatorWrap | '+' should be on a new line. | 190 |
![]() |
whitespace | OperatorWrap | '+' should be on a new line. | 191 |
![]() |
whitespace | NoWhitespaceBefore | ';' is preceded with whitespace. | 192 |
com/hospital/portal/repository/AppointmentRepository.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 83). | 10 |
![]() |
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 |
![]() |
sizes | LineLength | Line is longer than 80 characters (found 89). | 13 |
![]() |
javadoc | MissingJavadocMethod | Missing a Javadoc comment. | 13 |
![]() |
sizes | LineLength | Line is longer than 80 characters (found 107). | 14 |
![]() |
javadoc | MissingJavadocMethod | Missing a Javadoc comment. | 14 |
![]() |
naming | ParameterName | Name 'specialty_name' must match pattern '^[a-z][a-zA-Z0-9]*$'. | 14 |
com/hospital/portal/repository/DoctorRepository.java
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
![]() |
whitespace | FileTabCharacter | File contains tab characters (this is the first instance). | 10 |
![]() |
javadoc | MissingJavadocMethod | Missing a Javadoc comment. | 10 |
com/hospital/portal/repository/PatientRepository.java
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
![]() |
javadoc | JavadocPackage | Missing package-info.java file. | 1 |
![]() |
javadoc | MissingJavadocMethod | Missing a Javadoc comment. | 10 |
![]() |
javadoc | MissingJavadocMethod | Missing a Javadoc comment. | 11 |
![]() |
javadoc | MissingJavadocMethod | Missing a Javadoc comment. | 12 |
![]() |
javadoc | MissingJavadocMethod | Missing a Javadoc comment. | 13 |
com/hospital/portal/service/AdminAppointmentService.java
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
![]() |
sizes | LineLength | Line is longer than 80 characters (found 93). | 18 |
![]() |
javadoc | JavadocVariable | Missing a Javadoc comment. | 18 |
![]() |
naming | ConstantName | Name 'logger' must match pattern '^[A-Z][A-Z0-9]*(_[A-Z0-9]+)*$'. | 18 |
![]() |
javadoc | JavadocVariable | Missing a Javadoc comment. | 20 |
![]() |
javadoc | JavadocVariable | Missing a Javadoc comment. | 21 |
![]() |
javadoc | JavadocVariable | Missing a Javadoc comment. | 22 |
![]() |
javadoc | JavadocMethod | Unused @param tag for 'AppointmentRepository'. | 27 |
![]() |
javadoc | JavadocMethod | Unused @param tag for 'DoctorRepository'. | 28 |
![]() |
javadoc | JavadocMethod | Unused @param tag for 'PatientRepository'. | 29 |
![]() |
regexp | RegexpSingleline | Line has trailing spaces. | 30 |
![]() |
misc | FinalParameters | Parameter appointmentRepository should be final. | 32 |
![]() |
coding | HiddenField | 'appointmentRepository' hides a field. | 32 |
![]() |
javadoc | JavadocMethod | Expected @param tag for 'appointmentRepository'. | 32 |
![]() |
misc | FinalParameters | Parameter doctorRepository should be final. | 33 |
![]() |
coding | HiddenField | 'doctorRepository' hides a field. | 33 |
![]() |
javadoc | JavadocMethod | Expected @param tag for 'doctorRepository'. | 33 |
![]() |
misc | FinalParameters | Parameter patientRepository should be final. | 34 |
![]() |
coding | HiddenField | 'patientRepository' hides a field. | 34 |
![]() |
javadoc | JavadocMethod | Expected @param tag for 'patientRepository'. | 34 |
![]() |
regexp | RegexpSingleline | Line has trailing spaces. | 42 |
![]() |
javadoc | JavadocMethod | Unused @param tag for 'An'. | 43 |
![]() |
misc | FinalParameters | Parameter appointmentRequest should be final. | 46 |
![]() |
javadoc | JavadocMethod | Expected @param tag for 'appointmentRequest'. | 46 |
![]() |
sizes | LineLength | Line is longer than 80 characters (found 91). | 49 |
![]() |
sizes | LineLength | Line is longer than 80 characters (found 107). | 51 |
![]() |
sizes | LineLength | Line is longer than 80 characters (found 129). | 52 |
![]() |
sizes | LineLength | Line is longer than 80 characters (found 95). | 55 |
![]() |
sizes | LineLength | Line is longer than 80 characters (found 109). | 57 |
![]() |
sizes | LineLength | Line is longer than 80 characters (found 131). | 58 |
![]() |
sizes | LineLength | Line is longer than 80 characters (found 89). | 67 |
![]() |
sizes | LineLength | Line is longer than 80 characters (found 92). | 71 |
![]() |
javadoc | JavadocMethod | Unused @param tag for 'Id'. | 77 |
![]() |
javadoc | JavadocMethod | Unused @param tag for 'An'. | 78 |
![]() |
sizes | LineLength | Line is longer than 80 characters (found 122). | 79 |
![]() |
misc | FinalParameters | Parameter id should be final. | 81 |
![]() |
javadoc | JavadocMethod | Expected @param tag for 'id'. | 81 |
![]() |
misc | FinalParameters | Parameter updatedData should be final. | 81 |
![]() |
javadoc | JavadocMethod | Expected @param tag for 'updatedData'. | 81 |
![]() |
sizes | LineLength | Line is longer than 80 characters (found 83). | 90 |
![]() |
blocks | NeedBraces | 'if' construct must use '{}'s. | 90 |
![]() |
sizes | LineLength | Line is longer than 80 characters (found 98). | 91 |
![]() |
blocks | NeedBraces | 'if' construct must use '{}'s. | 91 |
![]() |
sizes | LineLength | Line is longer than 80 characters (found 92). | 92 |
![]() |
blocks | NeedBraces | 'if' construct must use '{}'s. | 92 |
![]() |
sizes | LineLength | Line is longer than 80 characters (found 125). | 93 |
![]() |
blocks | NeedBraces | 'if' construct must use '{}'s. | 93 |
![]() |
sizes | LineLength | Line is longer than 80 characters (found 107). | 94 |
![]() |
blocks | NeedBraces | 'if' construct must use '{}'s. | 94 |
![]() |
sizes | LineLength | Line is longer than 80 characters (found 88). | 97 |
![]() |
sizes | LineLength | Line is longer than 80 characters (found 104). | 99 |
![]() |
sizes | LineLength | Line is longer than 80 characters (found 126). | 100 |
![]() |
sizes | LineLength | Line is longer than 80 characters (found 92). | 106 |
![]() |
sizes | LineLength | Line is longer than 80 characters (found 106). | 108 |
![]() |
sizes | LineLength | Line is longer than 80 characters (found 128). | 109 |
![]() |
sizes | LineLength | Line is longer than 80 characters (found 90). | 114 |
![]() |
regexp | RegexpSingleline | Line has trailing spaces. | 120 |
![]() |
javadoc | JavadocMethod | Unused @param tag for 'Id'. | 121 |
![]() |
misc | FinalParameters | Parameter id should be final. | 123 |
![]() |
javadoc | JavadocMethod | Expected @param tag for 'id'. | 123 |
![]() |
regexp | RegexpSingleline | Line has trailing spaces. | 147 |
![]() |
sizes | LineLength | Line is longer than 80 characters (found 99). | 159 |
com/hospital/portal/service/AdminService.java
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
![]() |
javadoc | JavadocVariable | Missing a Javadoc comment. | 17 |
![]() |
sizes | LineLength | Line is longer than 80 characters (found 82). | 18 |
![]() |
javadoc | JavadocVariable | Missing a Javadoc comment. | 18 |
![]() |
naming | ConstantName | Name 'logger' must match pattern '^[A-Z][A-Z0-9]*(_[A-Z0-9]+)*$'. | 18 |
![]() |
misc | FinalParameters | Parameter appointmentRepository should be final. | 25 |
![]() |
coding | HiddenField | 'appointmentRepository' hides a field. | 25 |
![]() |
javadoc | JavadocMethod | Expected @param tag for 'appointmentRepository'. | 25 |
com/hospital/portal/service/DocAppointmentService.java
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
![]() |
javadoc | JavadocPackage | Missing package-info.java file. | 1 |
![]() |
sizes | LineLength | Line is longer than 80 characters (found 91). | 21 |
![]() |
javadoc | JavadocVariable | Missing a Javadoc comment. | 21 |
![]() |
naming | ConstantName | Name 'logger' must match pattern '^[A-Z][A-Z0-9]*(_[A-Z0-9]+)*$'. | 21 |
![]() |
javadoc | JavadocVariable | Missing a Javadoc comment. | 24 |
![]() |
javadoc | JavadocVariable | Missing a Javadoc comment. | 25 |
![]() |
javadoc | JavadocVariable | Missing a Javadoc comment. | 26 |
![]() |
javadoc | JavadocMethod | Unused @param tag for 'AppointmentRepository'. | 31 |
![]() |
javadoc | JavadocMethod | Unused @param tag for 'DoctorRepository'. | 32 |
![]() |
javadoc | JavadocMethod | Unused @param tag for 'PatientRepository'. | 33 |
![]() |
regexp | RegexpSingleline | Line has trailing spaces. | 34 |
![]() |
sizes | LineLength | Line is longer than 80 characters (found 151). | 36 |
![]() |
misc | FinalParameters | Parameter appointmentRepository should be final. | 36 |
![]() |
coding | HiddenField | 'appointmentRepository' hides a field. | 36 |
![]() |
javadoc | JavadocMethod | Expected @param tag for 'appointmentRepository'. | 36 |
![]() |
misc | FinalParameters | Parameter doctorRepository should be final. | 36 |
![]() |
coding | HiddenField | 'doctorRepository' hides a field. | 36 |
![]() |
javadoc | JavadocMethod | Expected @param tag for 'doctorRepository'. | 36 |
![]() |
misc | FinalParameters | Parameter patientRepository should be final. | 36 |
![]() |
coding | HiddenField | 'patientRepository' hides a field. | 36 |
![]() |
javadoc | JavadocMethod | Expected @param tag for 'patientRepository'. | 36 |
![]() |
regexp | RegexpSingleline | Line has trailing spaces. | 41 |
![]() |
regexp | RegexpSingleline | Line has trailing spaces. | 51 |
![]() |
regexp | RegexpSingleline | Line has trailing spaces. | 64 |
![]() |
javadoc | JavadocMethod | Unused @param tag for 'DNI'. | 64 |
![]() |
regexp | RegexpSingleline | Line has trailing spaces. | 65 |
![]() |
misc | FinalParameters | Parameter dni should be final. | 67 |
![]() |
javadoc | JavadocMethod | Expected @param tag for 'dni'. | 67 |
![]() |
whitespace | WhitespaceAfter | ',' is not followed by whitespace. | 68 |
![]() |
regexp | RegexpSingleline | Line has trailing spaces. | 75 |
![]() |
javadoc | JavadocMethod | Unused @param tag for 'DNI'. | 76 |
![]() |
javadoc | JavadocMethod | Unused @param tag for 'An'. | 77 |
![]() |
sizes | LineLength | Line is longer than 80 characters (found 86). | 80 |
![]() |
misc | FinalParameters | Parameter dni should be final. | 80 |
![]() |
javadoc | JavadocMethod | Expected @param tag for 'dni'. | 80 |
![]() |
misc | FinalParameters | Parameter appointmentRequest should be final. | 80 |
![]() |
javadoc | JavadocMethod | Expected @param tag for 'appointmentRequest'. | 80 |
![]() |
whitespace | WhitespaceAfter | ',' is not followed by whitespace. | 81 |
![]() |
sizes | LineLength | Line is longer than 80 characters (found 102). | 84 |
![]() |
sizes | LineLength | Line is longer than 80 characters (found 89). | 92 |
![]() |
sizes | LineLength | Line is longer than 80 characters (found 98). | 101 |
![]() |
javadoc | JavadocMethod | Unused @param tag for 'Id'. | 111 |
![]() |
javadoc | JavadocMethod | Unused @param tag for 'An'. | 112 |
![]() |
sizes | LineLength | Line is longer than 80 characters (found 103). | 113 |
![]() |
sizes | LineLength | Line is longer than 80 characters (found 85). | 115 |
![]() |
misc | FinalParameters | Parameter id should be final. | 115 |
![]() |
javadoc | JavadocMethod | Expected @param tag for 'id'. | 115 |
![]() |
misc | FinalParameters | Parameter newAppointmentData should be final. | 115 |
![]() |
javadoc | JavadocMethod | Expected @param tag for 'newAppointmentData'. | 115 |
![]() |
sizes | LineLength | Line is longer than 80 characters (found 82). | 119 |
![]() |
sizes | LineLength | Line is longer than 80 characters (found 87). | 138 |
![]() |
regexp | RegexpSingleline | Line has trailing spaces. | 150 |
![]() |
javadoc | JavadocMethod | Unused @param tag for 'Id'. | 151 |
![]() |
misc | FinalParameters | Parameter id should be final. | 153 |
![]() |
javadoc | JavadocMethod | Expected @param tag for 'id'. | 153 |
![]() |
regexp | RegexpSingleline | Line has trailing spaces. | 158 |
![]() |
sizes | LineLength | Line is longer than 80 characters (found 84). | 160 |
![]() |
regexp | RegexpSingleline | Line has trailing spaces. | 161 |
![]() |
javadoc | JavadocMethod | Unused @param tag for 'DNI'. | 162 |
![]() |
javadoc | JavadocMethod | Unused @param tag for 'From'. | 163 |
![]() |
javadoc | JavadocMethod | Unused @param tag for 'To'. | 164 |
![]() |
sizes | LineLength | Line is longer than 80 characters (found 118). | 167 |
![]() |
misc | FinalParameters | Parameter dni should be final. | 167 |
![]() |
javadoc | JavadocMethod | Expected @param tag for 'dni'. | 167 |
![]() |
misc | FinalParameters | Parameter startDate should be final. | 167 |
![]() |
javadoc | JavadocMethod | Expected @param tag for 'startDate'. | 167 |
![]() |
misc | FinalParameters | Parameter endDate should be final. | 167 |
![]() |
javadoc | JavadocMethod | Expected @param tag for 'endDate'. | 167 |
![]() |
sizes | LineLength | Line is longer than 80 characters (found 87). | 168 |
com/hospital/portal/service/DoctorService.java
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
![]() |
sizes | LineLength | Line is longer than 80 characters (found 81). | 18 |
![]() |
javadoc | JavadocVariable | Missing a Javadoc comment. | 18 |
![]() |
naming | ConstantName | Name 'logger' must match pattern '^[A-Z][A-Z0-9]*(_[A-Z0-9]+)*$'. | 18 |
![]() |
javadoc | JavadocVariable | Missing a Javadoc comment. | 21 |
![]() |
regexp | RegexpSingleline | Line has trailing spaces. | 26 |
![]() |
javadoc | JavadocMethod | Unused @param tag for 'DNI'. | 27 |
![]() |
regexp | RegexpSingleline | Line has trailing spaces. | 28 |
![]() |
misc | FinalParameters | Parameter dni should be final. | 31 |
![]() |
javadoc | JavadocMethod | Expected @param tag for 'dni'. | 31 |
com/hospital/portal/service/LoginService.java
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
![]() |
sizes | LineLength | Line is longer than 80 characters (found 86). | 28 |
![]() |
javadoc | JavadocVariable | Missing a Javadoc comment. | 28 |
![]() |
sizes | LineLength | Line is longer than 80 characters (found 82). | 29 |
![]() |
javadoc | JavadocVariable | Missing a Javadoc comment. | 29 |
![]() |
naming | ConstantName | Name 'logger' must match pattern '^[A-Z][A-Z0-9]*(_[A-Z0-9]+)*$'. | 29 |
![]() |
regexp | RegexpSingleline | Line has trailing spaces. | 31 |
![]() |
javadoc | JavadocVariable | Missing a Javadoc comment. | 32 |
![]() |
javadoc | JavadocVariable | Missing a Javadoc comment. | 34 |
![]() |
javadoc | JavadocVariable | Missing a Javadoc comment. | 36 |
![]() |
javadoc | JavadocVariable | Missing a Javadoc comment. | 38 |
![]() |
regexp | RegexpSingleline | Line has trailing spaces. | 41 |
![]() |
sizes | LineLength | Line is longer than 80 characters (found 89). | 43 |
![]() |
javadoc | JavadocMethod | Unused @param tag for 'DNI'. | 43 |
![]() |
javadoc | JavadocMethod | Unused @param tag for 'Password'. | 44 |
![]() |
sizes | LineLength | Line is longer than 80 characters (found 144). | 45 |
![]() |
misc | FinalParameters | Parameter dni should be final. | 47 |
![]() |
javadoc | JavadocMethod | Expected @param tag for 'dni'. | 47 |
![]() |
misc | FinalParameters | Parameter password should be final. | 47 |
![]() |
javadoc | JavadocMethod | Expected @param tag for 'password'. | 47 |
![]() |
sizes | LineLength | Line is longer than 80 characters (found 103). | 51 |
![]() |
sizes | LineLength | Line is longer than 80 characters (found 85). | 53 |
![]() |
sizes | LineLength | Line is longer than 80 characters (found 105). | 57 |
![]() |
sizes | LineLength | Line is longer than 80 characters (found 88). | 58 |
![]() |
sizes | LineLength | Line is longer than 80 characters (found 107). | 62 |
![]() |
sizes | LineLength | Line is longer than 80 characters (found 91). | 63 |
![]() |
regexp | RegexpSingleline | Line has trailing spaces. | 69 |
![]() |
regexp | RegexpSingleline | Line has trailing spaces. | 71 |
![]() |
javadoc | JavadocMethod | Unused @param tag for 'DNI'. | 71 |
![]() |
javadoc | JavadocMethod | Unused @param tag for 'Name'. | 72 |
![]() |
javadoc | JavadocMethod | Unused @param tag for 'Roel'. | 73 |
![]() |
sizes | LineLength | Line is longer than 80 characters (found 83). | 76 |
![]() |
misc | FinalParameters | Parameter dni should be final. | 76 |
![]() |
javadoc | JavadocMethod | Expected @param tag for 'dni'. | 76 |
![]() |
misc | FinalParameters | Parameter name should be final. | 76 |
![]() |
javadoc | JavadocMethod | Expected @param tag for 'name'. | 76 |
![]() |
misc | FinalParameters | Parameter role should be final. | 76 |
![]() |
javadoc | JavadocMethod | Expected @param tag for 'role'. | 76 |
![]() |
regexp | RegexpSingleline | Line has trailing spaces. | 91 |
![]() |
regexp | RegexpSingleline | Line has trailing spaces. | 92 |
![]() |
sizes | LineLength | Line is longer than 80 characters (found 302). | 92 |
![]() |
sizes | LineLength | Line is longer than 80 characters (found 89). | 93 |
![]() |
javadoc | JavadocMethod | Unused @param tag for 'DNI'. | 93 |
![]() |
javadoc | JavadocMethod | Unused @param tag for 'Role'. | 94 |
![]() |
misc | FinalParameters | Parameter dni should be final. | 97 |
![]() |
javadoc | JavadocMethod | Expected @param tag for 'dni'. | 97 |
![]() |
misc | FinalParameters | Parameter role should be final. | 97 |
![]() |
javadoc | JavadocMethod | Expected @param tag for 'role'. | 97 |
![]() |
regexp | RegexpSingleline | Line has trailing spaces. | 100 |
![]() |
regexp | RegexpSingleline | Line has trailing spaces. | 101 |
![]() |
regexp | RegexpSingleline | Line has trailing spaces. | 102 |
![]() |
regexp | RegexpSingleline | Line has trailing spaces. | 103 |
![]() |
sizes | LineLength | Line is longer than 80 characters (found 94). | 103 |
![]() |
coding | MagicNumber | '1000' is a magic number. | 103 |
![]() |
coding | MagicNumber | '60' is a magic number. | 103 |
![]() |
coding | MagicNumber | '60' is a magic number. | 103 |
com/hospital/portal/service/PasswordService.java
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
![]() |
misc | NewlineAtEndOfFile | File does not end with a newline. | 1 |
![]() |
regexp | RegexpSingleline | Line has trailing spaces. | 9 |
![]() |
javadoc | JavadocVariable | Missing a Javadoc comment. | 10 |
![]() |
regexp | RegexpSingleline | Line has trailing spaces. | 12 |
![]() |
sizes | LineLength | Line is longer than 80 characters (found 86). | 13 |
![]() |
regexp | RegexpSingleline | Line has trailing spaces. | 18 |
![]() |
regexp | RegexpSingleline | Line has trailing spaces. | 19 |
![]() |
sizes | LineLength | Line is longer than 80 characters (found 82). | 20 |
![]() |
javadoc | JavadocMethod | Unused @param tag for 'Plain'. | 21 |
![]() |
misc | FinalParameters | Parameter plainPassword should be final. | 24 |
![]() |
javadoc | JavadocMethod | Expected @param tag for 'plainPassword'. | 24 |
![]() |
regexp | RegexpSingleline | Line has trailing spaces. | 27 |
![]() |
regexp | RegexpSingleline | Line has trailing spaces. | 28 |
![]() |
javadoc | JavadocMethod | Unused @param tag for 'Plain'. | 30 |
![]() |
javadoc | JavadocMethod | Unused @param tag for 'Hashed'. | 31 |
![]() |
javadoc | JavadocMethod | @return tag should be present and have description. | 33 |
![]() |
misc | FinalParameters | Parameter plainPassword should be final. | 33 |
![]() |
javadoc | JavadocMethod | Expected @param tag for 'plainPassword'. | 33 |
![]() |
misc | FinalParameters | Parameter hashedPassword should be final. | 33 |
![]() |
javadoc | JavadocMethod | Expected @param tag for 'hashedPassword'. | 33 |
com/hospital/portal/service/PatientAppointmentService.java
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
![]() |
sizes | LineLength | Line is longer than 80 characters (found 95). | 18 |
![]() |
javadoc | JavadocVariable | Missing a Javadoc comment. | 18 |
![]() |
naming | ConstantName | Name 'logger' must match pattern '^[A-Z][A-Z0-9]*(_[A-Z0-9]+)*$'. | 18 |
![]() |
regexp | RegexpSingleline | Line has trailing spaces. | 20 |
![]() |
javadoc | JavadocVariable | Missing a Javadoc comment. | 21 |
![]() |
regexp | RegexpSingleline | Line has trailing spaces. | 22 |
![]() |
javadoc | JavadocVariable | Missing a Javadoc comment. | 22 |
![]() |
javadoc | JavadocMethod | Unused @param tag for 'AppointmentRepository'. | 27 |
![]() |
javadoc | JavadocMethod | Unused @param tag for 'PatientRepository'. | 28 |
![]() |
regexp | RegexpSingleline | Line has trailing spaces. | 29 |
![]() |
sizes | LineLength | Line is longer than 80 characters (found 119). | 31 |
![]() |
misc | FinalParameters | Parameter appointmentRepository should be final. | 31 |
![]() |
coding | HiddenField | 'appointmentRepository' hides a field. | 31 |
![]() |
javadoc | JavadocMethod | Expected @param tag for 'appointmentRepository'. | 31 |
![]() |
misc | FinalParameters | Parameter patientRepository should be final. | 31 |
![]() |
coding | HiddenField | 'patientRepository' hides a field. | 31 |
![]() |
javadoc | JavadocMethod | Expected @param tag for 'patientRepository'. | 31 |
![]() |
whitespace | WhitespaceAround | '{' is not preceded with whitespace. | 31 |
![]() |
regexp | RegexpSingleline | Line has trailing spaces. | 33 |
![]() |
regexp | RegexpSingleline | Line has trailing spaces. | 49 |
![]() |
javadoc | JavadocMethod | Unused @param tag for 'DNI'. | 49 |
![]() |
regexp | RegexpSingleline | Line has trailing spaces. | 50 |
![]() |
misc | FinalParameters | Parameter patientDNI should be final. | 52 |
![]() |
javadoc | JavadocMethod | Expected @param tag for 'patientDNI'. | 52 |
![]() |
sizes | LineLength | Line is longer than 80 characters (found 120). | 59 |
![]() |
javadoc | JavadocMethod | Unused @param tag for 'DNI'. | 60 |
![]() |
regexp | RegexpSingleline | Line has trailing spaces. | 61 |
![]() |
javadoc | JavadocMethod | Unused @param tag for 'Name'. | 61 |
![]() |
sizes | LineLength | Line is longer than 80 characters (found 121). | 64 |
![]() |
misc | FinalParameters | Parameter patientDni should be final. | 64 |
![]() |
javadoc | JavadocMethod | Expected @param tag for 'patientDni'. | 64 |
![]() |
misc | FinalParameters | Parameter specialty_name should be final. | 64 |
![]() |
javadoc | JavadocMethod | Expected @param tag for 'specialty_name'. | 64 |
![]() |
naming | ParameterName | Name 'specialty_name' must match pattern '^[a-z][a-zA-Z0-9]*$'. | 64 |
![]() |
sizes | LineLength | Line is longer than 80 characters (found 84). | 65 |
![]() |
sizes | LineLength | Line is longer than 80 characters (found 104). | 66 |
![]() |
regexp | RegexpSingleline | Line has trailing spaces. | 69 |
![]() |
javadoc | JavadocMethod | Unused @param tag for 'DNI'. | 71 |
![]() |
javadoc | JavadocMethod | Unused @param tag for 'From'. | 72 |
![]() |
sizes | LineLength | Line is longer than 80 characters (found 91). | 75 |
![]() |
misc | FinalParameters | Parameter patientDNI should be final. | 75 |
![]() |
javadoc | JavadocMethod | Expected @param tag for 'patientDNI'. | 75 |
![]() |
misc | FinalParameters | Parameter dateTime should be final. | 75 |
![]() |
javadoc | JavadocMethod | Expected @param tag for 'dateTime'. | 75 |
![]() |
sizes | LineLength | Line is longer than 80 characters (found 83). | 77 |
![]() |
regexp | RegexpSingleline | Line has trailing spaces. | 79 |
![]() |
regexp | RegexpSingleline | Line has trailing spaces. | 80 |
![]() |
javadoc | JavadocMethod | Unused @param tag for 'DNI'. | 82 |
![]() |
javadoc | JavadocMethod | Unused @param tag for 'New'. | 83 |
![]() |
sizes | LineLength | Line is longer than 80 characters (found 90). | 86 |
![]() |
misc | FinalParameters | Parameter pateintDNI should be final. | 86 |
![]() |
javadoc | JavadocMethod | Expected @param tag for 'pateintDNI'. | 86 |
![]() |
misc | FinalParameters | Parameter appointment should be final. | 86 |
![]() |
javadoc | JavadocMethod | Expected @param tag for 'appointment'. | 86 |
![]() |
sizes | LineLength | Line is longer than 80 characters (found 159). | 89 |
![]() |
sizes | LineLength | Line is longer than 80 characters (found 82). | 97 |
![]() |
sizes | LineLength | Line is longer than 80 characters (found 99). | 106 |
![]() |
regexp | RegexpSingleline | Line has trailing spaces. | 111 |
![]() |
javadoc | JavadocMethod | Unused @param tag for 'Id'. | 116 |
![]() |
javadoc | JavadocMethod | Unused @param tag for 'An'. | 117 |
![]() |
sizes | LineLength | Line is longer than 80 characters (found 85). | 120 |
![]() |
misc | FinalParameters | Parameter id should be final. | 120 |
![]() |
javadoc | JavadocMethod | Expected @param tag for 'id'. | 120 |
![]() |
misc | FinalParameters | Parameter modifiedAppointment should be final. | 120 |
![]() |
javadoc | JavadocMethod | Expected @param tag for 'modifiedAppointment'. | 120 |
![]() |
whitespace | WhitespaceAround | '{' is not preceded with whitespace. | 120 |
![]() |
sizes | LineLength | Line is longer than 80 characters (found 157). | 123 |
![]() |
regexp | RegexpSingleline | Line has trailing spaces. | 124 |
![]() |
regexp | RegexpSingleline | Line has trailing spaces. | 128 |
![]() |
regexp | RegexpSingleline | Line has trailing spaces. | 132 |
![]() |
regexp | RegexpSingleline | Line has trailing spaces. | 136 |
![]() |
regexp | RegexpSingleline | Line has trailing spaces. | 140 |
![]() |
sizes | LineLength | Line is longer than 80 characters (found 91). | 142 |
![]() |
regexp | RegexpSingleline | Line has trailing spaces. | 152 |
![]() |
regexp | RegexpSingleline | Line has trailing spaces. | 155 |
![]() |
javadoc | JavadocMethod | Unused @param tag for 'Id'. | 156 |
![]() |
misc | FinalParameters | Parameter id should be final. | 158 |
![]() |
javadoc | JavadocMethod | Expected @param tag for 'id'. | 158 |
![]() |
regexp | RegexpSingleline | Line has trailing spaces. | 164 |
com/hospital/portal/service/PatientService.java
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
![]() |
imports | UnusedImports | Unused import - com.hospital.portal.controller.RegisterController. | 8 |
![]() |
sizes | LineLength | Line is longer than 80 characters (found 84). | 18 |
![]() |
javadoc | JavadocVariable | Missing a Javadoc comment. | 18 |
![]() |
naming | ConstantName | Name 'logger' must match pattern '^[A-Z][A-Z0-9]*(_[A-Z0-9]+)*$'. | 18 |
![]() |
javadoc | JavadocVariable | Missing a Javadoc comment. | 21 |
![]() |
regexp | RegexpSingleline | Line has trailing spaces. | 26 |
![]() |
javadoc | JavadocMethod | Unused @param tag for 'SNI'. | 27 |
![]() |
regexp | RegexpSingleline | Line has trailing spaces. | 28 |
![]() |
misc | FinalParameters | Parameter dni should be final. | 31 |
![]() |
javadoc | JavadocMethod | Expected @param tag for 'dni'. | 31 |
![]() |
regexp | RegexpSingleline | Line has trailing spaces. | 37 |
com/hospital/portal/service/RegisterService.java
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
![]() |
javadoc | JavadocVariable | Missing a Javadoc comment. | 18 |
![]() |
javadoc | JavadocVariable | Missing a Javadoc comment. | 20 |
![]() |
sizes | LineLength | Line is longer than 80 characters (found 85). | 22 |
![]() |
javadoc | JavadocVariable | Missing a Javadoc comment. | 22 |
![]() |
naming | ConstantName | Name 'logger' must match pattern '^[A-Z][A-Z0-9]*(_[A-Z0-9]+)*$'. | 22 |
![]() |
regexp | RegexpSingleline | Line has trailing spaces. | 27 |
![]() |
sizes | LineLength | Line is longer than 80 characters (found 90). | 32 |
![]() |
javadoc | JavadocMethod | Unused @param tag for 'DNI'. | 49 |
![]() |
javadoc | JavadocMethod | Unused @param tag for 'Name'. | 50 |
![]() |
javadoc | JavadocMethod | Unused @param tag for 'Surname'. | 51 |
![]() |
javadoc | JavadocMethod | Unused @param tag for 'Phone'. | 52 |
![]() |
javadoc | JavadocMethod | Unused @param tag for 'email'. | 53 |
![]() |
javadoc | JavadocMethod | Unused @param tag for 'birthdate'. | 54 |
![]() |
javadoc | JavadocMethod | Unused @param tag for 'Gender'. | 55 |
![]() |
javadoc | JavadocMethod | Unused @param tag for 'Password'. | 56 |
![]() |
sizes | LineLength | Line is longer than 80 characters (found 112). | 57 |
![]() |
sizes | LineLength | Line is longer than 80 characters (found 101). | 59 |
![]() |
sizes | ParameterNumber | More than 7 parameters (found 8). | 59 |
![]() |
misc | FinalParameters | Parameter dni should be final. | 59 |
![]() |
javadoc | JavadocMethod | Expected @param tag for 'dni'. | 59 |
![]() |
misc | FinalParameters | Parameter name should be final. | 59 |
![]() |
javadoc | JavadocMethod | Expected @param tag for 'name'. | 59 |
![]() |
misc | FinalParameters | Parameter surname should be final. | 59 |
![]() |
javadoc | JavadocMethod | Expected @param tag for 'surname'. | 59 |
![]() |
misc | FinalParameters | Parameter phone should be final. | 59 |
![]() |
javadoc | JavadocMethod | Expected @param tag for 'phone'. | 59 |
![]() |
misc | FinalParameters | Parameter mail should be final. | 59 |
![]() |
javadoc | JavadocMethod | Expected @param tag for 'mail'. | 59 |
![]() |
misc | FinalParameters | Parameter birthDate should be final. | 60 |
![]() |
javadoc | JavadocMethod | Expected @param tag for 'birthDate'. | 60 |
![]() |
misc | FinalParameters | Parameter gender should be final. | 60 |
![]() |
javadoc | JavadocMethod | Expected @param tag for 'gender'. | 60 |
![]() |
misc | FinalParameters | Parameter password should be final. | 60 |
![]() |
javadoc | JavadocMethod | Expected @param tag for 'password'. | 60 |
![]() |
sizes | LineLength | Line is longer than 80 characters (found 89). | 64 |
com/hospital/portal/service/RoleService.java
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
![]() |
misc | NewlineAtEndOfFile | File does not end with a newline. | 1 |
![]() |
javadoc | JavadocVariable | Missing a Javadoc comment. | 15 |
![]() |
regexp | RegexpSingleline | Line has trailing spaces. | 17 |
![]() |
javadoc | JavadocVariable | Missing a Javadoc comment. | 18 |
![]() |
regexp | RegexpSingleline | Line has trailing spaces. | 20 |
![]() |
javadoc | JavadocVariable | Missing a Javadoc comment. | 21 |
![]() |
sizes | LineLength | Line is longer than 80 characters (found 81). | 24 |
![]() |
javadoc | JavadocVariable | Missing a Javadoc comment. | 24 |
![]() |
naming | ConstantName | Name 'logger' must match pattern '^[A-Z][A-Z0-9]*(_[A-Z0-9]+)*$'. | 24 |
![]() |
sizes | LineLength | Line is longer than 80 characters (found 99). | 27 |
![]() |
javadoc | JavadocMethod | Unused @param tag for 'DNI'. | 28 |
![]() |
misc | FinalParameters | Parameter dni should be final. | 31 |
![]() |
javadoc | JavadocMethod | Expected @param tag for 'dni'. | 31 |
lang/messages.properties
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
![]() |
regexp | RegexpSingleline | Line has trailing spaces. | 19 |
![]() |
misc | Translation | Key 'admin.home.modal.admin.date' missing. | 1 |
![]() |
misc | Translation | Key 'admin.home.modal.admin.doctor' missing. | 1 |
![]() |
misc | Translation | Key 'admin.home.modal.admin.endTime' missing. | 1 |
![]() |
misc | Translation | Key 'admin.home.modal.admin.patient' missing. | 1 |
![]() |
misc | Translation | Key 'admin.home.modal.admin.startTime' missing. | 1 |
![]() |
misc | Translation | Key 'admin.home.modal.admin.title' missing. | 1 |
![]() |
misc | Translation | Key 'admin.home.modal.button.close' missing. | 1 |
![]() |
misc | Translation | Key 'admin.home.modal.button.delete' missing. | 1 |
![]() |
misc | Translation | Key 'admin.home.modal.button.edit' missing. | 1 |
![]() |
misc | Translation | Key 'admin.home.modal.button.save' missing. | 1 |
![]() |
misc | Translation | Key 'admin.home.modal.doctor.dni' missing. | 1 |
![]() |
misc | Translation | Key 'admin.home.modal.doctor.name' missing. | 1 |
![]() |
misc | Translation | Key 'admin.home.modal.doctor.surname' missing. | 1 |
![]() |
misc | Translation | Key 'admin.home.modal.doctor.title' missing. | 1 |
![]() |
misc | Translation | Key 'admin.home.modal.patient.birthDate' missing. | 1 |
![]() |
misc | Translation | Key 'admin.home.modal.patient.dni' missing. | 1 |
![]() |
misc | Translation | Key 'admin.home.modal.patient.email' missing. | 1 |
![]() |
misc | Translation | Key 'admin.home.modal.patient.gender' missing. | 1 |
![]() |
misc | Translation | Key 'admin.home.modal.patient.gender.female' missing. | 1 |
![]() |
misc | Translation | Key 'admin.home.modal.patient.gender.male' missing. | 1 |
![]() |
misc | Translation | Key 'admin.home.modal.patient.name' missing. | 1 |
![]() |
misc | Translation | Key 'admin.home.modal.patient.phone' missing. | 1 |
![]() |
misc | Translation | Key 'admin.home.modal.patient.surname' missing. | 1 |
![]() |
misc | Translation | Key 'admin.home.modal.patient.title' missing. | 1 |
![]() |
misc | Translation | Key 'admin.home.tab.appointments' missing. | 1 |
![]() |
misc | Translation | Key 'admin.home.tab.appointments.actions' missing. | 1 |
![]() |
misc | Translation | Key 'admin.home.tab.appointments.button' missing. | 1 |
![]() |
misc | Translation | Key 'admin.home.tab.appointments.date' missing. | 1 |
![]() |
misc | Translation | Key 'admin.home.tab.appointments.doctor' missing. | 1 |
![]() |
misc | Translation | Key 'admin.home.tab.appointments.endTime' missing. | 1 |
![]() |
misc | Translation | Key 'admin.home.tab.appointments.id' missing. | 1 |
![]() |
misc | Translation | Key 'admin.home.tab.appointments.patient' missing. | 1 |
![]() |
misc | Translation | Key 'admin.home.tab.appointments.startTime' missing. | 1 |
![]() |
misc | Translation | Key 'admin.home.tab.doctors' missing. | 1 |
![]() |
misc | Translation | Key 'admin.home.tab.doctors.actions' missing. | 1 |
![]() |
misc | Translation | Key 'admin.home.tab.doctors.button' missing. | 1 |
![]() |
misc | Translation | Key 'admin.home.tab.doctors.dni' missing. | 1 |
![]() |
misc | Translation | Key 'admin.home.tab.doctors.name' missing. | 1 |
![]() |
misc | Translation | Key 'admin.home.tab.doctors.surname' missing. | 1 |
![]() |
misc | Translation | Key 'admin.home.tab.patients' missing. | 1 |
![]() |
misc | Translation | Key 'admin.home.tab.patients.actions' missing. | 1 |
![]() |
misc | Translation | Key 'admin.home.tab.patients.birthDate' missing. | 1 |
![]() |
misc | Translation | Key 'admin.home.tab.patients.button' missing. | 1 |
![]() |
misc | Translation | Key 'admin.home.tab.patients.dni' missing. | 1 |
![]() |
misc | Translation | Key 'admin.home.tab.patients.email' missing. | 1 |
![]() |
misc | Translation | Key 'admin.home.tab.patients.gender' missing. | 1 |
![]() |
misc | Translation | Key 'admin.home.tab.patients.name' missing. | 1 |
![]() |
misc | Translation | Key 'admin.home.tab.patients.phone' missing. | 1 |
![]() |
misc | Translation | Key 'admin.home.tab.patients.surname' missing. | 1 |
![]() |
misc | Translation | Key 'admin.home.title' missing. | 1 |
![]() |
misc | Translation | Key 'calendar.button.close' missing. | 1 |
![]() |
misc | Translation | Key 'calendar.button.delete' missing. | 1 |
![]() |
misc | Translation | Key 'calendar.button.newAppointment' missing. | 1 |
![]() |
misc | Translation | Key 'calendar.button.save' missing. | 1 |
![]() |
misc | Translation | Key 'calendar.confirm.delete' missing. | 1 |
![]() |
misc | Translation | Key 'calendar.conflict.message' missing. | 1 |
![]() |
misc | Translation | Key 'calendar.conflict.title' missing. | 1 |
![]() |
misc | Translation | Key 'calendar.delete.confirmation' missing. | 1 |
![]() |
misc | Translation | Key 'calendar.delete.error' missing. | 1 |
![]() |
misc | Translation | Key 'calendar.error.delete' missing. | 1 |
![]() |
misc | Translation | Key 'calendar.error.general' missing. | 1 |
![]() |
misc | Translation | Key 'calendar.form.date' missing. | 1 |
![]() |
misc | Translation | Key 'calendar.form.endTime' missing. | 1 |
![]() |
misc | Translation | Key 'calendar.form.observations' missing. | 1 |
![]() |
misc | Translation | Key 'calendar.form.purpose' missing. | 1 |
![]() |
misc | Translation | Key 'calendar.form.startTime' missing. | 1 |
![]() |
misc | Translation | Key 'calendar.modal.editTitle' missing. | 1 |
![]() |
misc | Translation | Key 'calendar.modal.newTitle' missing. | 1 |
![]() |
misc | Translation | Key 'calendar.modal.title' missing. | 1 |
![]() |
misc | Translation | Key 'calendar.noAppointments' missing. | 1 |
![]() |
misc | Translation | Key 'calendar.pastDate.message' missing. | 1 |
![]() |
misc | Translation | Key 'calendar.pastDate.title' missing. | 1 |
![]() |
misc | Translation | Key 'calendar.title' missing. | 1 |
![]() |
misc | Translation | Key 'language.select' missing. | 1 |
![]() |
misc | Translation | Key 'locale.language' missing. | 1 |
![]() |
misc | Translation | Key 'pat.calendar.appointmentsFor' missing. | 1 |
![]() |
misc | Translation | Key 'pat.calendar.button.close' missing. | 1 |
![]() |
misc | Translation | Key 'pat.calendar.button.delete' missing. | 1 |
![]() |
misc | Translation | Key 'pat.calendar.button.save' missing. | 1 |
![]() |
misc | Translation | Key 'pat.calendar.delete.confirmation' missing. | 1 |
![]() |
misc | Translation | Key 'pat.calendar.delete.error' missing. | 1 |
![]() |
misc | Translation | Key 'pat.calendar.form.date' missing. | 1 |
![]() |
misc | Translation | Key 'pat.calendar.form.doctorDNI' missing. | 1 |
![]() |
misc | Translation | Key 'pat.calendar.form.endTime' missing. | 1 |
![]() |
misc | Translation | Key 'pat.calendar.form.observations' missing. | 1 |
![]() |
misc | Translation | Key 'pat.calendar.form.purpose' missing. | 1 |
![]() |
misc | Translation | Key 'pat.calendar.form.startTime' missing. | 1 |
![]() |
misc | Translation | Key 'pat.calendar.modal.title' missing. | 1 |
![]() |
misc | Translation | Key 'pat.calendar.noAppointments' missing. | 1 |
![]() |
misc | Translation | Key 'register.gendervalues.female' missing. | 1 |
![]() |
misc | Translation | Key 'register.gendervalues.male' missing. | 1 |
![]() |
misc | Translation | Key 'register.gendervalues.none' missing. | 1 |
![]() |
misc | Translation | Key 'register.gendervalues.other' missing. | 1 |
![]() |
misc | Translation | Key 'userData.birthDate.label' missing. | 1 |
![]() |
misc | Translation | Key 'userData.dni.label' missing. | 1 |
![]() |
misc | Translation | Key 'userData.email.label' missing. | 1 |
![]() |
misc | Translation | Key 'userData.footer.label' missing. | 1 |
![]() |
misc | Translation | Key 'userData.gender.label' missing. | 1 |
![]() |
misc | Translation | Key 'userData.menu.home' missing. | 1 |
![]() |
misc | Translation | Key 'userData.menu.logout' missing. | 1 |
![]() |
misc | Translation | Key 'userData.menu.viewBtn' missing. | 1 |
![]() |
misc | Translation | Key 'userData.name.label' missing. | 1 |
![]() |
misc | Translation | Key 'userData.phone.label' missing. | 1 |
![]() |
misc | Translation | Key 'userData.surname.label' missing. | 1 |
![]() |
misc | Translation | Key 'userData.title' missing. | 1 |
lang/messages_en.properties
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
![]() |
regexp | RegexpSingleline | Line has trailing spaces. | 22 |
![]() |
regexp | RegexpSingleline | Line has trailing spaces. | 142 |
![]() |
regexp | RegexpSingleline | Line has trailing spaces. | 185 |
![]() |
misc | Translation | Key 'register.gender.placeholder' missing. | 1 |
lang/messages_es.properties
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
![]() |
regexp | RegexpSingleline | Line has trailing spaces. | 21 |
![]() |
regexp | RegexpSingleline | Line has trailing spaces. | 30 |
![]() |
regexp | RegexpSingleline | Line has trailing spaces. | 144 |
![]() |
misc | Translation | Key 'register.gender.placeholder' missing. | 1 |
lang/messages_fr.properties
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
![]() |
misc | NewlineAtEndOfFile | File does not end with a newline. | 1 |
![]() |
regexp | RegexpSingleline | Line has trailing spaces. | 23 |
![]() |
regexp | RegexpSingleline | Line has trailing spaces. | 32 |
![]() |
regexp | RegexpSingleline | Line has trailing spaces. | 140 |
![]() |
misc | Translation | Key 'register.gender.placeholder' missing. | 1 |