Fork me on GitHub

PMD Results

The following document contains the results of PMD 6.13.0.

Violations By Priority

Priority 1

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

Rule Violation Line
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 Line
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. 199279
NPathComplexity The method 'dataToTicket(DAOUtil, Map, Map)' has an NPath complexity of 480 199279
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 369373

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

Rule Violation Line
ExcessivePublicCount This class has a bunch of public methods and attributes 34679
TooManyFields Too many fields 43679
CommentRequired Public method and constructor comments are required 321324
CommentRequired Public method and constructor comments are required 326329
CommentRequired Public method and constructor comments are required 331334
CommentRequired Public method and constructor comments are required 336339
CommentRequired Public method and constructor comments are required 341344
CommentRequired Public method and constructor comments are required 346349
CommentRequired Public method and constructor comments are required 351354
CommentRequired Public method and constructor comments are required 356359
CommentRequired Public method and constructor comments are required 361364
CommentRequired Public method and constructor comments are required 366369
CommentRequired Public method and constructor comments are required 371374
CommentRequired Public method and constructor comments are required 376379
CommentRequired Public method and constructor comments are required 381384
CommentRequired Public method and constructor comments are required 386389
CommentRequired Public method and constructor comments are required 391394
CommentRequired Public method and constructor comments are required 396399
CommentRequired Public method and constructor comments are required 401404
CommentRequired Public method and constructor comments are required 406409
CommentRequired Public method and constructor comments are required 411414
CommentRequired Public method and constructor comments are required 416419
CommentRequired Public method and constructor comments are required 421424
CommentRequired Public method and constructor comments are required 426429
CommentRequired Public method and constructor comments are required 431434
CommentRequired Public method and constructor comments are required 436439
CommentRequired Public method and constructor comments are required 441444
CommentRequired Public method and constructor comments are required 446449
CommentRequired Public method and constructor comments are required 451454
CommentRequired Public method and constructor comments are required 456459
CommentRequired Public method and constructor comments are required 461464
CommentRequired Public method and constructor comments are required 466469
CommentRequired Public method and constructor comments are required 471474
CommentRequired Public method and constructor comments are required 476479
CommentRequired Public method and constructor comments are required 481484
CommentRequired Public method and constructor comments are required 486489
CommentRequired Public method and constructor comments are required 491494
CommentRequired Public method and constructor comments are required 496499
CommentRequired Public method and constructor comments are required 501504
CommentRequired Public method and constructor comments are required 506509
CommentRequired Public method and constructor comments are required 517520
CommentRequired Public method and constructor comments are required 522525
CommentRequired Public method and constructor comments are required 527530
CommentRequired Public method and constructor comments are required 532535
CommentRequired Public method and constructor comments are required 537540
CommentRequired Public method and constructor comments are required 542545
CommentRequired Public method and constructor comments are required 547550

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

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

Files

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

Rule Violation Priority Line
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 199279
NPathComplexity The method 'dataToTicket(DAOUtil, Map, Map)' has an NPath complexity of 480 3 199279
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 369373

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

Rule Violation Priority Line
ExcessivePublicCount This class has a bunch of public methods and attributes 3 34679
TooManyFields Too many fields 3 43679
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 321324
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 326329
CommentRequired Public method and constructor comments are required 3 331334
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 336339
CommentRequired Public method and constructor comments are required 3 341344
CommentRequired Public method and constructor comments are required 3 346349
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 351354
CommentRequired Public method and constructor comments are required 3 356359
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 361364
CommentRequired Public method and constructor comments are required 3 366369
CommentRequired Public method and constructor comments are required 3 371374
CommentRequired Public method and constructor comments are required 3 376379
CommentRequired Public method and constructor comments are required 3 381384
CommentRequired Public method and constructor comments are required 3 386389
CommentRequired Public method and constructor comments are required 3 391394
CommentRequired Public method and constructor comments are required 3 396399
CommentRequired Public method and constructor comments are required 3 401404
CommentRequired Public method and constructor comments are required 3 406409
CommentRequired Public method and constructor comments are required 3 411414
CommentRequired Public method and constructor comments are required 3 416419
CommentRequired Public method and constructor comments are required 3 421424
CommentRequired Public method and constructor comments are required 3 426429
CommentRequired Public method and constructor comments are required 3 431434
CommentRequired Public method and constructor comments are required 3 436439
CommentRequired Public method and constructor comments are required 3 441444
CommentRequired Public method and constructor comments are required 3 446449
CommentRequired Public method and constructor comments are required 3 451454
CommentRequired Public method and constructor comments are required 3 456459
CommentRequired Public method and constructor comments are required 3 461464
CommentRequired Public method and constructor comments are required 3 466469
CommentRequired Public method and constructor comments are required 3 471474
CommentRequired Public method and constructor comments are required 3 476479
CommentRequired Public method and constructor comments are required 3 481484
CommentRequired Public method and constructor comments are required 3 486489
CommentRequired Public method and constructor comments are required 3 491494
CommentRequired Public method and constructor comments are required 3 496499
CommentRequired Public method and constructor comments are required 3 501504
CommentRequired Public method and constructor comments are required 3 506509
CommentRequired Public method and constructor comments are required 3 517520
CommentRequired Public method and constructor comments are required 3 522525
CommentRequired Public method and constructor comments are required 3 527530
CommentRequired Public method and constructor comments are required 3 532535
CommentRequired Public method and constructor comments are required 3 537540
CommentRequired Public method and constructor comments are required 3 542545
CommentRequired Public method and constructor comments are required 3 547550
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 Line
MissingOverride The method 'fetchDataObjects()' is missing an @Override annotation. 3 6478
SimpleDateFormatNeedsLocale When instantiating a SimpleDateFormat object, specify a Locale 3 68