Fork me on GitHub

Résultats PMD

Le document suivant contient les résultats de PMD 5.5.1.

Fichiers

fr/paris/lutece/plugins/rtu/business/AdresseAssociation.java

Violation Ligne
Method names should not contain underscores 33
Method names should not contain underscores 42
Method names should not contain underscores 51
Method names should not contain underscores 60
Method names should not contain underscores 69
Method names should not contain underscores 78
Method names should not contain underscores 87
Method names should not contain underscores 96
Method names should not contain underscores 105
Method names should not contain underscores 114

fr/paris/lutece/plugins/rtu/business/AdresseEntreprise.java

Violation Ligne
Method names should not contain underscores 33
Method names should not contain underscores 42
Method names should not contain underscores 51
Method names should not contain underscores 60
Method names should not contain underscores 69
Method names should not contain underscores 78
Method names should not contain underscores 87
Method names should not contain underscores 96
Method names should not contain underscores 105
Method names should not contain underscores 114

fr/paris/lutece/plugins/rtu/business/AdresseEtablissement.java

Violation Ligne
Avoid variables with short names like l1 34
Method names should not contain underscores 41
Method names should not contain underscores 50
Method names should not contain underscores 59
Method names should not contain underscores 68
Method names should not contain underscores 77
Method names should not contain underscores 86
Method names should not contain underscores 95
Method names should not contain underscores 104
Method names should not contain underscores 113
Method names should not contain underscores 122
Method names should not contain underscores 149
Method names should not contain underscores 158
Avoid variables with short names like l1 194

fr/paris/lutece/plugins/rtu/business/Association.java

Violation Ligne
Avoid variables with short names like id 12
Avoid variables with short names like id 42

fr/paris/lutece/plugins/rtu/business/Entreprise.java

Violation Ligne
Method names should not contain underscores 53
Method names should not contain underscores 62
Method names should not contain underscores 71
Method names should not contain underscores 80
Method names should not contain underscores 89
Method names should not contain underscores 98
Method names should not contain underscores 107
Method names should not contain underscores 116
Method names should not contain underscores 120
Method names should not contain underscores 124
Method names should not contain underscores 128
Method names should not contain underscores 132

fr/paris/lutece/plugins/rtu/business/RetourApiEntreprise.java

Violation Ligne
Method names should not contain underscores 42
Method names should not contain underscores 51

fr/paris/lutece/plugins/rtu/service/AbstractRestClient.java

Violation Ligne
Avoid unused imports such as 'java.io.ByteArrayInputStream' 3
Avoid unused imports such as 'java.io.ByteArrayInputStream' 3
Avoid unused imports such as 'javax.xml.bind.Unmarshaller' 8
Avoid unused imports such as 'javax.xml.bind.Unmarshaller' 8
Avoid unused imports such as 'com.fasterxml.jackson.databind.JsonNode' 11
Avoid unused imports such as 'com.fasterxml.jackson.databind.JsonNode' 11
Avoid unused imports such as 'fr.paris.lutece.plugins.rtu.business.Entreprise' 14
Avoid unused imports such as 'fr.paris.lutece.plugins.rtu.business.Entreprise' 14
Avoid unused imports such as 'fr.paris.lutece.portal.service.util.AppException' 18
Avoid unused imports such as 'fr.paris.lutece.portal.service.util.AppException' 18
Private field 'classe' could be made final; it is only initialized in the declaration or constructor. 33
Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 48
Use block level rather than method level synchronization 5565
Avoid using if statements without curly braces 5960
Avoid empty catch blocks 6163
Rather than using a lot of String arguments, consider using a container object for those values. 94
Avoid declaring a variable if it is unreferenced before a possible exit point. 96
debug logging that involves string concatenation should be guarded with isDebugEnabled() checks 106
The String literal "Trame en erreur:" appears 6 times in this file; the first occurrence is on line 110 110
New exception is thrown in catch block, original stack trace may be lost 111
New exception is thrown in catch block, original stack trace may be lost 126
Rather than using a lot of String arguments, consider using a container object for those values. 145
Avoid declaring a variable if it is unreferenced before a possible exit point. 147
debug logging that involves string concatenation should be guarded with isDebugEnabled() checks 157
New exception is thrown in catch block, original stack trace may be lost 162
New exception is thrown in catch block, original stack trace may be lost 177
Rather than using a lot of String arguments, consider using a container object for those values. 196
Avoid declaring a variable if it is unreferenced before a possible exit point. 198
debug logging that involves string concatenation should be guarded with isDebugEnabled() checks 208
New exception is thrown in catch block, original stack trace may be lost 213
New exception is thrown in catch block, original stack trace may be lost 228

fr/paris/lutece/plugins/rtu/service/ApiRTUService.java

Violation Ligne
Avoid unused imports such as 'fr.paris.lutece.portal.service.util.AppLogService' 7
Avoid unused imports such as 'fr.paris.lutece.portal.service.util.AppLogService' 7
Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 39
Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 42
Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 45
Singleton is not thread safe 5659
Rather than using a lot of String arguments, consider using a container object for those values. 90
Avoid using Literals in Conditional Statements 92
Rather than using a lot of String arguments, consider using a container object for those values. 119
Avoid using Literals in Conditional Statements 121
Rather than using a lot of String arguments, consider using a container object for those values. 148
Avoid using Literals in Conditional Statements 150

fr/paris/lutece/plugins/rtu/service/ApiRtuUnavailableException.java

Violation Ligne
It is a good practice to call super() in a constructor 1516
Document empty constructor 1516
It is a good practice to call super() in a constructor 2325