Fork me on GitHub

Résultats PMD

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

Violations By Priority

Priority 1

fr/paris/lutece/plugins/elasticdata/modules/ticketing/business/TicketDataObject.java

Rule Violation Ligne
FormalParameterNamingConventions The method parameter name '_strDomaine' doesn't match '[a-z][a-zA-Z0-9]*' 159
FormalParameterNamingConventions The method parameter name '_strThematique' doesn't match '[a-z][a-zA-Z0-9]*' 180
FormalParameterNamingConventions The method parameter name '_dateCreate' doesn't match '[a-z][a-zA-Z0-9]*' 201
FormalParameterNamingConventions The method parameter name '_strEntite' doesn't match '[a-z][a-zA-Z0-9]*' 222
FormalParameterNamingConventions The method parameter name '_dateClose' doesn't match '[a-z][a-zA-Z0-9]*' 243
FormalParameterNamingConventions The method parameter name '_nAnciennete' doesn't match '[a-z][a-zA-Z0-9]*' 264
FormalParameterNamingConventions The method parameter name '_nDelaiReponse' doesn't match '[a-z][a-zA-Z0-9]*' 285
FormalParameterNamingConventions The method parameter name '_strGuid' doesn't match '[a-z][a-zA-Z0-9]*' 306
FormalParameterNamingConventions The method parameter name '_strSousThematique' doesn't match '[a-z][a-zA-Z0-9]*' 326
FormalParameterNamingConventions The method parameter name '_strStatut' doesn't match '[a-z][a-zA-Z0-9]*' 336
FormalParameterNamingConventions The method parameter name '_strCanal' doesn't match '[a-z][a-zA-Z0-9]*' 346
FormalParameterNamingConventions The method parameter name '_strLocalisation' doesn't match '[a-z][a-zA-Z0-9]*' 356
FormalParameterNamingConventions The method parameter name '_dateUpdate' doesn't match '[a-z][a-zA-Z0-9]*' 636

Priority 3

fr/paris/lutece/plugins/elasticdata/modules/ticketing/business/TicketDAO.java

Rule Violation Ligne
UseConcurrentHashMap If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation 87
UseConcurrentHashMap If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation 96
UnusedLocalVariable Avoid unused local variables such as 'vspRulesList'. 103
PrematureDeclaration Avoid declaring a variable if it is unreferenced before a possible exit point. 103
AvoidCatchingGenericException Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block 124
UseConcurrentHashMap If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation 144
UseConcurrentHashMap If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation 153
UnusedLocalVariable Avoid unused local variables such as 'vspRulesList'. 160
PrematureDeclaration Avoid declaring a variable if it is unreferenced before a possible exit point. 160
AvoidCatchingGenericException Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block 179
CyclomaticComplexity The method 'dataToTicket(DAOUtil, Map, Map)' has a cyclomatic complexity of 11. 199–279
NPathComplexity The method 'dataToTicket(DAOUtil, Map, Map)' has an NPath complexity of 480 199–279
AvoidCatchingGenericException Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block 211
AvoidCatchingNPE Avoid catching NullPointerException; consider removing the cause of the NPE. 211
AvoidCatchingNPE Avoid catching NullPointerException; consider removing the cause of the NPE. 220
AvoidCatchingGenericException Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block 220
SimpleDateFormatNeedsLocale When instantiating a SimpleDateFormat object, specify a Locale 254
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 269
CommentRequired Public method and constructor comments are required 369–373

fr/paris/lutece/plugins/elasticdata/modules/ticketing/business/TicketDataObject.java

