The following document contains the results of Checkstyle
.
| Files | Infos |
Warnings |
Errors |
|---|---|---|---|
| 39 | 0 | 331 | 0 |
| Rules | Violations | Severity |
|---|---|---|
| JavadocMethod | 93 | |
| JavadocType | 20 | |
| JavadocVariable | 11 | |
| JavadocStyle | 0 | |
| ConstantName | 0 | |
| LocalFinalVariableName | 0 | |
| LocalVariableName | 0 | |
| MemberName | 0 | |
| MethodName | 0 | |
| PackageName | 0 | |
| ParameterName | 0 | |
| StaticVariableName | 0 | |
| TypeName | 0 | |
| AvoidStarImport | 0 | |
| IllegalImport | 0 | |
| RedundantImport | 0 | |
| UnusedImports | 2 | |
| FileLength | 0 | |
| MethodLength | 0 | |
| ParameterNumber | 0 | |
| ModifierOrder | 0 | |
| RedundantModifier | 20 | |
| AvoidNestedBlocks | 0 | |
| EmptyBlock | 0 | |
| LeftCurly | 0 | |
| NeedBraces | 2 | |
| RightCurly | 0 | |
| AvoidInlineConditionals | 0 | |
| DoubleCheckedLocking | 0 | |
| EmptyStatement | 0 | |
| EqualsHashCode | 0 | |
| IllegalInstantiation | 0 | |
| InnerAssignment | 0 | |
| MagicNumber | 0 | |
| MissingSwitchDefault | 0 | |
| RedundantThrows | 0 | |
| SimplifyBooleanExpression | 0 | |
| SimplifyBooleanReturn | 0 | |
| DesignForExtension | 41 | |
| FinalClass | 1 | |
| HideUtilityClassConstructor | 0 | |
| InterfaceIsType | 0 | |
| VisibilityModifier | 0 | |
| ArrayTypeStyle | 0 | |
| FinalParameters | 99 | |
| UpperEll | 0 | |
LineLength
|
27 | |
| CyclomaticComplexity | 3 | |
| ClassDataAbstractionCoupling | 1 | |
| ClassFanOutComplexity | 0 | |
| BooleanExpressionComplexity | 0 | |
| JavaNCSS | 1 | |
| NPathComplexity | 1 | |
| PackageHtml | 9 | |
| NewlineAtEndOfFile | 0 | |
| Translation | 0 |
| Violation | Message | Line |
|---|---|---|
| Missing a Javadoc comment. | 28 | |
| Missing a Javadoc comment. | 30 | |
| Missing a Javadoc comment. | 32 | |
| Unused @throws tag for 'IllegalStateException'. | 42 | |
| Method 'getEntityLocator' is not designed for extension - needs to be abstract, final or empty. | 53 | |
| Missing a Javadoc comment. | 53 | |
| Method 'setEntityLocator' is not designed for extension - needs to be abstract, final or empty. | 57 | |
| Missing a Javadoc comment. | 57 | |
| Parameter entityLocator should be final. | 57 | |
| Missing a Javadoc comment. | 61 | |
| Method 'populateDTOList' is not designed for extension - needs to be abstract, final or empty. | 65 | |
| Missing a Javadoc comment. | 65 | |
| Parameter domainObjects should be final. | 65 | |
| Parameter dtoClass should be final. | 66 | |
| Line is longer than 120 characters. | 75 | |
| Method 'populateDTO' is not designed for extension - needs to be abstract, final or empty. | 75 | |
| Missing a Javadoc comment. | 75 | |
| Parameter domainObject should be final. | 75 | |
| Parameter dtoClass should be final. | 75 | |
| Line is longer than 120 characters. | 79 | |
| Line is longer than 120 characters. | 85 | |
| Missing a Javadoc comment. | 92 | |
| Parameter domainObject should be final. | 92 | |
| Parameter dto should be final. | 92 | |
| Method 'populateDomainObject' is not designed for extension - needs to be abstract, final or empty. | 122 | |
| Parameter dto should be final. | 122 | |
| Parameter entityLocator should be final. | 122 | |
| Expected @param tag for 'entityLocator'. | 122 | |
| Line is longer than 120 characters. | 146 | |
| Missing a Javadoc comment. | 158 | |
| Parameter dto should be final. | 158 | |
| Parameter domainObject should be final. | 158 | |
| Method 'getPopulator' is not designed for extension - needs to be abstract, final or empty. | 172 | |
| Missing a Javadoc comment. | 172 | |
| Parameter dto should be final. | 172 |
| Violation | Message | Line |
|---|---|---|
| Missing a Javadoc comment. | 10 | |
| Missing a Javadoc comment. | 13 | |
| Redundant 'public' modifier. | 13 | |
| Missing a Javadoc comment. | 15 | |
| Missing a Javadoc comment. | 17 | |
| Redundant 'public' modifier. | 17 |
| Violation | Message | Line |
|---|---|---|
| Missing a Javadoc comment. | 14 | |
| Method 'populateField' is not designed for extension - needs to be abstract, final or empty. | 19 | |
| Parameter dtoField should be final. | 19 | |
| Expected @param tag for 'dtoField'. | 19 | |
| Parameter dto should be final. | 19 | |
| Expected @param tag for 'dto'. | 19 | |
| Parameter domainObject should be final. | 19 | |
| Expected @param tag for 'domainObject'. | 19 | |
| Cyclomatic Complexity is 12 (max allowed is 10). | 28 | |
| Missing a Javadoc comment. | 28 | |
| Parameter dtoField should be final. | 28 | |
| Parameter dto should be final. | 28 | |
| Parameter domainObject should be final. | 28 | |
| Line is longer than 120 characters. | 38 | |
| Line is longer than 120 characters. | 39 | |
| Line is longer than 120 characters. | 57 | |
| Line is longer than 120 characters. | 69 |
| Violation | Message | Line |
|---|---|---|
| Redundant 'public' modifier. | 19 | |
| Missing a Javadoc comment. | 21 | |
| Redundant 'public' modifier. | 21 | |
| Missing a Javadoc comment. | 23 | |
| Redundant 'public' modifier. | 23 | |
| Missing a Javadoc comment. | 25 | |
| Redundant 'public' modifier. | 25 | |
| Missing a Javadoc comment. | 27 | |
| Redundant 'public' modifier. | 27 |
| Violation | Message | Line |
|---|---|---|
| Class Logger should be declared as final. | 5 | |
| Missing a Javadoc comment. | 5 | |
| Missing a Javadoc comment. | 6 | |
| Missing a Javadoc comment. | 8 | |
| Missing a Javadoc comment. | 15 | |
| Parameter message should be final. | 15 | |
| Missing a Javadoc comment. | 19 | |
| Parameter message should be final. | 19 | |
| Missing a Javadoc comment. | 23 | |
| Parameter t should be final. | 23 | |
| Missing a Javadoc comment. | 27 | |
| Parameter error should be final. | 27 | |
| Parameter t should be final. | 27 |
| Violation | Message | Line |
|---|---|---|
| Missing a Javadoc comment. | 12 | |
| Missing a Javadoc comment. | 14 | |
| Method 'setDirectPopulationFieldValue' is not designed for extension - needs to be abstract, final or empty. | 26 | |
| Parameter dto should be final. | 26 | |
| Expected @param tag for 'dto'. | 26 | |
| Parameter dtoField should be final. | 26 | |
| Expected @param tag for 'dtoField'. | 26 | |
| Parameter domainObject should be final. | 26 | |
| Expected @param tag for 'domainObject'. | 26 | |
| Parameter domainField should be final. | 27 | |
| Expected @param tag for 'domainField'. | 27 |
| Violation | Message | Line |
|---|---|---|
| Line is longer than 120 characters. | 15 | |
| Type Javadoc comment is missing an @param <DOClass> tag. | 15 | |
| Type Javadoc comment is missing an @param <DTOClass> tag. | 15 |
| Violation | Message | Line |
|---|---|---|
| Missing package documentation file. | 0 |
| Violation | Message | Line |
|---|---|---|
| Missing a Javadoc comment. | 16 | |
| Missing a Javadoc comment. | 19 | |
| Missing a Javadoc comment. | 23 | |
| Method 'getId' is not designed for extension - needs to be abstract, final or empty. | 27 | |
| Missing a Javadoc comment. | 27 | |
| Method 'setId' is not designed for extension - needs to be abstract, final or empty. | 31 | |
| Missing a Javadoc comment. | 31 | |
| Parameter id should be final. | 31 | |
| Method 'isTransient' is not designed for extension - needs to be abstract, final or empty. | 35 | |
| Missing a Javadoc comment. | 35 | |
| Method 'equals' is not designed for extension - needs to be abstract, final or empty. | 39 | |
| Missing a Javadoc comment. | 39 | |
| Parameter o should be final. | 39 | |
| Method 'hashCode' is not designed for extension - needs to be abstract, final or empty. | 44 | |
| Missing a Javadoc comment. | 44 | |
| Method 'compareTo' is not designed for extension - needs to be abstract, final or empty. | 48 | |
| Missing a Javadoc comment. | 48 | |
| Parameter o should be final. | 48 | |
| Method 'toString' is not designed for extension - needs to be abstract, final or empty. | 53 | |
| Missing a Javadoc comment. | 53 | |
| Method 'getVersion' is not designed for extension - needs to be abstract, final or empty. | 62 | |
| Method 'setVersion' is not designed for extension - needs to be abstract, final or empty. | 74 | |
| Parameter version should be final. | 74 |
| Violation | Message | Line |
|---|---|---|
| Missing a Javadoc comment. | 12 | |
| Missing a Javadoc comment. | 14 | |
| Method 'setDomainField' is not designed for extension - needs to be abstract, final or empty. | 16 | |
| Missing a Javadoc comment. | 16 | |
| Parameter dto should be final. | 16 | |
| Parameter dtoField should be final. | 16 | |
| Parameter domainObject should be final. | 16 | |
| Parameter domainField should be final. | 16 | |
| Line is longer than 120 characters. | 34 |
| Violation | Message | Line |
|---|---|---|
| Unused Javadoc tag. | 31 | |
| Redundant 'public' modifier. | 33 | |
| Unused Javadoc tag. | 38 | |
| Redundant 'public' modifier. | 40 | |
| Missing a Javadoc comment. | 42 | |
| Redundant 'public' modifier. | 42 | |
| Redundant 'public' modifier. | 49 |
| Violation | Message | Line |
|---|---|---|
| Missing package documentation file. | 0 |
| Violation | Message | Line |
|---|---|---|
| Type Javadoc comment is missing an @param <DOClass> tag. | 14 | |
| Type Javadoc comment is missing an @param <DTOClass> tag. | 14 | |
| Missing a Javadoc comment. | 16 | |
| Redundant 'public' modifier. | 16 | |
| Missing a Javadoc comment. | 17 | |
| Redundant 'public' modifier. | 17 |
| Violation | Message | Line |
|---|---|---|
| Method 'getPropertyName' is not designed for extension - needs to be abstract, final or empty. | 18 | |
| Missing a Javadoc comment. | 18 | |
| Parameter field should be final. | 18 | |
| Method 'fieldIsInitializedValue' is not designed for extension - needs to be abstract, final or empty. | 47 | |
| Parameter mapping should be final. | 47 | |
| Parameter objectToInspect should be final. | 47 |
| Violation | Message | Line |
|---|---|---|
| Missing a Javadoc comment. | 27 | |
| Class Data Abstraction Coupling is 9 (max allowed is 7) classes [ByNameDTOFieldPopulator, DTOCollectionFieldPopulator, DomainObjectDirectFieldPopulator, AnnotationConfigurationException, IdentityMap, DomainObjectCollectionFieldPopulator, ByNameDomainObjectFieldPopulator, DTODirectFieldPopulator, NoOperationDTOFieldPopulator]. | 27 | |
| Missing a Javadoc comment. | 29 | |
| Method 'populateDTO' is not designed for extension - needs to be abstract, final or empty. | 31 | |
| Missing a Javadoc comment. | 31 | |
| Parameter domainObject should be final. | 31 | |
| Parameter dto should be final. | 31 | |
| Line is longer than 120 characters. | 38 | |
| Method 'populateDomainObject' is not designed for extension - needs to be abstract, final or empty. | 61 | |
| Missing a Javadoc comment. | 61 | |
| Parameter dto should be final. | 61 | |
| Parameter domainObject should be final. | 61 | |
| Missing a Javadoc comment. | 79 | |
| Parameter field should be final. | 79 | |
| Line is longer than 120 characters. | 88 | |
| Missing a Javadoc comment. | 95 | |
| Parameter dtoField should be final. | 95 |
| Violation | Message | Line |
|---|---|---|
| Missing a Javadoc comment. | 9 | |
| Missing a Javadoc comment. | 11 | |
| Missing a Javadoc comment. | 13 | |
| Method 'getId' is not designed for extension - needs to be abstract, final or empty. | 15 | |
| Missing a Javadoc comment. | 15 | |
| Method 'setId' is not designed for extension - needs to be abstract, final or empty. | 19 | |
| Missing a Javadoc comment. | 19 | |
| Parameter persistedObjectId should be final. | 19 | |
| Method 'getVersion' is not designed for extension - needs to be abstract, final or empty. | 23 | |
| Missing a Javadoc comment. | 23 | |
| Method 'setVersion' is not designed for extension - needs to be abstract, final or empty. | 27 | |
| Missing a Javadoc comment. | 27 | |
| Parameter version should be final. | 27 | |
| Method 'isTransient' is not designed for extension - needs to be abstract, final or empty. | 31 | |
| Missing a Javadoc comment. | 31 | |
| Method 'resetPersistentState' is not designed for extension - needs to be abstract, final or empty. | 40 | |
| Method 'equals' is not designed for extension - needs to be abstract, final or empty. | 45 | |
| Missing a Javadoc comment. | 45 | |
| Parameter o should be final. | 45 | |
| Method 'hashCode' is not designed for extension - needs to be abstract, final or empty. | 50 | |
| Missing a Javadoc comment. | 50 | |
| Method 'compareTo' is not designed for extension - needs to be abstract, final or empty. | 54 | |
| Missing a Javadoc comment. | 54 | |
| Parameter o should be final. | 54 | |
| Method 'toString' is not designed for extension - needs to be abstract, final or empty. | 60 | |
| Missing a Javadoc comment. | 60 |
| Violation | Message | Line |
|---|---|---|
| Missing a Javadoc comment. | 3 | |
| Missing a Javadoc comment. | 4 | |
| Redundant 'public' modifier. | 4 | |
| Missing a Javadoc comment. | 6 | |
| Redundant 'public' modifier. | 6 |
| Violation | Message | Line |
|---|---|---|
| Missing a Javadoc comment. | 20 | |
| Method 'populateField' is not designed for extension - needs to be abstract, final or empty. | 22 | |
| Missing a Javadoc comment. | 22 | |
| Parameter dtoField should be final. | 22 | |
| Parameter dto should be final. | 22 | |
| Parameter domainObject should be final. | 22 | |
| Line is longer than 120 characters. | 32 | |
| Line is longer than 120 characters. | 40 | |
| Cyclomatic Complexity is 24 (max allowed is 10). | 54 | |
| Missing a Javadoc comment. | 54 | |
| NCSS for this method is 63 (max allowed is 50). | 54 | |
| NPath Complexity is 2,738 (max allowed is 200). | 54 | |
| Parameter dtoField should be final. | 54 | |
| Parameter dto should be final. | 54 | |
| Parameter domainObject should be final. | 54 | |
| Line is longer than 120 characters. | 74 | |
| Line is longer than 120 characters. | 80 | |
| Line is longer than 120 characters. | 81 | |
| Line is longer than 120 characters. | 85 | |
| 'if' construct must use '{}'s. | 92 | |
| Line is longer than 120 characters. | 94 | |
| 'if' construct must use '{}'s. | 110 | |
| Line is longer than 120 characters. | 147 | |
| Line is longer than 120 characters. | 155 |
| Violation | Message | Line |
|---|---|---|
| Missing a Javadoc comment. | 14 | |
| Method 'populateField' is not designed for extension - needs to be abstract, final or empty. | 16 | |
| Missing a Javadoc comment. | 16 | |
| Parameter dtoField should be final. | 16 | |
| Parameter dto should be final. | 16 | |
| Parameter domainObject should be final. | 16 | |
| Cyclomatic Complexity is 11 (max allowed is 10). | 44 | |
| Missing a Javadoc comment. | 44 | |
| Parameter dtoField should be final. | 44 | |
| Parameter dto should be final. | 44 | |
| Parameter domainObject should be final. | 44 | |
| Line is longer than 120 characters. | 87 | |
| Line is longer than 120 characters. | 103 |
| Violation | Message | Line |
|---|---|---|
| Line is longer than 120 characters. | 7 | |
| Missing a Javadoc comment. | 7 | |
| Method 'populatePersistentProperties' is not designed for extension - needs to be abstract, final or empty. | 9 | |
| Missing a Javadoc comment. | 9 | |
| Parameter domainObject should be final. | 9 | |
| Parameter dto should be final. | 9 |
| Violation | Message | Line |
|---|---|---|
| Missing a Javadoc comment. | 10 | |
| Redundant 'public' modifier. | 10 | |
| Missing a Javadoc comment. | 12 | |
| Redundant 'public' modifier. | 12 | |
| Missing a Javadoc comment. | 14 | |
| Redundant 'public' modifier. | 14 | |
| Missing a Javadoc comment. | 16 | |
| Redundant 'public' modifier. | 16 | |
| Missing a Javadoc comment. | 18 | |
| Redundant 'public' modifier. | 18 |
| Violation | Message | Line |
|---|---|---|
| Missing package documentation file. | 0 |
| Violation | Message | Line |
|---|---|---|
| Missing a Javadoc comment. | 18 | |
| Method 'populateDTOField' is not designed for extension - needs to be abstract, final or empty. | 20 | |
| Missing a Javadoc comment. | 20 | |
| Parameter field should be final. | 20 | |
| Parameter domainObject should be final. | 20 | |
| Parameter dto should be final. | 20 | |
| Missing a Javadoc comment. | 31 | |
| Parameter f should be final. | 31 | |
| Parameter dto should be final. | 31 | |
| Parameter domainObject should be final. | 31 | |
| Line is longer than 120 characters. | 41 |
| Violation | Message | Line |
|---|---|---|
| Method 'populateDTOField' is not designed for extension - needs to be abstract, final or empty. | 21 | |
| Missing a Javadoc comment. | 21 | |
| Parameter field should be final. | 21 | |
| Parameter domainObject should be final. | 21 | |
| Parameter dto should be final. | 21 | |
| Missing a Javadoc comment. | 32 | |
| Parameter field should be final. | 32 | |
| Parameter dto should be final. | 32 | |
| Parameter domainObject should be final. | 32 |
| Violation | Message | Line |
|---|---|---|
| Missing a Javadoc comment. | 3 | |
| Missing a Javadoc comment. | 5 | |
| Missing a Javadoc comment. | 10 | |
| Parameter arg0 should be final. | 10 | |
| Parameter arg1 should be final. | 10 | |
| Missing a Javadoc comment. | 15 | |
| Parameter arg0 should be final. | 15 | |
| Missing a Javadoc comment. | 20 | |
| Parameter arg0 should be final. | 20 |
| Violation | Message | Line |
|---|---|---|
| Missing a Javadoc comment. | 10 | |
| Missing a Javadoc comment. | 14 | |
| Parameter arg0 should be final. | 14 | |
| Parameter arg1 should be final. | 14 | |
| Missing a Javadoc comment. | 18 | |
| Parameter arg0 should be final. | 18 | |
| Missing a Javadoc comment. | 22 | |
| Parameter arg0 should be final. | 22 |
| Violation | Message | Line |
|---|---|---|
| Missing a Javadoc comment. | 10 | |
| Missing a Javadoc comment. | 14 | |
| Parameter arg0 should be final. | 14 | |
| Parameter arg1 should be final. | 14 | |
| Missing a Javadoc comment. | 18 | |
| Parameter arg0 should be final. | 18 | |
| Missing a Javadoc comment. | 22 | |
| Parameter arg0 should be final. | 22 |
| Violation | Message | Line |
|---|---|---|
| Missing a Javadoc comment. | 3 | |
| Missing a Javadoc comment. | 4 | |
| Missing a Javadoc comment. | 4 |
| Violation | Message | Line |
|---|---|---|
| Unused import - org.apache.commons.lang.StringUtils. | 5 | |
| Unused import - net.sf.hattori.populators.DynamicPopulator. | 11 | |
| Missing a Javadoc comment. | 16 | |
| Method 'populateDTOField' is not designed for extension - needs to be abstract, final or empty. | 18 | |
| Missing a Javadoc comment. | 18 | |
| Parameter field should be final. | 18 | |
| Parameter domainObject should be final. | 18 | |
| Parameter dto should be final. | 18 | |
| Line is longer than 120 characters. | 23 | |
| Line is longer than 120 characters. | 28 | |
| Missing a Javadoc comment. | 42 | |
| Parameter field should be final. | 42 | |
| Parameter dto should be final. | 42 | |
| Parameter domainObject should be final. | 42 |
| Violation | Message | Line |
|---|---|---|
| Method 'populateDTO' is not designed for extension - needs to be abstract, final or empty. | 14 | |
| Missing a Javadoc comment. | 14 | |
| Parameter domainObject should be final. | 14 | |
| Parameter dto should be final. | 14 | |
| Method 'populateDomainObject' is not designed for extension - needs to be abstract, final or empty. | 18 | |
| Missing a Javadoc comment. | 18 | |
| Parameter dto should be final. | 18 | |
| Parameter domainObject should be final. | 18 |
| Violation | Message | Line |
|---|---|---|
| Missing package documentation file. | 0 |
| Violation | Message | Line |
|---|---|---|
| Method 'populateDTOField' is not designed for extension - needs to be abstract, final or empty. | 18 | |
| Missing a Javadoc comment. | 18 | |
| Parameter field should be final. | 18 | |
| Parameter domainObject should be final. | 18 | |
| Parameter dto should be final. | 18 |