 
    
  
                
                    
    
        Le document suivant contient les résultats de PMD 6.13.0.
| Rule | Violation | Ligne | 
|---|---|---|
| AvoidFileStream | Avoid instantiating FileInputStream, FileOutputStream, FileReader, or FileWriter | 119 | 
| Rule | Violation | Ligne | 
|---|---|---|
| FieldNamingConventions | The final field name '_itemFailed' doesn't match '[a-z][a-zA-Z0-9]*' | 46 | 
| Rule | Violation | Ligne | 
|---|---|---|
| DefaultPackage | Use explicit scoping instead of the default package private level | 46 | 
| CommentDefaultAccessModifier | To avoid mistakes add a comment at the beginning of the CONST_DOT field if you want a default access modifier | 46 | 
| ConsecutiveAppendsShouldReuse | StringBuffer (or StringBuilder).append is called consecutively without reusing the target variable. | 63 | 
| ConsecutiveAppendsShouldReuse | StringBuffer (or StringBuilder).append is called consecutively without reusing the target variable. | 64 | 
| ConsecutiveAppendsShouldReuse | StringBuffer (or StringBuilder).append is called consecutively without reusing the target variable. | 65 | 
| ConsecutiveAppendsShouldReuse | StringBuffer (or StringBuilder).append is called consecutively without reusing the target variable. | 66 | 
| Rule | Violation | Ligne | 
|---|---|---|
| AvoidUncheckedExceptionsInSignatures | A method or constructor should not explicitly declare unchecked exceptions in its 'throws' clause | 80 | 
| AvoidUncheckedExceptionsInSignatures | A method or constructor should not explicitly declare unchecked exceptions in its 'throws' clause | 104 | 
| UseConcurrentHashMap | If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation | 106 | 
| Rule | Violation | Ligne | 
|---|---|---|
| SignatureDeclareThrowsException | A method/constructor should not explicitly throw java.lang.Exception | 61 | 
| Rule | Violation | Ligne | 
|---|---|---|
| DefaultPackage | Use explicit scoping instead of the default package private level | 59 | 
| CommentDefaultAccessModifier | To avoid mistakes add a comment at the beginning of the CONST_DOT field if you want a default access modifier | 59 | 
| AvoidUncheckedExceptionsInSignatures | A method or constructor should not explicitly declare unchecked exceptions in its 'throws' clause | 70 | 
| IdenticalCatchBranches | 'catch' branch identical to 'DocumentException' branch | 82–85 | 
| Rule | Violation | Ligne | 
|---|---|---|
| AvoidUncheckedExceptionsInSignatures | A method or constructor should not explicitly declare unchecked exceptions in its 'throws' clause | 58 | 
| AvoidCatchingGenericException | Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block | 66 | 
| Rule | Violation | Ligne | 
|---|---|---|
| DataClass | The class 'DocConverterConfiguration' is suspected to be a Data Class (WOC=0.000%, NOPA=0, NOAM=6, WMC=6) | 39–111 | 
| Rule | Violation | Ligne | 
|---|---|---|
| DataClass | The class 'FileItem' is suspected to be a Data Class (WOC=0.000%, NOPA=0, NOAM=4, WMC=5) | 42–101 | 
| Rule | Violation | Ligne | 
|---|---|---|
| SignatureDeclareThrowsException | A method/constructor should not explicitly throw java.lang.Exception | 74 | 
| SignatureDeclareThrowsException | A method/constructor should not explicitly throw java.lang.Exception | 101 | 
| AvoidCatchingGenericException | Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block | 132 | 
| Rule | Violation | Priority | Ligne | 
|---|---|---|---|
| DefaultPackage | Use explicit scoping instead of the default package private level | 3 | 46 | 
| CommentDefaultAccessModifier | To avoid mistakes add a comment at the beginning of the CONST_DOT field if you want a default access modifier | 3 | 46 | 
| ConsecutiveAppendsShouldReuse | StringBuffer (or StringBuilder).append is called consecutively without reusing the target variable. | 3 | 63 | 
| ConsecutiveAppendsShouldReuse | StringBuffer (or StringBuilder).append is called consecutively without reusing the target variable. | 3 | 64 | 
| ConsecutiveAppendsShouldReuse | StringBuffer (or StringBuilder).append is called consecutively without reusing the target variable. | 3 | 65 | 
| ConsecutiveAppendsShouldReuse | StringBuffer (or StringBuilder).append is called consecutively without reusing the target variable. | 3 | 66 | 
| Rule | Violation | Priority | Ligne | 
|---|---|---|---|
| AvoidUncheckedExceptionsInSignatures | A method or constructor should not explicitly declare unchecked exceptions in its 'throws' clause | 3 | 80 | 
| AvoidUncheckedExceptionsInSignatures | A method or constructor should not explicitly declare unchecked exceptions in its 'throws' clause | 3 | 104 | 
| UseConcurrentHashMap | If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation | 3 | 106 | 
| Rule | Violation | Priority | Ligne | 
|---|---|---|---|
| SignatureDeclareThrowsException | A method/constructor should not explicitly throw java.lang.Exception | 3 | 61 | 
| Rule | Violation | Priority | Ligne | 
|---|---|---|---|
| DefaultPackage | Use explicit scoping instead of the default package private level | 3 | 59 | 
| CommentDefaultAccessModifier | To avoid mistakes add a comment at the beginning of the CONST_DOT field if you want a default access modifier | 3 | 59 | 
| AvoidUncheckedExceptionsInSignatures | A method or constructor should not explicitly declare unchecked exceptions in its 'throws' clause | 3 | 70 | 
| IdenticalCatchBranches | 'catch' branch identical to 'DocumentException' branch | 3 | 82–85 | 
| AvoidFileStream | Avoid instantiating FileInputStream, FileOutputStream, FileReader, or FileWriter | 1 | 119 | 
| Rule | Violation | Priority | Ligne | 
|---|---|---|---|
| AvoidUncheckedExceptionsInSignatures | A method or constructor should not explicitly declare unchecked exceptions in its 'throws' clause | 3 | 58 | 
| AvoidCatchingGenericException | Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block | 3 | 66 | 
| Rule | Violation | Priority | Ligne | 
|---|---|---|---|
| DataClass | The class 'DocConverterConfiguration' is suspected to be a Data Class (WOC=0.000%, NOPA=0, NOAM=6, WMC=6) | 3 | 39–111 | 
| Rule | Violation | Priority | Ligne | 
|---|---|---|---|
| FieldNamingConventions | The final field name '_itemFailed' doesn't match '[a-z][a-zA-Z0-9]*' | 1 | 46 | 
| Rule | Violation | Priority | Ligne | 
|---|---|---|---|
| DataClass | The class 'FileItem' is suspected to be a Data Class (WOC=0.000%, NOPA=0, NOAM=4, WMC=5) | 3 | 42–101 | 
| Rule | Violation | Priority | Ligne | 
|---|---|---|---|
| SignatureDeclareThrowsException | A method/constructor should not explicitly throw java.lang.Exception | 3 | 74 | 
| SignatureDeclareThrowsException | A method/constructor should not explicitly throw java.lang.Exception | 3 | 101 | 
| AvoidCatchingGenericException | Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block | 3 | 132 |