Rule Violation Ligne
ExcessivePublicCount This class has a bunch of public methods and attributes 34–679
TooManyFields Too many fields 43–679
CommentRequired Public method and constructor comments are required 321–324
CommentRequired Public method and constructor comments are required 326–329
CommentRequired Public method and constructor comments are required 331–334
CommentRequired Public method and constructor comments are required 336–339
CommentRequired Public method and constructor comments are required 341–344
CommentRequired Public method and constructor comments are required 346–349
CommentRequired Public method and constructor comments are required 351–354
CommentRequired Public method and constructor comments are required 356–359
CommentRequired Public method and constructor comments are required 361–364
CommentRequired Public method and constructor comments are required 366–369
CommentRequired Public method and constructor comments are required 371–374
CommentRequired Public method and constructor comments are required 376–379
CommentRequired Public method and constructor comments are required 381–384
CommentRequired Public method and constructor comments are required 386–389
CommentRequired Public method and constructor comments are required 391–394
CommentRequired Public method and constructor comments are required 396–399
CommentRequired Public method and constructor comments are required 401–404
CommentRequired Public method and constructor comments are required 406–409
CommentRequired Public method and constructor comments are required 411–414
CommentRequired Public method and constructor comments are required 416–419
CommentRequired Public method and constructor comments are required 421–424
CommentRequired Public method and constructor comments are required 426–429
CommentRequired Public method and constructor comments are required 431–434
CommentRequired Public method and constructor comments are required 436–439
CommentRequired Public method and constructor comments are required 441–444
CommentRequired Public method and constructor comments are required 446–449
CommentRequired Public method and constructor comments are required 451–454
CommentRequired Public method and constructor comments are required 456–459
CommentRequired Public method and constructor comments are required 461–464
CommentRequired Public method and constructor comments are required 466–469
CommentRequired Public method and constructor comments are required 471–474
CommentRequired Public method and constructor comments are required 476–479
CommentRequired Public method and constructor comments are required 481–484
CommentRequired Public method and constructor comments are required 486–489
CommentRequired Public method and constructor comments are required 491–494
CommentRequired Public method and constructor comments are required 496–499
CommentRequired Public method and constructor comments are required 501–504
CommentRequired Public method and constructor comments are required 506–509
CommentRequired Public method and constructor comments are required 517–520
CommentRequired Public method and constructor comments are required 522–525
CommentRequired Public method and constructor comments are required 527–530
CommentRequired Public method and constructor comments are required 532–535
CommentRequired Public method and constructor comments are required 537–540
CommentRequired Public method and constructor comments are required 542–545
CommentRequired Public method and constructor comments are required 547–550

fr/paris/lutece/plugins/elasticdata/modules/ticketing/business/TicketDataSource.java

Rule Violation Ligne
MissingOverride The method 'fetchDataObjects()' is missing an @Override annotation. 64–78
SimpleDateFormatNeedsLocale When instantiating a SimpleDateFormat object, specify a Locale 68

Fichiers

fr/paris/lutece/plugins/elasticdata/modules/ticketing/business/TicketDAO.java

Rule Violation Priority Ligne
UseConcurrentHashMap If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation 3 87
UseConcurrentHashMap If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation 3 96
UnusedLocalVariable Avoid unused local variables such as 'vspRulesList'. 3 103
PrematureDeclaration Avoid declaring a variable if it is unreferenced before a possible exit point. 3 103
AvoidCatchingGenericException Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block 3 124
UseConcurrentHashMap If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation 3 144
UseConcurrentHashMap If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation 3 153
UnusedLocalVariable Avoid unused local variables such as 'vspRulesList'. 3 160
PrematureDeclaration Avoid declaring a variable if it is unreferenced before a possible exit point. 3 160
AvoidCatchingGenericException Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block 3 179
CyclomaticComplexity The method 'dataToTicket(DAOUtil, Map, Map)' has a cyclomatic complexity of 11. 3 199–279
NPathComplexity The method 'dataToTicket(DAOUtil, Map, Map)' has an NPath complexity of 480 3 199–279
AvoidCatchingGenericException Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block 3 211
AvoidCatchingNPE Avoid catching NullPointerException; consider removing the cause of the NPE. 3 211
AvoidCatchingNPE Avoid catching NullPointerException; consider removing the cause of the NPE. 3 220
AvoidCatchingGenericException Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block 3 220
SimpleDateFormatNeedsLocale When instantiating a SimpleDateFormat object, specify a Locale 3 254
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 3 269
CommentRequired Public method and constructor comments are required 3 369–373

fr/paris/lutece/plugins/elasticdata/modules/ticketing/business/TicketDataObject.java

