The following document contains the results of Checkstyle.
Rules | Violations | Severity |
---|---|---|
JavadocPackage
| 2 | Error |
NewlineAtEndOfFile | 6 | Error |
Translation | 0 | Error |
FileLength | 0 | Error |
FileTabCharacter
| 0 | Error |
RegexpSingleline
| 32 | Error |
JavadocMethod | 77 | Error |
JavadocType | 2 | Error |
JavadocVariable | 31 | Error |
JavadocStyle | 7 | Error |
ConstantName | 0 | Error |
LocalFinalVariableName | 0 | Error |
LocalVariableName | 0 | Error |
MemberName | 0 | Error |
MethodName | 0 | Error |
PackageName | 0 | Error |
ParameterName | 0 | Error |
StaticVariableName | 0 | Error |
TypeName | 0 | Error |
AvoidStarImport | 2 | Error |
IllegalImport | 0 | Error |
RedundantImport | 0 | Error |
UnusedImports | 0 | Error |
LineLength | 32 | Error |
MethodLength | 0 | Error |
ParameterNumber | 0 | Error |
EmptyForIteratorPad | 0 | Error |
MethodParamPad | 0 | Error |
NoWhitespaceAfter | 0 | Error |
NoWhitespaceBefore | 0 | Error |
OperatorWrap | 2 | Error |
ParenPad | 0 | Error |
TypecastParenPad | 0 | Error |
WhitespaceAfter | 0 | Error |
WhitespaceAround | 5 | Error |
ModifierOrder | 0 | Error |
RedundantModifier | 0 | Error |
AvoidNestedBlocks | 0 | Error |
EmptyBlock | 0 | Error |
LeftCurly | 0 | Error |
NeedBraces | 0 | Error |
RightCurly | 0 | Error |
AvoidInlineConditionals | 5 | Error |
DoubleCheckedLocking | 0 | Error |
EmptyStatement | 0 | Error |
EqualsHashCode | 0 | Error |
HiddenField | 57 | Error |
IllegalInstantiation | 0 | Error |
InnerAssignment | 0 | Error |
MagicNumber | 0 | Error |
MissingSwitchDefault | 0 | Error |
RedundantThrows | 0 | Error |
SimplifyBooleanExpression | 0 | Error |
SimplifyBooleanReturn | 0 | Error |
DesignForExtension | 69 | Error |
FinalClass | 0 | Error |
HideUtilityClassConstructor | 0 | Error |
InterfaceIsType | 0 | Error |
VisibilityModifier | 1 | Error |
ArrayTypeStyle | 0 | Error |
FinalParameters | 75 | Error |
TodoComment | 4 | Error |
UpperEll | 0 | Error |
Violation | Message | Line |
---|---|---|
Missing package-info.java file. | 0 | |
Missing a Javadoc comment. | 27 | |
Method 'findAll' is not designed for extension - needs to be abstract, final or empty. | 31 | |
Missing a Javadoc comment. | 31 |
Violation | Message | Line |
---|---|---|
Missing a Javadoc comment. | 26 | |
Line has trailing spaces. | 29 |
Violation | Message | Line |
---|---|---|
Line has trailing spaces. | 25 | |
Missing a Javadoc comment. | 26 | |
Line has trailing spaces. | 29 |
Violation | Message | Line |
---|---|---|
Missing a Javadoc comment. | 26 | |
Line has trailing spaces. | 29 |
Violation | Message | Line |
---|---|---|
File does not end with a newline. | 0 | |
Type Javadoc comment is missing an @param <E> tag. | 28 | |
Type Javadoc comment is missing an @param <I> tag. | 28 | |
Missing a Javadoc comment. | 30 | |
Variable 'entityManager' must be private and have accessor methods. | 30 | |
Missing a Javadoc comment. | 31 | |
Missing a Javadoc comment. | 32 | |
Missing a Javadoc comment. | 34 | |
Parameter entityClass should be final. | 34 | |
'entityClass' hides a field. | 34 | |
Parameter keyClass should be final. | 34 | |
'keyClass' hides a field. | 34 | |
First sentence should end with a period. | 39 | |
Expected an @return tag. | 46 | |
Method 'createNativeQuery' is not designed for extension - needs to be abstract, final or empty. | 46 | |
Parameter query should be final. | 47 | |
Expected @param tag for 'query'. | 47 | |
Method 'findBy' is not designed for extension - needs to be abstract, final or empty. | 51 | |
Missing a Javadoc comment. | 51 | |
Parameter id should be final. | 51 | |
Method 'save' is not designed for extension - needs to be abstract, final or empty. | 55 | |
Missing a Javadoc comment. | 55 | |
Parameter object should be final. | 55 | |
Line is longer than 80 characters. | 56 | |
Method 'remove' is not designed for extension - needs to be abstract, final or empty. | 63 | |
Missing a Javadoc comment. | 63 | |
Parameter object should be final. | 63 | |
Method 'getEntityManager' is not designed for extension - needs to be abstract, final or empty. | 71 | |
Method 'setEntityManager' is not designed for extension - needs to be abstract, final or empty. | 78 | |
Parameter entityManager should be final. | 79 | |
'entityManager' hides a field. | 79 | |
First sentence should end with a period. | 83 | |
Expected an @return tag. | 90 | |
Method 'findByNativeQuery' is not designed for extension - needs to be abstract, final or empty. | 90 | |
Parameter query should be final. | 91 | |
Expected @param tag for 'query'. | 91 | |
Method 'find' is not designed for extension - needs to be abstract, final or empty. | 95 | |
Missing a Javadoc comment. | 95 | |
Parameter query should be final. | 96 | |
Method 'findByNamedQuery' is not designed for extension - needs to be abstract, final or empty. | 100 | |
Missing a Javadoc comment. | 100 | |
Parameter query should be final. | 101 |
Violation | Message | Line |
---|---|---|
File does not end with a newline. | 0 | |
Missing package-info.java file. | 0 | |
Line is longer than 80 characters. | 47 | |
Line is longer than 80 characters. | 48 | |
Line is longer than 80 characters. | 49 | |
Line is longer than 80 characters. | 50 | |
Line has trailing spaces. | 53 | |
Missing a Javadoc comment. | 54 | |
Line has trailing spaces. | 55 | |
Missing a Javadoc comment. | 56 | |
Line has trailing spaces. | 60 | |
Missing a Javadoc comment. | 61 | |
Line has trailing spaces. | 63 | |
Missing a Javadoc comment. | 64 | |
Line has trailing spaces. | 66 | |
Missing a Javadoc comment. | 67 | |
Line has trailing spaces. | 70 | |
Missing a Javadoc comment. | 71 | |
Line has trailing spaces. | 74 | |
Line is longer than 80 characters. | 75 | |
Missing a Javadoc comment. | 75 | |
Method 'getCategoriasVO' is not designed for extension - needs to be abstract, final or empty. | 78 | |
Missing a Javadoc comment. | 78 | |
Method 'setCategoriasVO' is not designed for extension - needs to be abstract, final or empty. | 82 | |
Missing a Javadoc comment. | 82 | |
Parameter categoriasVO should be final. | 82 | |
'categoriasVO' hides a field. | 82 | |
Missing a Javadoc comment. | 86 | |
Line is longer than 80 characters. | 90 | |
Missing a Javadoc comment. | 90 | |
Parameter nmalbum should be final. | 90 | |
'nmalbum' hides a field. | 90 | |
Parameter descricao should be final. | 90 | |
'descricao' hides a field. | 90 | |
Parameter dtInsercao should be final. | 90 | |
'dtInsercao' hides a field. | 90 | |
Parameter categoriasVO should be final. | 90 | |
'categoriasVO' hides a field. | 90 | |
Parameter photos should be final. | 90 | |
'photos' hides a field. | 90 | |
Line is longer than 80 characters. | 98 | |
Missing a Javadoc comment. | 98 | |
Parameter key should be final. | 98 | |
Parameter nmalbum should be final. | 98 | |
'nmalbum' hides a field. | 98 | |
Parameter descricao should be final. | 98 | |
'descricao' hides a field. | 98 | |
Parameter dtInsercao should be final. | 98 | |
'dtInsercao' hides a field. | 98 | |
Parameter categoriasVO should be final. | 98 | |
'categoriasVO' hides a field. | 98 | |
Parameter photos should be final. | 98 | |
'photos' hides a field. | 98 | |
Missing a Javadoc comment. | 103 | |
Missing a Javadoc comment. | 107 | |
Parameter key should be final. | 107 | |
Expected an @return tag. | 115 | |
Method 'getAlbumid' is not designed for extension - needs to be abstract, final or empty. | 115 | |
Method 'setAlbumid' is not designed for extension - needs to be abstract, final or empty. | 123 | |
Parameter albumid should be final. | 123 | |
'albumid' hides a field. | 123 | |
Expected @param tag for 'albumid'. | 123 | |
Expected an @return tag. | 131 | |
Method 'getNmalbum' is not designed for extension - needs to be abstract, final or empty. | 131 | |
Method 'setNmalbum' is not designed for extension - needs to be abstract, final or empty. | 139 | |
Parameter nmalbum should be final. | 139 | |
'nmalbum' hides a field. | 139 | |
Expected @param tag for 'nmalbum'. | 139 | |
Method 'getDescricao' is not designed for extension - needs to be abstract, final or empty. | 146 | |
Method 'setDescricao' is not designed for extension - needs to be abstract, final or empty. | 153 | |
Parameter descricao should be final. | 153 | |
'descricao' hides a field. | 153 | |
Expected an @return tag. | 161 | |
Method 'getDtInsercao' is not designed for extension - needs to be abstract, final or empty. | 161 | |
Method 'setDtInsercao' is not designed for extension - needs to be abstract, final or empty. | 169 | |
Parameter dtInsercao should be final. | 169 | |
'dtInsercao' hides a field. | 169 | |
Expected @param tag for 'dtInsercao'. | 169 | |
Method 'hashCode' is not designed for extension - needs to be abstract, final or empty. | 173 | |
Avoid inline conditionals. | 176 | |
Method 'equals' is not designed for extension - needs to be abstract, final or empty. | 180 | |
Parameter object should be final. | 181 | |
Comment matches to-do format 'TODO:'. | 182 | |
Line is longer than 80 characters. | 182 | |
Line is longer than 80 characters. | 187 | |
Method 'toString' is not designed for extension - needs to be abstract, final or empty. | 193 | |
Method 'getPhotos' is not designed for extension - needs to be abstract, final or empty. | 201 | |
Method 'addPhotos' is not designed for extension - needs to be abstract, final or empty. | 208 | |
Parameter photos should be final. | 208 | |
'photos' hides a field. | 208 | |
Method 'addPhoto' is not designed for extension - needs to be abstract, final or empty. | 215 | |
Parameter photos should be final. | 215 | |
'photos' hides a field. | 215 | |
Method 'getPhotoBy' is not designed for extension - needs to be abstract, final or empty. | 224 | |
Parameter id should be final. | 224 | |
Expected @param tag for 'id'. | 224 | |
First sentence should end with a period. | 228 | |
Method 'removePhotoBy' is not designed for extension - needs to be abstract, final or empty. | 234 | |
Parameter id should be final. | 234 | |
Expected @param tag for 'id'. | 234 | |
Expected an @return tag. | 242 | |
Method 'getId' is not designed for extension - needs to be abstract, final or empty. | 242 |
Violation | Message | Line |
---|---|---|
File does not end with a newline. | 0 | |
First sentence should end with a period. | 23 | |
Line has trailing spaces. | 28 | |
Missing a Javadoc comment. | 29 | |
Missing a Javadoc comment. | 30 | |
Missing a Javadoc comment. | 31 | |
Missing a Javadoc comment. | 32 | |
Missing a Javadoc comment. | 33 | |
Missing a Javadoc comment. | 34 | |
Missing a Javadoc comment. | 36 | |
Missing a Javadoc comment. | 41 | |
Parameter key should be final. | 41 | |
'key' hides a field. | 41 | |
Method 'withAlbumName' is not designed for extension - needs to be abstract, final or empty. | 46 | |
Missing a Javadoc comment. | 46 | |
Parameter nmalbum should be final. | 46 | |
'nmalbum' hides a field. | 46 | |
Method 'withDescription' is not designed for extension - needs to be abstract, final or empty. | 51 | |
Missing a Javadoc comment. | 51 | |
Parameter descricao should be final. | 51 | |
'descricao' hides a field. | 51 | |
Method 'withCreationDate' is not designed for extension - needs to be abstract, final or empty. | 56 | |
Missing a Javadoc comment. | 56 | |
Parameter dtInsercao should be final. | 56 | |
'dtInsercao' hides a field. | 56 | |
Method 'withCategory' is not designed for extension - needs to be abstract, final or empty. | 61 | |
Missing a Javadoc comment. | 61 | |
Parameter categoriasVO should be final. | 61 | |
'categoriasVO' hides a field. | 61 | |
Method 'withPhoto' is not designed for extension - needs to be abstract, final or empty. | 66 | |
Missing a Javadoc comment. | 66 | |
Parameter photoVO should be final. | 66 | |
Method 'withPhotos' is not designed for extension - needs to be abstract, final or empty. | 71 | |
Missing a Javadoc comment. | 71 | |
Parameter photoVOs should be final. | 71 | |
'photoVOs' hides a field. | 71 | |
Method 'build' is not designed for extension - needs to be abstract, final or empty. | 76 | |
Missing a Javadoc comment. | 76 | |
Line has trailing spaces. | 77 | |
'?' should be on a new line. | 77 | |
Avoid inline conditionals. | 77 | |
Line has trailing spaces. | 78 | |
Line is longer than 80 characters. | 78 | |
':' should be on a new line. | 78 | |
Line is longer than 80 characters. | 79 | |
Line has trailing spaces. | 86 |
Violation | Message | Line |
---|---|---|
File does not end with a newline. | 0 | |
Using the '.*' form of import should be avoided - javax.persistence.*. | 23 | |
Line is longer than 80 characters. | 33 | |
Line is longer than 80 characters. | 34 | |
'}' is not preceded with whitespace. | 34 | |
Missing a Javadoc comment. | 37 | |
Line has trailing spaces. | 38 | |
Missing a Javadoc comment. | 39 | |
'=' is not preceded with whitespace. | 41 | |
'=' is not followed by whitespace. | 41 | |
Line has trailing spaces. | 43 | |
Missing a Javadoc comment. | 44 | |
Line has trailing spaces. | 46 | |
Missing a Javadoc comment. | 47 | |
Missing a Javadoc comment. | 51 | |
Missing a Javadoc comment. | 55 | |
Parameter categoriaID should be final. | 56 | |
'categoriaID' hides a field. | 56 | |
Missing a Javadoc comment. | 60 | |
Parameter categoriaID should be final. | 61 | |
'categoriaID' hides a field. | 61 | |
Parameter nmcategoria should be final. | 61 | |
'nmcategoria' hides a field. | 61 | |
Missing a Javadoc comment. | 66 | |
Parameter nmcategoria should be final. | 66 | |
'nmcategoria' hides a field. | 66 | |
Missing a Javadoc comment. | 70 | |
Parameter nmcategoria should be final. | 70 | |
'nmcategoria' hides a field. | 70 | |
Parameter categoriaPai should be final. | 70 | |
'categoriaPai' hides a field. | 70 | |
Line has trailing spaces. | 74 | |
Method 'getCategoriaID' is not designed for extension - needs to be abstract, final or empty. | 75 | |
Missing a Javadoc comment. | 75 | |
Method 'setCategoriaID' is not designed for extension - needs to be abstract, final or empty. | 79 | |
Missing a Javadoc comment. | 79 | |
Parameter categoriaid should be final. | 79 | |
Method 'getNmcategoria' is not designed for extension - needs to be abstract, final or empty. | 83 | |
Missing a Javadoc comment. | 83 | |
Method 'setNmcategoria' is not designed for extension - needs to be abstract, final or empty. | 87 | |
Missing a Javadoc comment. | 87 | |
Parameter nmcategoria should be final. | 87 | |
'nmcategoria' hides a field. | 87 | |
Method 'getCategoriaPai' is not designed for extension - needs to be abstract, final or empty. | 94 | |
Method 'setCategoriaPai' is not designed for extension - needs to be abstract, final or empty. | 101 | |
Parameter categoriaPai should be final. | 101 | |
'categoriaPai' hides a field. | 101 | |
Method 'hashCode' is not designed for extension - needs to be abstract, final or empty. | 105 | |
Avoid inline conditionals. | 108 | |
Method 'equals' is not designed for extension - needs to be abstract, final or empty. | 112 | |
Parameter object should be final. | 113 | |
Comment matches to-do format 'TODO:'. | 114 | |
Line is longer than 80 characters. | 114 | |
Line is longer than 80 characters. | 119 | |
Method 'toString' is not designed for extension - needs to be abstract, final or empty. | 125 | |
Line is longer than 80 characters. | 127 | |
Method 'getId' is not designed for extension - needs to be abstract, final or empty. | 130 |
Violation | Message | Line |
---|---|---|
File does not end with a newline. | 0 | |
Line is longer than 80 characters. | 41 | |
Line is longer than 80 characters. | 42 | |
'}' is not preceded with whitespace. | 42 | |
Missing a Javadoc comment. | 45 | |
Line has trailing spaces. | 46 | |
Missing a Javadoc comment. | 47 | |
Line has trailing spaces. | 51 | |
Missing a Javadoc comment. | 52 | |
Parameter nome should be final. | 66 | |
'nome' hides a field. | 66 | |
Expected @param tag for 'nome'. | 66 | |
Parameter creditoid should be final. | 74 | |
'creditoid' hides a field. | 74 | |
Expected @param tag for 'creditoid'. | 74 | |
Parameter creditoid should be final. | 84 | |
'creditoid' hides a field. | 84 | |
Expected @param tag for 'creditoid'. | 84 | |
Parameter nome should be final. | 84 | |
'nome' hides a field. | 84 | |
Expected @param tag for 'nome'. | 84 | |
Expected an @return tag. | 94 | |
Method 'getCreditoid' is not designed for extension - needs to be abstract, final or empty. | 94 | |
Expected an @return tag. | 102 | |
Method 'getNome' is not designed for extension - needs to be abstract, final or empty. | 102 | |
Method 'setNome' is not designed for extension - needs to be abstract, final or empty. | 111 | |
Parameter nome should be final. | 111 | |
'nome' hides a field. | 111 | |
Expected @param tag for 'nome'. | 111 | |
Method 'hashCode' is not designed for extension - needs to be abstract, final or empty. | 115 | |
Avoid inline conditionals. | 118 | |
Method 'equals' is not designed for extension - needs to be abstract, final or empty. | 122 | |
Parameter object should be final. | 123 | |
Comment matches to-do format 'TODO:'. | 124 | |
Line is longer than 80 characters. | 124 | |
Line is longer than 80 characters. | 129 | |
Method 'toString' is not designed for extension - needs to be abstract, final or empty. | 135 | |
Line is longer than 80 characters. | 137 | |
Expected an @return tag. | 144 | |
Method 'getId' is not designed for extension - needs to be abstract, final or empty. | 144 |
Violation | Message | Line |
---|---|---|
File does not end with a newline. | 0 | |
Using the '.*' form of import should be avoided - javax.persistence.*. | 23 | |
Line is longer than 80 characters. | 34 | |
Line is longer than 80 characters. | 35 | |
Line is longer than 80 characters. | 36 | |
Line is longer than 80 characters. | 37 | |
Line is longer than 80 characters. | 38 | |
'}' is not preceded with whitespace. | 38 | |
Line is longer than 80 characters. | 39 | |
Line has trailing spaces. | 40 | |
Missing a Javadoc comment. | 41 | |
Line has trailing spaces. | 42 | |
Missing a Javadoc comment. | 43 | |
Line has trailing spaces. | 47 | |
Missing a Javadoc comment. | 48 | |
Line has trailing spaces. | 50 | |
Missing a Javadoc comment. | 51 | |
Line has trailing spaces. | 53 | |
Missing a Javadoc comment. | 54 | |
Line has trailing spaces. | 57 | |
Missing a Javadoc comment. | 58 | |
Line has trailing spaces. | 61 | |
Missing a Javadoc comment. | 62 | |
Line has trailing spaces. | 64 | |
Missing a Javadoc comment. | 65 | |
First sentence should end with a period. | 68 | |
Comment matches to-do format 'TODO:'. | 69 | |
Line has trailing spaces. | 77 | |
Missing a Javadoc comment. | 78 | |
Line is longer than 80 characters. | 79 | |
Parameter fotoid should be final. | 79 | |
'fotoid' hides a field. | 79 | |
Parameter albumid should be final. | 79 | |
Parameter legenda should be final. | 79 | |
'legenda' hides a field. | 79 | |
Parameter creditoid should be final. | 79 | |
Parameter largura should be final. | 79 | |
'largura' hides a field. | 79 | |
Parameter altura should be final. | 79 | |
'altura' hides a field. | 79 | |
First sentence should end with a period. | 87 | |
Line has trailing spaces. | 92 | |
Unused @param tag for 'album'. | 92 | |
Line is longer than 80 characters. | 94 | |
Parameter nmfoto should be final. | 94 | |
'nmfoto' hides a field. | 94 | |
Expected @param tag for 'nmfoto'. | 94 | |
Parameter legenda should be final. | 94 | |
'legenda' hides a field. | 94 | |
Expected @param tag for 'legenda'. | 94 | |
Parameter creditos should be final. | 94 | |
'creditos' hides a field. | 94 | |
Expected @param tag for 'creditos'. | 94 | |
Parameter caminhoArquivo should be final. | 94 | |
'caminhoArquivo' hides a field. | 94 | |
Expected @param tag for 'caminhoArquivo'. | 94 | |
First sentence should end with a period. | 101 | |
Line has trailing spaces. | 106 | |
Line is longer than 80 characters. | 108 | |
Parameter nmfoto should be final. | 108 | |
'nmfoto' hides a field. | 108 | |
Expected @param tag for 'nmfoto'. | 108 | |
Parameter legenda should be final. | 108 | |
'legenda' hides a field. | 108 | |
Expected @param tag for 'legenda'. | 108 | |
Parameter creditos should be final. | 108 | |
'creditos' hides a field. | 108 | |
Expected @param tag for 'creditos'. | 108 | |
Parameter caminhoArquivo should be final. | 108 | |
'caminhoArquivo' hides a field. | 108 | |
Expected @param tag for 'caminhoArquivo'. | 108 | |
Parameter album should be final. | 108 | |
'album' hides a field. | 108 | |
Method 'getFotoid' is not designed for extension - needs to be abstract, final or empty. | 113 | |
Missing a Javadoc comment. | 113 | |
Method 'setFotoid' is not designed for extension - needs to be abstract, final or empty. | 117 | |
Missing a Javadoc comment. | 117 | |
Parameter fotoid should be final. | 117 | |
'fotoid' hides a field. | 117 | |
Method 'getNmfoto' is not designed for extension - needs to be abstract, final or empty. | 121 | |
Missing a Javadoc comment. | 121 | |
Method 'setNmfoto' is not designed for extension - needs to be abstract, final or empty. | 125 | |
Missing a Javadoc comment. | 125 | |
Parameter nmfoto should be final. | 125 | |
'nmfoto' hides a field. | 125 | |
Method 'getLegenda' is not designed for extension - needs to be abstract, final or empty. | 129 | |
Method 'setLegenda' is not designed for extension - needs to be abstract, final or empty. | 134 | |
Missing a Javadoc comment. | 134 | |
Parameter legenda should be final. | 134 | |
'legenda' hides a field. | 134 | |
Method 'toString' is not designed for extension - needs to be abstract, final or empty. | 138 | |
Method 'getCreditos' is not designed for extension - needs to be abstract, final or empty. | 143 | |
Method 'setCreditos' is not designed for extension - needs to be abstract, final or empty. | 148 | |
Missing a Javadoc comment. | 148 | |
Parameter creditos should be final. | 148 | |
'creditos' hides a field. | 148 | |
Method 'getAlbum' is not designed for extension - needs to be abstract, final or empty. | 152 | |
Missing a Javadoc comment. | 152 | |
Method 'setAlbum' is not designed for extension - needs to be abstract, final or empty. | 156 | |
Missing a Javadoc comment. | 156 | |
Parameter album should be final. | 156 | |
'album' hides a field. | 156 | |
Method 'getCaminhoArquivo' is not designed for extension - needs to be abstract, final or empty. | 163 | |
Method 'getAltura' is not designed for extension - needs to be abstract, final or empty. | 167 | |
Missing a Javadoc comment. | 167 | |
Method 'getLargura' is not designed for extension - needs to be abstract, final or empty. | 171 | |
Missing a Javadoc comment. | 171 | |
Method 'getId' is not designed for extension - needs to be abstract, final or empty. | 175 | |
Method 'getKey' is not designed for extension - needs to be abstract, final or empty. | 180 | |
Line is longer than 80 characters. | 182 | |
Avoid inline conditionals. | 182 |