Rule Violation Priority Ligne
ExcessivePublicCount This class has a bunch of public methods and attributes 3 34–679
TooManyFields Too many fields 3 43–679
FormalParameterNamingConventions The method parameter name '_strDomaine' doesn't match '[a-z][a-zA-Z0-9]*' 1 159
FormalParameterNamingConventions The method parameter name '_strThematique' doesn't match '[a-z][a-zA-Z0-9]*' 1 180
FormalParameterNamingConventions The method parameter name '_dateCreate' doesn't match '[a-z][a-zA-Z0-9]*' 1 201
FormalParameterNamingConventions The method parameter name '_strEntite' doesn't match '[a-z][a-zA-Z0-9]*' 1 222
FormalParameterNamingConventions The method parameter name '_dateClose' doesn't match '[a-z][a-zA-Z0-9]*' 1 243
FormalParameterNamingConventions The method parameter name '_nAnciennete' doesn't match '[a-z][a-zA-Z0-9]*' 1 264
FormalParameterNamingConventions The method parameter name '_nDelaiReponse' doesn't match '[a-z][a-zA-Z0-9]*' 1 285
FormalParameterNamingConventions The method parameter name '_strGuid' doesn't match '[a-z][a-zA-Z0-9]*' 1 306
CommentRequired Public method and constructor comments are required 3 321–324
FormalParameterNamingConventions The method parameter name '_strSousThematique' doesn't match '[a-z][a-zA-Z0-9]*' 1 326
CommentRequired Public method and constructor comments are required 3 326–329
CommentRequired Public method and constructor comments are required 3 331–334
FormalParameterNamingConventions The method parameter name '_strStatut' doesn't match '[a-z][a-zA-Z0-9]*' 1 336
CommentRequired Public method and constructor comments are required 3 336–339
CommentRequired Public method and constructor comments are required 3 341–344
CommentRequired Public method and constructor comments are required 3 346–349
FormalParameterNamingConventions The method parameter name '_strCanal' doesn't match '[a-z][a-zA-Z0-9]*' 1 346
CommentRequired Public method and constructor comments are required 3 351–354
CommentRequired Public method and constructor comments are required 3 356–359
FormalParameterNamingConventions The method parameter name '_strLocalisation' doesn't match '[a-z][a-zA-Z0-9]*' 1 356
CommentRequired Public method and constructor comments are required 3 361–364
CommentRequired Public method and constructor comments are required 3 366–369
CommentRequired Public method and constructor comments are required 3 371–374
CommentRequired Public method and constructor comments are required 3 376–379
CommentRequired Public method and constructor comments are required 3 381–384
CommentRequired Public method and constructor comments are required 3 386–389
CommentRequired Public method and constructor comments are required 3 391–394
CommentRequired Public method and constructor comments are required 3 396–399
CommentRequired Public method and constructor comments are required 3 401–404
CommentRequired Public method and constructor comments are required 3 406–409
CommentRequired Public method and constructor comments are required 3 411–414
CommentRequired Public method and constructor comments are required 3 416–419
CommentRequired Public method and constructor comments are required 3 421–424
CommentRequired Public method and constructor comments are required 3 426–429
CommentRequired Public method and constructor comments are required 3 431–434
CommentRequired Public method and constructor comments are required 3 436–439
CommentRequired Public method and constructor comments are required 3 441–444
CommentRequired Public method and constructor comments are required 3 446–449
CommentRequired Public method and constructor comments are required 3 451–454
CommentRequired Public method and constructor comments are required 3 456–459
CommentRequired Public method and constructor comments are required 3 461–464
CommentRequired Public method and constructor comments are required 3 466–469
CommentRequired Public method and constructor comments are required 3 471–474
CommentRequired Public method and constructor comments are required 3 476–479
CommentRequired Public method and constructor comments are required 3 481–484
CommentRequired Public method and constructor comments are required 3 486–489
CommentRequired Public method and constructor comments are required 3 491–494
CommentRequired Public method and constructor comments are required 3 496–499
CommentRequired Public method and constructor comments are required 3 501–504
CommentRequired Public method and constructor comments are required 3 506–509
CommentRequired Public method and constructor comments are required 3 517–520
CommentRequired Public method and constructor comments are required 3 522–525
CommentRequired Public method and constructor comments are required 3 527–530
CommentRequired Public method and constructor comments are required 3 532–535
CommentRequired Public method and constructor comments are required 3 537–540
CommentRequired Public method and constructor comments are required 3 542–545
CommentRequired Public method and constructor comments are required 3 547–550
FormalParameterNamingConventions The method parameter name '_dateUpdate' doesn't match '[a-z][a-zA-Z0-9]*' 1 636

fr/paris/lutece/plugins/elasticdata/modules/ticketing/business/TicketDataSource.java

Rule Violation Priority Ligne
MissingOverride The method 'fetchDataObjects()' is missing an @Override annotation. 3 64–78
SimpleDateFormatNeedsLocale When instantiating a SimpleDateFormat object, specify a Locale 3 68