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/pluginwizard/business/model/PluginModel.java

Rule Violation Line
MethodNamingConventions The instance method name 'BusinessClass' doesn't match '[a-z][a-zA-Z0-9]*' 672675

fr/paris/lutece/plugins/pluginwizard/service/QualityService.java

Rule Violation Line
FieldNamingConventions The static field name 'bValidUniqueBusinessClassName' doesn't match '_[a-z][a-zA-Z0-9]*' 53
FieldNamingConventions The static field name 'bValidUniquePluralBusinessClassName' doesn't match '_[a-z][a-zA-Z0-9]*' 54
FieldNamingConventions The static field name 'bValidUniqueTableName' doesn't match '_[a-z][a-zA-Z0-9]*' 55
FieldNamingConventions The static field name 'bValidUniqueAttributeName' doesn't match '_[a-z][a-zA-Z0-9]*' 58
FieldNamingConventions The static field name 'bValideUniqueFeatureRight' doesn't match '_[a-z][a-zA-Z0-9]*' 61
FieldNamingConventions The static field name 'bValideUniqueFeatureTitle' doesn't match '_[a-z][a-zA-Z0-9]*' 62
FieldNamingConventions The static field name 'bValideUniqueFeatureTechName' doesn't match '_[a-z][a-zA-Z0-9]*' 63
FieldNamingConventions The static field name 'bValideUniqueAdministrationName' doesn't match '_[a-z][a-zA-Z0-9]*' 66
FieldNamingConventions The static field name 'bValideUniqueAdministrationClass' doesn't match '_[a-z][a-zA-Z0-9]*' 67
FieldNamingConventions The static field name 'bValideUniquePortletClassName' doesn't match '_[a-z][a-zA-Z0-9]*' 70
FieldNamingConventions The static field name 'bValideUniquePortletType' doesn't match '_[a-z][a-zA-Z0-9]*' 71
FieldNamingConventions The static field name 'bValideUniquePortletJspName' doesn't match '_[a-z][a-zA-Z0-9]*' 72

fr/paris/lutece/plugins/pluginwizard/service/generator/AdminJspGenerator.java

Rule Violation Line
FieldNamingConventions The static field name '_jsp_prefix' doesn't match '_[a-z][a-zA-Z0-9]*' 53

fr/paris/lutece/plugins/pluginwizard/service/generator/AdminTemplateGenerator.java

Rule Violation Line
FieldNamingConventions The static field name '_template_prefix' doesn't match '_[a-z][a-zA-Z0-9]*' 57
LocalVariableNamingConventions The local variable name 'admin_feature' doesn't match '[a-z][a-zA-Z0-9]*' 84
FormalParameterNamingConventions The method parameter name 'admin_feature' doesn't match '[a-z][a-zA-Z0-9]*' 130

fr/paris/lutece/plugins/pluginwizard/service/generator/Markers.java

Rule Violation Line
ClassNamingConventions The utility class name 'Markers' doesn't match '[A-Z][a-zA-Z0-9]+(Utils?|Helper|Home|Service)' 3995

fr/paris/lutece/plugins/pluginwizard/service/generator/PluginXmlGenerator.java

Rule Violation Line
LocalVariableNamingConventions The local variable name 'BusinessNames' doesn't match '[a-z][a-zA-Z0-9]*' 88

fr/paris/lutece/plugins/pluginwizard/service/generator/PortletJspBeanGenerator.java

Rule Violation Line
LocalVariableNamingConventions The local variable name '_path' doesn't match '[a-z][a-zA-Z0-9]*' 60

fr/paris/lutece/plugins/pluginwizard/service/generator/PortletJspGenerator.java

Rule Violation Line
LocalVariableNamingConventions The local variable name '_path' doesn't match '[a-z][a-zA-Z0-9]*' 64

fr/paris/lutece/plugins/pluginwizard/service/generator/XPageTemplateGenerator.java

Rule Violation Line
FieldNamingConventions The static field name '_template_prefix' doesn't match '_[a-z][a-zA-Z0-9]*' 57

fr/paris/lutece/plugins/pluginwizard/util/Utils.java

Rule Violation Line
ClassNamingConventions The utility class name 'Utils' doesn't match '[A-Z][a-zA-Z0-9]+(Utils?|Helper|Home|Service)' 3997

fr/paris/lutece/plugins/pluginwizard/web/Constants.java

Rule Violation Line
ClassNamingConventions The utility class name 'Constants' doesn't match '[A-Z][a-zA-Z0-9]+(Utils?|Helper|Home|Service)' 4176

fr/paris/lutece/plugins/pluginwizard/web/formbean/DescriptionFormBean.java

Rule Violation Line
FormalParameterNamingConventions The method parameter name '_strType' doesn't match '[a-z][a-zA-Z0-9]*' 305
FormalParameterNamingConventions The method parameter name '_bIsModule' doesn't match '[a-z][a-zA-Z0-9]*' 336

Priority 3

fr/paris/lutece/plugins/pluginwizard/business/ConfigurationKeyDAO.java

Rule Violation Line
MissingOverride The method 'insert(ConfigurationKey, Plugin)' is missing an @Override annotation. 91105
MissingOverride The method 'load(int, Plugin)' is missing an @Override annotation. 116138
MissingOverride The method 'delete(int, Plugin)' is missing an @Override annotation. 148156
MissingOverride The method 'store(ConfigurationKey, Plugin)' is missing an @Override annotation. 166179
MissingOverride The method 'selectConfigurationKeysList(Plugin)' is missing an @Override annotation. 188210

fr/paris/lutece/plugins/pluginwizard/business/model/Application.java

Rule Violation Line
ConfusingTernary Avoid if (x != y) ..; else ..; 132139
ConfusingTernary Avoid if (x != y) ..; else ..; 150157
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 156

fr/paris/lutece/plugins/pluginwizard/business/model/Attribute.java

Rule Violation Line
UseLocaleWithCaseConversions When doing a String.toLowerCase()/toUpperCase() call, use a Locale 157
UseLocaleWithCaseConversions When doing a String.toLowerCase()/toUpperCase() call, use a Locale 190
UseLocaleWithCaseConversions When doing a String.toLowerCase()/toUpperCase() call, use a Locale 201

fr/paris/lutece/plugins/pluginwizard/business/model/BusinessClass.java

Rule Violation Line
ConfusingTernary Avoid if (x != y) ..; else ..; 166173
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 172
ConfusingTernary Avoid if (x != y) ..; else ..; 183190

fr/paris/lutece/plugins/pluginwizard/business/model/Feature.java

Rule Violation Line
ConfusingTernary Avoid if (x != y) ..; else ..; 229236
ConfusingTernary Avoid if (x != y) ..; else ..; 247254
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 253

fr/paris/lutece/plugins/pluginwizard/business/model/PluginModel.java

Rule Violation Line
ExcessivePublicCount This class has a bunch of public methods and attributes 34739
TooManyFields Too many fields 53739
UseLocaleWithCaseConversions When doing a String.toLowerCase()/toUpperCase() call, use a Locale 209
UseLocaleWithCaseConversions When doing a String.toLowerCase()/toUpperCase() call, use a Locale 213
UseLocaleWithCaseConversions When doing a String.toLowerCase()/toUpperCase() call, use a Locale 226
ConfusingTernary Avoid if (x != y) ..; else ..; 539546
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 545
ConfusingTernary Avoid if (x != y) ..; else ..; 609616
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 615
ConfusingTernary Avoid if (x != y) ..; else ..; 637644
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 643
CommentRequired Public method and constructor comments are required 667670
CommentRequired Public method and constructor comments are required 672675

fr/paris/lutece/plugins/pluginwizard/business/model/PluginModelDAO.java

Rule Violation Line
MissingOverride The method 'insert(PluginModel, Plugin)' is missing an @Override annotation. 93118
MissingOverride The method 'load(int, Plugin)' is missing an @Override annotation. 129164
MissingOverride The method 'delete(int, Plugin)' is missing an @Override annotation. 174182
MissingOverride The method 'store(PluginModel, Plugin)' is missing an @Override annotation. 192216
MissingOverride The method 'selectPluginModelsList(Plugin)' is missing an @Override annotation. 225258
MissingOverride The method 'selectPluginModelByName(Plugin, String)' is missing an @Override annotation. 269287
MissingOverride The method 'pluginExists(String, Plugin)' is missing an @Override annotation. 298321

fr/paris/lutece/plugins/pluginwizard/business/model/Rest.java

Rule Violation Line
ConfusingTernary Avoid if (x != y) ..; else ..; 8188
ConfusingTernary Avoid if (x != y) ..; else ..; 99106
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 105

fr/paris/lutece/plugins/pluginwizard/service/AttributeService.java

Rule Violation Line
ConfusingTernary Avoid if (x != y) ..; else ..; 6067
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 66

fr/paris/lutece/plugins/pluginwizard/service/MapperService.java

Rule Violation Line
ShortVariable Avoid variables with short names like sw 67
UnnecessaryLocalBeforeReturn Consider simply returning the value vs storing it in local variable 'sw' 68
AvoidCatchingGenericException Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block 91

fr/paris/lutece/plugins/pluginwizard/service/ModelService.java

Rule Violation Line
ExcessivePublicCount This class has a bunch of public methods and attributes 341320
ExcessiveClassLength Avoid really long classes. 651320
CyclomaticComplexity The class 'ModelService' has a total cyclomatic complexity of 139 (highest 7). 651320
GodClass Possible God Class (WMC=139, ATFD=144, TCC=1.647%) 651320
TooManyMethods This class has too many methods, consider refactoring it. 661320
ShortVariable Avoid variables with short names like ID 69
ShortVariable Avoid variables with short names like pm 89
ShortVariable Avoid variables with short names like pm 108
ConfusingTernary Avoid if (x != y) ..; else ..; 111119
ShortVariable Avoid variables with short names like pm 130
ConfusingTernary Avoid if (x != y) ..; else ..; 139146
ShortVariable Avoid variables with short names like pm 156
ShortVariable Avoid variables with short names like pm 194
ShortVariable Avoid variables with short names like pm 214
ShortVariable Avoid variables with short names like pm 234
ShortVariable Avoid variables with short names like pm 259
ShortVariable Avoid variables with short names like f 264
ShortVariable Avoid variables with short names like pm 288
ShortVariable Avoid variables with short names like f 293
ShortVariable Avoid variables with short names like pm 321
ShortVariable Avoid variables with short names like pm 335
ShortVariable Avoid variables with short names like pm 358
ShortVariable Avoid variables with short names like pm 374
ShortVariable Avoid variables with short names like pm 399
ShortVariable Avoid variables with short names like pm 428
ShortVariable Avoid variables with short names like f 433
ShortVariable Avoid variables with short names like pm 461
ShortVariable Avoid variables with short names like pm 484
ShortVariable Avoid variables with short names like pm 499
ShortVariable Avoid variables with short names like pm 524
ShortVariable Avoid variables with short names like p 529
ShortVariable Avoid variables with short names like pm 553
ShortVariable Avoid variables with short names like p 558
ShortVariable Avoid variables with short names like pm 584
ShortVariable Avoid variables with short names like pm 598
ShortVariable Avoid variables with short names like bc 620
PrematureDeclaration Avoid declaring a variable if it is unreferenced before a possible exit point. 622
ShortVariable Avoid variables with short names like pm 622
ForLoopCanBeForeach This for loop can be replaced by a foreach loop 640647
UseStringBufferForStringAppends Prefer StringBuilder (non-synchronized) or StringBuffer (synchronized) over += for concatenating strings 644
UseStringBufferForStringAppends Prefer StringBuilder (non-synchronized) or StringBuffer (synchronized) over += for concatenating strings 646
ShortVariable Avoid variables with short names like pm 665
ShortVariable Avoid variables with short names like pm 690
ShortVariable Avoid variables with short names like bc 695
PrematureDeclaration Avoid declaring a variable if it is unreferenced before a possible exit point. 701
ShortVariable Avoid variables with short names like pm 738
ShortVariable Avoid variables with short names like bc 743
ShortVariable Avoid variables with short names like pm 764
ShortVariable Avoid variables with short names like pm 787
ShortVariable Avoid variables with short names like bc 788
ConfusingTernary Avoid if (x != y) ..; else ..; 789806
ShortVariable Avoid variables with short names like pm 821
ShortVariable Avoid variables with short names like bc 822
ShortVariable Avoid variables with short names like pm 870
ShortVariable Avoid variables with short names like bc 871
ShortVariable Avoid variables with short names like pm 904
ShortVariable Avoid variables with short names like bc 905
ShortVariable Avoid variables with short names like pm 939
ShortVariable Avoid variables with short names like pm 953
ShortVariable Avoid variables with short names like pm 967
ShortVariable Avoid variables with short names like pm 979
ShortVariable Avoid variables with short names like pm 1007
ShortVariable Avoid variables with short names like pm 1041
ShortVariable Avoid variables with short names like pm 1075
ShortVariable Avoid variables with short names like pm 1110
ShortVariable Avoid variables with short names like pm 1238
ShortVariable Avoid variables with short names like pm 1262
ShortVariable Avoid variables with short names like pm 1285
ShortVariable Avoid variables with short names like pm 1306

fr/paris/lutece/plugins/pluginwizard/service/PluginWizardJsonService.java

Rule Violation Line
UnusedPrivateField Avoid unused private fields such as '_plugin'. 50
AvoidSynchronizedAtMethodLevel Use block level rather than method level synchronization 5765
CommentRequired Public method and constructor comments are required 8389

fr/paris/lutece/plugins/pluginwizard/service/PluginWizardZipService.java

Rule Violation Line
AvoidSynchronizedAtMethodLevel Use block level rather than method level synchronization 6674
ShortVariable Avoid variables with short names like sb 104
AssignmentInOperand Avoid assignments in operands 110
AvoidCatchingGenericException Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block 122

fr/paris/lutece/plugins/pluginwizard/service/QualityService.java

Rule Violation Line
GodClass Possible God Class (WMC=56, ATFD=42, TCC=0.000%) 50448
TooManyMethods This class has too many methods, consider refactoring it. 51448
UseUtilityClass All methods are static. Consider using a utility class instead. Alternatively, you could add a private constructor or make the class abstract to silence this warning. 51448

fr/paris/lutece/plugins/pluginwizard/service/generator/AbstractFileGenerator.java

Rule Violation Line
ShortVariable Avoid variables with short names like pm 59
ShortVariable Avoid variables with short names like pm 89
UseConcurrentHashMap If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation 91
ShortVariable Avoid variables with short names like pm 108
ShortVariable Avoid variables with short names like pm 120

fr/paris/lutece/plugins/pluginwizard/service/generator/AbstractGenerator.java

Rule Violation Line
ShortVariable Avoid variables with short names like pm 108
UseLocaleWithCaseConversions When doing a String.toLowerCase()/toUpperCase() call, use a Locale 140
UseLocaleWithCaseConversions When doing a String.toLowerCase()/toUpperCase() call, use a Locale 140
UnnecessaryLocalBeforeReturn Consider simply returning the value vs storing it in local variable 'strValueCap' 142
ShortVariable Avoid variables with short names like pm 152
UseConcurrentHashMap If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation 154
ShortVariable Avoid variables with short names like pm 167
ShortVariable Avoid variables with short names like pm 181

fr/paris/lutece/plugins/pluginwizard/service/generator/AdminJspBeanGenerator.java

Rule Violation Line
CommentRequired Public method and constructor comments are required 6676
ConfusingTernary Avoid if (x != y) ..; else ..; 6875
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 74
MissingOverride The method 'generate(PluginModel, String)' is missing an @Override annotation. 92139
CyclomaticComplexity The method 'generate(PluginModel, String)' has a cyclomatic complexity of 15. 92139
ShortVariable Avoid variables with short names like pm 92
UseObjectForClearerAPI Rather than using a lot of String arguments, consider using a container object for those values. 154155
ShortVariable Avoid variables with short names like pm 154
ShortVariable Avoid variables with short names like pm 182
UseObjectForClearerAPI Rather than using a lot of String arguments, consider using a container object for those values. 182183
ShortVariable Avoid variables with short names like pm 207

fr/paris/lutece/plugins/pluginwizard/service/generator/AdminJspControllerGenerator.java

Rule Violation Line
ShortVariable Avoid variables with short names like pm 81
UseLocaleWithCaseConversions When doing a String.toLowerCase()/toUpperCase() call, use a Locale 122
UseConcurrentHashMap If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation 123
UnusedPrivateMethod Avoid unused private methods such as 'getFeatureJspFile(String,String,boolean)'. 141
UseConcurrentHashMap If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation 143

fr/paris/lutece/plugins/pluginwizard/service/generator/AdminJspGenerator.java

Rule Violation Line
ShortVariable Avoid variables with short names like pm 85
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 103
UseConcurrentHashMap If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation 148
AddEmptyString Do not add empty strings 152
UseLocaleWithCaseConversions When doing a String.toLowerCase()/toUpperCase() call, use a Locale 155
UseConcurrentHashMap If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation 173

fr/paris/lutece/plugins/pluginwizard/service/generator/AdminTemplateGenerator.java

Rule Violation Line
ShortVariable Avoid variables with short names like pm 68
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 92
UseLocaleWithCaseConversions When doing a String.toLowerCase()/toUpperCase() call, use a Locale 94
UseLocaleWithCaseConversions When doing a String.toLowerCase()/toUpperCase() call, use a Locale 98
UseLocaleWithCaseConversions When doing a String.toLowerCase()/toUpperCase() call, use a Locale 107
UseDiamondOperator Explicit type arguments can be replaced by Diamond Operator 133
UseConcurrentHashMap If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation 133
UseConcurrentHashMap If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation 169
UseDiamondOperator Explicit type arguments can be replaced by Diamond Operator 169

fr/paris/lutece/plugins/pluginwizard/service/generator/BusinessClassGenerator.java

Rule Violation Line
ConfusingTernary Avoid if (x != y) ..; else ..; 6572
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 71
ShortVariable Avoid variables with short names like pm 79
UseObjectForClearerAPI Rather than using a lot of String arguments, consider using a container object for those values. 150
UseConcurrentHashMap If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation 152
UseObjectForClearerAPI Rather than using a lot of String arguments, consider using a container object for those values. 173
UseConcurrentHashMap If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation 175

fr/paris/lutece/plugins/pluginwizard/service/generator/BusinessKotlinClassGenerator.java

Rule Violation Line
ConfusingTernary Avoid if (x != y) ..; else ..; 6269
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 68
ShortVariable Avoid variables with short names like pm 76
UseObjectForClearerAPI Rather than using a lot of String arguments, consider using a container object for those values. 116
UseConcurrentHashMap If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation 118

fr/paris/lutece/plugins/pluginwizard/service/generator/GenerationScheme.java

Rule Violation Line
RedundantFieldInitializer Avoid using redundant field initializer for '_bIsDefault' 47
RedundantFieldInitializer Avoid using redundant field initializer for '_bIsWorkflow' 48
ConfusingTernary Avoid if (x != y) ..; else ..; 8996
ConfusingTernary Avoid if (x != y) ..; else ..; 105112
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 111

fr/paris/lutece/plugins/pluginwizard/service/generator/GeneratorService.java

Rule Violation Line
UseConcurrentHashMap If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation 68
AvoidCatchingGenericException Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block 80

fr/paris/lutece/plugins/pluginwizard/service/generator/PluginXmlGenerator.java

Rule Violation Line
ShortVariable Avoid variables with short names like pm 61
ShortVariable Avoid variables with short names like pm 70
UseConcurrentHashMap If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation 72
CommentRequired Public method and constructor comments are required 80117
ShortVariable Avoid variables with short names like pm 80
UseCollectionIsEmpty Substitute calls to size() == 0 (or size() != 0, size() > 0, size() < 1) with calls to isEmpty() 86
ShortVariable Avoid variables with short names like i 89
ShortVariable Avoid variables with short names like id 90
ShortVariable Avoid variables with short names like pm 123

fr/paris/lutece/plugins/pluginwizard/service/generator/PomGenerator.java

Rule Violation Line
UnusedPrivateField Avoid unused private fields such as 'KEY_PREFIX'. 51
ShortVariable Avoid variables with short names like pm 65
ShortVariable Avoid variables with short names like pm 77
UseConcurrentHashMap If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation 79
ShortVariable Avoid variables with short names like pm 107

fr/paris/lutece/plugins/pluginwizard/service/generator/PortletGenerator.java

Rule Violation Line
ConfusingTernary Avoid if (x != y) ..; else ..; 6269
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 68
ShortVariable Avoid variables with short names like pm 76
UseConcurrentHashMap If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation 114

fr/paris/lutece/plugins/pluginwizard/service/generator/PortletJspBeanGenerator.java

Rule Violation Line
ShortVariable Avoid variables with short names like pm 55
UseConcurrentHashMap If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation 84

fr/paris/lutece/plugins/pluginwizard/service/generator/PortletJspGenerator.java

Rule Violation Line
ShortVariable Avoid variables with short names like pm 59
UseConcurrentHashMap If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation 95

fr/paris/lutece/plugins/pluginwizard/service/generator/PortletTemplateGenerator.java

Rule Violation Line
ShortVariable Avoid variables with short names like pm 57
UseLocaleWithCaseConversions When doing a String.toLowerCase()/toUpperCase() call, use a Locale 66
UseConcurrentHashMap If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation 108

fr/paris/lutece/plugins/pluginwizard/service/generator/PortletXslGenerator.java

Rule Violation Line
ShortVariable Avoid variables with short names like pm 56
UseLocaleWithCaseConversions When doing a String.toLowerCase()/toUpperCase() call, use a Locale 84
UseLocaleWithCaseConversions When doing a String.toLowerCase()/toUpperCase() call, use a Locale 84
UnnecessaryLocalBeforeReturn Consider simply returning the value vs storing it in local variable 'strValueCap' 86
UseConcurrentHashMap If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation 100

fr/paris/lutece/plugins/pluginwizard/service/generator/PropertiesGenerator.java

Rule Violation Line
ShortVariable Avoid variables with short names like pm 52
ShortVariable Avoid variables with short names like pm 61

fr/paris/lutece/plugins/pluginwizard/service/generator/ResourcesGenerator.java

Rule Violation Line
GodClass Possible God Class (WMC=47, ATFD=77, TCC=0.000%) 55482
ShortVariable Avoid variables with short names like pm 77
ShortVariable Avoid variables with short names like pm 105
ShortVariable Avoid variables with short names like sb 107
ShortVariable Avoid variables with short names like sb 138
ShortVariable Avoid variables with short names like pm 138
ConsecutiveLiteralAppends StringBuffer (or StringBuilder).append is called 2 consecutive times with literals. Use a single append with a single combined String. 143
ConsecutiveLiteralAppends StringBuffer (or StringBuilder).append is called 2 consecutive times with literals. Use a single append with a single combined String. 144
AppendCharacterWithChar Avoid appending characters as strings in StringBuffer.append. 144
AppendCharacterWithChar Avoid appending characters as strings in StringBuffer.append. 145
ConsecutiveLiteralAppends StringBuffer (or StringBuilder).append is called 2 consecutive times with literals. Use a single append with a single combined String. 150
ConsecutiveLiteralAppends StringBuffer (or StringBuilder).append is called 2 consecutive times with literals. Use a single append with a single combined String. 151
AppendCharacterWithChar Avoid appending characters as strings in StringBuffer.append. 151
ConsecutiveLiteralAppends StringBuffer (or StringBuilder).append is called 2 consecutive times with literals. Use a single append with a single combined String. 152
AppendCharacterWithChar Avoid appending characters as strings in StringBuffer.append. 152
AppendCharacterWithChar Avoid appending characters as strings in StringBuffer.append. 153
UseLocaleWithCaseConversions When doing a String.toLowerCase()/toUpperCase() call, use a Locale 153
UseLocaleWithCaseConversions When doing a String.toLowerCase()/toUpperCase() call, use a Locale 153
ConsecutiveLiteralAppends StringBuffer (or StringBuilder).append is called 2 consecutive times with literals. Use a single append with a single combined String. 157
ConsecutiveLiteralAppends StringBuffer (or StringBuilder).append is called 2 consecutive times with literals. Use a single append with a single combined String. 158
AppendCharacterWithChar Avoid appending characters as strings in StringBuffer.append. 158
AppendCharacterWithChar Avoid appending characters as strings in StringBuffer.append. 159
AppendCharacterWithChar Avoid appending characters as strings in StringBuffer.append. 162
ShortVariable Avoid variables with short names like sb 173
ShortVariable Avoid variables with short names like pm 173
ConsecutiveLiteralAppends StringBuffer (or StringBuilder).append is called 2 consecutive times with literals. Use a single append with a single combined String. 181
AppendCharacterWithChar Avoid appending characters as strings in StringBuffer.append. 181
AppendCharacterWithChar Avoid appending characters as strings in StringBuffer.append. 183
AppendCharacterWithChar Avoid appending characters as strings in StringBuffer.append. 186
ShortVariable Avoid variables with short names like sb 190
ShortVariable Avoid variables with short names like pm 190
AvoidDuplicateLiterals The String literal "xpage." appears 4 times in this file; the first occurrence is on line 201 201
AppendCharacterWithChar Avoid appending characters as strings in StringBuffer.append. 202
ConsecutiveLiteralAppends StringBuffer (or StringBuilder).append is called 2 consecutive times with literals. Use a single append with a single combined String. 202
AppendCharacterWithChar Avoid appending characters as strings in StringBuffer.append. 204
UseLocaleWithCaseConversions When doing a String.toLowerCase()/toUpperCase() call, use a Locale 214
AppendCharacterWithChar Avoid appending characters as strings in StringBuffer.append. 215
UseLocaleWithCaseConversions When doing a String.toLowerCase()/toUpperCase() call, use a Locale 215
ConsecutiveLiteralAppends StringBuffer (or StringBuilder).append is called 2 consecutive times with literals. Use a single append with a single combined String. 215
UseLocaleWithCaseConversions When doing a String.toLowerCase()/toUpperCase() call, use a Locale 216
AppendCharacterWithChar Avoid appending characters as strings in StringBuffer.append. 217
UseLocaleWithCaseConversions When doing a String.toLowerCase()/toUpperCase() call, use a Locale 217
CyclomaticComplexity The method 'generateBusinessClassKeys(StringBuilder, PluginModel, String)' has a cyclomatic complexity of 13. 235310
ShortVariable Avoid variables with short names like sb 235
ShortVariable Avoid variables with short names like pm 235
NPathComplexity The method 'generateBusinessClassKeys(StringBuilder, PluginModel, String)' has an NPath complexity of 482 235310
AppendCharacterWithChar Avoid appending characters as strings in StringBuffer.append. 244
UseLocaleWithCaseConversions When doing a String.toLowerCase()/toUpperCase() call, use a Locale 246
AppendCharacterWithChar Avoid appending characters as strings in StringBuffer.append. 247
AppendCharacterWithChar Avoid appending characters as strings in StringBuffer.append. 248
AppendCharacterWithChar Avoid appending characters as strings in StringBuffer.append. 249
AppendCharacterWithChar Avoid appending characters as strings in StringBuffer.append. 253
AppendCharacterWithChar Avoid appending characters as strings in StringBuffer.append. 253
UseLocaleWithCaseConversions When doing a String.toLowerCase()/toUpperCase() call, use a Locale 258
AppendCharacterWithChar Avoid appending characters as strings in StringBuffer.append. 259
AppendCharacterWithChar Avoid appending characters as strings in StringBuffer.append. 260
UseLocaleWithCaseConversions When doing a String.toLowerCase()/toUpperCase() call, use a Locale 265
AppendCharacterWithChar Avoid appending characters as strings in StringBuffer.append. 266
AppendCharacterWithChar Avoid appending characters as strings in StringBuffer.append. 270
AvoidDuplicateLiterals The String literal "label" appears 4 times in this file; the first occurrence is on line 270 270
AppendCharacterWithChar Avoid appending characters as strings in StringBuffer.append. 270
AppendCharacterWithChar Avoid appending characters as strings in StringBuffer.append. 276
AppendCharacterWithChar Avoid appending characters as strings in StringBuffer.append. 277
ConsecutiveLiteralAppends StringBuffer (or StringBuilder).append is called 2 consecutive times with literals. Use a single append with a single combined String. 277
UseLocaleWithCaseConversions When doing a String.toLowerCase()/toUpperCase() call, use a Locale 282
AppendCharacterWithChar Avoid appending characters as strings in StringBuffer.append. 291
AppendCharacterWithChar Avoid appending characters as strings in StringBuffer.append. 297
AddEmptyString Do not add empty strings 297
UseLocaleWithCaseConversions When doing a String.toLowerCase()/toUpperCase() call, use a Locale 303
AppendCharacterWithChar Avoid appending characters as strings in StringBuffer.append. 307
AppendCharacterWithChar Avoid appending characters as strings in StringBuffer.append. 307
ShortVariable Avoid variables with short names like sb 322
ShortVariable Avoid variables with short names like pm 322
ShortVariable Avoid variables with short names like bc 327
ConsecutiveLiteralAppends StringBuffer (or StringBuilder).append is called 3 consecutive times with literals. Use a single append with a single combined String. 334
AppendCharacterWithChar Avoid appending characters as strings in StringBuffer.append. 335
AppendCharacterWithChar Avoid appending characters as strings in StringBuffer.append. 340
AppendCharacterWithChar Avoid appending characters as strings in StringBuffer.append. 340
AppendCharacterWithChar Avoid appending characters as strings in StringBuffer.append. 356
AddEmptyString Do not add empty strings 362
AppendCharacterWithChar Avoid appending characters as strings in StringBuffer.append. 362
AppendCharacterWithChar Avoid appending characters as strings in StringBuffer.append. 373
AppendCharacterWithChar Avoid appending characters as strings in StringBuffer.append. 373
ShortVariable Avoid variables with short names like pm 389
UnusedFormalParameter Avoid unused method parameters such as 'strLanguage'. 389
ShortVariable Avoid variables with short names like sb 389
AppendCharacterWithChar Avoid appending characters as strings in StringBuffer.append. 391
ConsecutiveLiteralAppends StringBuffer (or StringBuilder).append is called 3 consecutive times with literals. Use a single append with a single combined String. 391
UnusedLocalVariable Avoid unused local variables such as 'strPrefix'. 393
AppendCharacterWithChar Avoid appending characters as strings in StringBuffer.append. 394
ShortVariable Avoid variables with short names like pm 407
UnusedFormalParameter Avoid unused method parameters such as 'pm'. 407
ShortVariable Avoid variables with short names like sb 407
UnusedFormalParameter Avoid unused method parameters such as 'strLanguage'. 407
AppendCharacterWithChar Avoid appending characters as strings in StringBuffer.append. 409
ConsecutiveAppendsShouldReuse StringBuffer (or StringBuilder).append is called consecutively without reusing the target variable. 409
ConsecutiveLiteralAppends StringBuffer (or StringBuilder).append is called 6 consecutive times with literals. Use a single append with a single combined String. 409
AppendCharacterWithChar Avoid appending characters as strings in StringBuffer.append. 410
AppendCharacterWithChar Avoid appending characters as strings in StringBuffer.append. 410
ShortVariable Avoid variables with short names like sb 421
ShortVariable Avoid variables with short names like pm 421
UseLocaleWithCaseConversions When doing a String.toLowerCase()/toUpperCase() call, use a Locale 429
AppendCharacterWithChar Avoid appending characters as strings in StringBuffer.append. 430
AppendCharacterWithChar Avoid appending characters as strings in StringBuffer.append. 433
ShortVariable Avoid variables with short names like sb 445
ShortVariable Avoid variables with short names like pm 445
AppendCharacterWithChar Avoid appending characters as strings in StringBuffer.append. 455
AppendCharacterWithChar Avoid appending characters as strings in StringBuffer.append. 455
UseLocaleWithCaseConversions When doing a String.toLowerCase()/toUpperCase() call, use a Locale 455
AppendCharacterWithChar Avoid appending characters as strings in StringBuffer.append. 456
AppendCharacterWithChar Avoid appending characters as strings in StringBuffer.append. 456
AppendCharacterWithChar Avoid appending characters as strings in StringBuffer.append. 460

fr/paris/lutece/plugins/pluginwizard/service/generator/RestConstantsGenerator.java

Rule Violation Line
ShortVariable Avoid variables with short names like pm 60
ShortVariable Avoid variables with short names like pm 85

fr/paris/lutece/plugins/pluginwizard/service/generator/RestGenerator.java

Rule Violation Line
ShortVariable Avoid variables with short names like pm 60
ShortVariable Avoid variables with short names like pm 89

fr/paris/lutece/plugins/pluginwizard/service/generator/RestSwaggerGenerator.java

Rule Violation Line
ShortVariable Avoid variables with short names like pm 60
ShortVariable Avoid variables with short names like pm 85

fr/paris/lutece/plugins/pluginwizard/service/generator/RestSwaggerJsonGenerator.java

Rule Violation Line
ShortVariable Avoid variables with short names like pm 60
ShortVariable Avoid variables with short names like pm 85

fr/paris/lutece/plugins/pluginwizard/service/generator/SiteDocumentationGenerator.java

Rule Violation Line
ShortVariable Avoid variables with short names like pm 52
ShortVariable Avoid variables with short names like pm 76
UseConcurrentHashMap If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation 78

fr/paris/lutece/plugins/pluginwizard/service/generator/SpringContextXmlGenerator.java

Rule Violation Line
ShortVariable Avoid variables with short names like pm 56
ShortVariable Avoid variables with short names like pm 68

fr/paris/lutece/plugins/pluginwizard/service/generator/SqlCodeGenerator.java

Rule Violation Line
ShortVariable Avoid variables with short names like pm 61
UseLocaleWithCaseConversions When doing a String.toLowerCase()/toUpperCase() call, use a Locale 69
ShortVariable Avoid variables with short names like pm 112
UseConcurrentHashMap If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation 114

fr/paris/lutece/plugins/pluginwizard/service/generator/TaskComponentGenerator.java

Rule Violation Line
ShortVariable Avoid variables with short names like pm 59
ShortVariable Avoid variables with short names like pm 83
UseConcurrentHashMap If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation 85

fr/paris/lutece/plugins/pluginwizard/service/generator/TaskFormsGenerator.java

Rule Violation Line
UseLocaleWithCaseConversions When doing a String.toLowerCase()/toUpperCase() call, use a Locale 87
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 88
SimplifyStartsWith This call to String.startsWith can be rewritten using String.charAt(0) 97
UseConcurrentHashMap If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation 126

fr/paris/lutece/plugins/pluginwizard/service/generator/TaskServiceClassGenerator.java

Rule Violation Line
ShortVariable Avoid variables with short names like pm 58
ShortVariable Avoid variables with short names like pm 80
UseConcurrentHashMap If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation 82

fr/paris/lutece/plugins/pluginwizard/service/generator/TaskServiceGenerator.java

Rule Violation Line
ShortVariable Avoid variables with short names like pm 57
ShortVariable Avoid variables with short names like pm 80
UseConcurrentHashMap If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation 82

fr/paris/lutece/plugins/pluginwizard/service/generator/XPageGenerator.java

Rule Violation Line
ConfusingTernary Avoid if (x != y) ..; else ..; 7380
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 79
CyclomaticComplexity The method 'generate(PluginModel, String)' has a cyclomatic complexity of 11. 89128
ShortVariable Avoid variables with short names like pm 89
UnusedLocalVariable Avoid unused local variables such as 'strFilesPath'. 92
PrematureDeclaration Avoid declaring a variable if it is unreferenced before a possible exit point. 92
ShortVariable Avoid variables with short names like pm 145
ShortVariable Avoid variables with short names like pm 172

fr/paris/lutece/plugins/pluginwizard/service/generator/XPageTemplateGenerator.java

Rule Violation Line
ShortVariable Avoid variables with short names like pm 68
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 96
UseLocaleWithCaseConversions When doing a String.toLowerCase()/toUpperCase() call, use a Locale 98
UseLocaleWithCaseConversions When doing a String.toLowerCase()/toUpperCase() call, use a Locale 102
UseLocaleWithCaseConversions When doing a String.toLowerCase()/toUpperCase() call, use a Locale 111
UseConcurrentHashMap If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation 139
UseConcurrentHashMap If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation 173
UseConcurrentHashMap If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation 202

fr/paris/lutece/plugins/pluginwizard/util/Utils.java

Rule Violation Line
ShortVariable Avoid variables with short names like c 63
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 65
UseLocaleWithCaseConversions When doing a String.toLowerCase()/toUpperCase() call, use a Locale 75
UseLocaleWithCaseConversions When doing a String.toLowerCase()/toUpperCase() call, use a Locale 95

fr/paris/lutece/plugins/pluginwizard/web/PluginWizardApp.java

Rule Violation Line
ExcessivePublicCount This class has a bunch of public methods and attributes 342087
ExcessiveImports A high number of imports can indicate a high degree of coupling within an object. 342087
ExcessiveClassLength Avoid really long classes. 892087
TooManyMethods This class has too many methods, consider refactoring it. 902087
AvoidDeeplyNestedIfStmts Deeply nested if..then statements are hard to read 321324
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 399
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 460
CommentRequired Public method and constructor comments are required 466472
ConfusingTernary Avoid if (x != y) ..; else ..; 513
ShortVariable Avoid variables with short names like pm 670
ShortVariable Avoid variables with short names like pm 691
ConfusingTernary Avoid if (x != y) ..; else ..; 692
ShortVariable Avoid variables with short names like pm 713
ConfusingTernary Avoid if (x != y) ..; else ..; 753774
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 770
ConfusingTernary Avoid if (x != y) ..; else ..; 800820
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 816
ConfusingTernary Avoid if (x != y) ..; else ..; 917
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 945
ConfusingTernary Avoid if (x != y) ..; else ..; 971980
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 983
ConfusingTernary Avoid if (x != y) ..; else ..; 10051020
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 1010
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 1023
CommentRequired Public method and constructor comments are required 11271136
ConfusingTernary Avoid if (x != y) ..; else ..; 1153
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 1177
ConfusingTernary Avoid if (x != y) ..; else ..; 12051213
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 1216
ConfusingTernary Avoid if (x != y) ..; else ..; 12381246
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 1249
ConfusingTernary Avoid if (x != y) ..; else ..; 13671377
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 1380
ConfusingTernary Avoid if (x != y) ..; else ..; 14061416
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 1419
CommentRequired Public method and constructor comments are required 14811497
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 1489
ShortVariable Avoid variables with short names like pm 1530
ConfusingTernary Avoid if (x != y) ..; else ..; 1531
ShortVariable Avoid variables with short names like pm 1552
ConfusingTernary Avoid if (x != y) ..; else ..; 15931603
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 1606
ConfusingTernary Avoid if (x != y) ..; else ..; 16341643
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 1646
ConfusingTernary Avoid if (x != y) ..; else ..; 1741
ConfusingTernary Avoid if (x != y) ..; else ..; 17861796
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 1799
ConfusingTernary Avoid if (x != y) ..; else ..; 18171827
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 1830
ShortVariable Avoid variables with short names like pm 1908
ShortVariable Avoid variables with short names like e 1986

fr/paris/lutece/plugins/pluginwizard/web/PluginwizardJspBean.java

Rule Violation Line
SingularField Perhaps '_nDefaultItemsPerPage' could be replaced by a local variable. 109
UseDiamondOperator Explicit type arguments can be replaced by Diamond Operator 134
UseConcurrentHashMap If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation 134
AddEmptyString Do not add empty strings 136
UseDiamondOperator Explicit type arguments can be replaced by Diamond Operator 156
UseConcurrentHashMap If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation 156
PrematureDeclaration Avoid declaring a variable if it is unreferenced before a possible exit point. 172
PrematureDeclaration Avoid declaring a variable if it is unreferenced before a possible exit point. 174
PositionLiteralsFirstInComparisons Position literals first in String comparisons 176
PositionLiteralsFirstInComparisons Position literals first in String comparisons 181
UseConcurrentHashMap If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation 239
UseDiamondOperator Explicit type arguments can be replaced by Diamond Operator 239
PrematureDeclaration Avoid declaring a variable if it is unreferenced before a possible exit point. 259

fr/paris/lutece/plugins/pluginwizard/web/formbean/BusinessClassFormBean.java

Rule Violation Line
MissingSerialVersionUID Classes implementing Serializable should set a serialVersionUID 44207

fr/paris/lutece/plugins/pluginwizard/web/formbean/ConfigurationFormBean.java

Rule Violation Line
MissingSerialVersionUID Classes implementing Serializable should set a serialVersionUID 44169
UncommentedEmptyConstructor Document empty constructor 6163
UnnecessaryConstructor Avoid unnecessary constructors - the compiler will generate these for you 6163

fr/paris/lutece/plugins/pluginwizard/web/formbean/DescriptionFormBean.java

Rule Violation Line
MissingSerialVersionUID Classes implementing Serializable should set a serialVersionUID 47340
UncommentedEmptyConstructor Document empty constructor 7678
UnnecessaryConstructor Avoid unnecessary constructors - the compiler will generate these for you 7678

fr/paris/lutece/plugins/pluginwizard/web/formbean/FormBean.java

Rule Violation Line
CommentRequired Header comments are required 3643
CommentRequired Public method and constructor comments are required 38
UnnecessaryModifier Unnecessary modifier 'public' on method 'getName': the method is declared in an interface type 38
UnnecessaryModifier Unnecessary modifier 'public' on method 'setName': the method is declared in an interface type 39
CommentRequired Public method and constructor comments are required 39
CommentRequired Public method and constructor comments are required 40
UnnecessaryModifier Unnecessary modifier 'public' on method 'getType': the method is declared in an interface type 40
UnnecessaryModifier Unnecessary modifier 'public' on method 'setType': the method is declared in an interface type 41
CommentRequired Public method and constructor comments are required 41

fr/paris/lutece/plugins/pluginwizard/web/formbean/ModuleNameFormBean.java

Rule Violation Line
MissingSerialVersionUID Classes implementing Serializable should set a serialVersionUID 4487
MissingOverride The method 'getName()' is missing an @Override annotation. 5760
MissingOverride The method 'setName(String)' is missing an @Override annotation. 6669
MissingOverride The method 'getType()' is missing an @Override annotation. 7477
MissingOverride The method 'setType(String)' is missing an @Override annotation. 8386

fr/paris/lutece/plugins/pluginwizard/web/formbean/PluginNameFormBean.java

Rule Violation Line
MissingSerialVersionUID Classes implementing Serializable should set a serialVersionUID 4485
MissingOverride The method 'getName()' is missing an @Override annotation. 5558
MissingOverride The method 'setName(String)' is missing an @Override annotation. 6467
MissingOverride The method 'getType()' is missing an @Override annotation. 7275
MissingOverride The method 'setType(String)' is missing an @Override annotation. 8184

fr/paris/lutece/plugins/pluginwizard/web/formbean/WorkflowTaskNameFormBean.java

Rule Violation Line
MissingSerialVersionUID Classes implementing Serializable should set a serialVersionUID 4486
MissingOverride The method 'getName()' is missing an @Override annotation. 5659
MissingOverride The method 'setName(String)' is missing an @Override annotation. 6568
MissingOverride The method 'getType()' is missing an @Override annotation. 7376
MissingOverride The method 'setType(String)' is missing an @Override annotation. 8285

Priority 4

fr/paris/lutece/plugins/pluginwizard/business/model/Attribute.java

Rule Violation Line
BooleanGetMethodName A getX() method which returns a boolean should be named isX() 226229

fr/paris/lutece/plugins/pluginwizard/business/model/PluginModel.java

Rule Violation Line
BooleanGetMethodName A getX() method which returns a boolean should be named isX() 714717

fr/paris/lutece/plugins/pluginwizard/business/model/Rest.java

Rule Violation Line
ShortClassName Avoid short class names like Rest 43108

fr/paris/lutece/plugins/pluginwizard/service/generator/AdminJspControllerGenerator.java

Rule Violation Line
UnusedImports Avoid unused imports such as 'fr.paris.lutece.plugins.pluginwizard.util.Utils' 40

fr/paris/lutece/plugins/pluginwizard/service/generator/AdminTemplateGenerator.java

Rule Violation Line
UnusedImports Avoid unused imports such as 'fr.paris.lutece.plugins.pluginwizard.util.Utils' 40

fr/paris/lutece/plugins/pluginwizard/service/generator/XPageTemplateGenerator.java

Rule Violation Line
UnusedImports Avoid unused imports such as 'fr.paris.lutece.plugins.pluginwizard.util.Utils' 40

fr/paris/lutece/plugins/pluginwizard/web/formbean/DescriptionFormBean.java

Rule Violation Line
BooleanGetMethodName A getX() method which returns a boolean should be named isX() 325328

Files

fr/paris/lutece/plugins/pluginwizard/business/ConfigurationKeyDAO.java

Rule Violation Priority Line
MissingOverride The method 'insert(ConfigurationKey, Plugin)' is missing an @Override annotation. 3 91105
MissingOverride The method 'load(int, Plugin)' is missing an @Override annotation. 3 116138
MissingOverride The method 'delete(int, Plugin)' is missing an @Override annotation. 3 148156
MissingOverride The method 'store(ConfigurationKey, Plugin)' is missing an @Override annotation. 3 166179
MissingOverride The method 'selectConfigurationKeysList(Plugin)' is missing an @Override annotation. 3 188210

fr/paris/lutece/plugins/pluginwizard/business/model/Application.java

Rule Violation Priority Line
ConfusingTernary Avoid if (x != y) ..; else ..; 3 132139
ConfusingTernary Avoid if (x != y) ..; else ..; 3 150157
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 3 156

fr/paris/lutece/plugins/pluginwizard/business/model/Attribute.java

Rule Violation Priority Line
UseLocaleWithCaseConversions When doing a String.toLowerCase()/toUpperCase() call, use a Locale 3 157
UseLocaleWithCaseConversions When doing a String.toLowerCase()/toUpperCase() call, use a Locale 3 190
UseLocaleWithCaseConversions When doing a String.toLowerCase()/toUpperCase() call, use a Locale 3 201
BooleanGetMethodName A getX() method which returns a boolean should be named isX() 4 226229

fr/paris/lutece/plugins/pluginwizard/business/model/BusinessClass.java

Rule Violation Priority Line
ConfusingTernary Avoid if (x != y) ..; else ..; 3 166173
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 3 172
ConfusingTernary Avoid if (x != y) ..; else ..; 3 183190

fr/paris/lutece/plugins/pluginwizard/business/model/Feature.java

Rule Violation Priority Line
ConfusingTernary Avoid if (x != y) ..; else ..; 3 229236
ConfusingTernary Avoid if (x != y) ..; else ..; 3 247254
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 3 253

fr/paris/lutece/plugins/pluginwizard/business/model/PluginModel.java

Rule Violation Priority Line
ExcessivePublicCount This class has a bunch of public methods and attributes 3 34739
TooManyFields Too many fields 3 53739
UseLocaleWithCaseConversions When doing a String.toLowerCase()/toUpperCase() call, use a Locale 3 209
UseLocaleWithCaseConversions When doing a String.toLowerCase()/toUpperCase() call, use a Locale 3 213
UseLocaleWithCaseConversions When doing a String.toLowerCase()/toUpperCase() call, use a Locale 3 226
ConfusingTernary Avoid if (x != y) ..; else ..; 3 539546
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 3 545
ConfusingTernary Avoid if (x != y) ..; else ..; 3 609616
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 3 615
ConfusingTernary Avoid if (x != y) ..; else ..; 3 637644
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 3 643
CommentRequired Public method and constructor comments are required 3 667670
MethodNamingConventions The instance method name 'BusinessClass' doesn't match '[a-z][a-zA-Z0-9]*' 1 672675
CommentRequired Public method and constructor comments are required 3 672675
BooleanGetMethodName A getX() method which returns a boolean should be named isX() 4 714717

fr/paris/lutece/plugins/pluginwizard/business/model/PluginModelDAO.java

Rule Violation Priority Line
MissingOverride The method 'insert(PluginModel, Plugin)' is missing an @Override annotation. 3 93118
MissingOverride The method 'load(int, Plugin)' is missing an @Override annotation. 3 129164
MissingOverride The method 'delete(int, Plugin)' is missing an @Override annotation. 3 174182
MissingOverride The method 'store(PluginModel, Plugin)' is missing an @Override annotation. 3 192216
MissingOverride The method 'selectPluginModelsList(Plugin)' is missing an @Override annotation. 3 225258
MissingOverride The method 'selectPluginModelByName(Plugin, String)' is missing an @Override annotation. 3 269287
MissingOverride The method 'pluginExists(String, Plugin)' is missing an @Override annotation. 3 298321

fr/paris/lutece/plugins/pluginwizard/business/model/Rest.java

Rule Violation Priority Line
ShortClassName Avoid short class names like Rest 4 43108
ConfusingTernary Avoid if (x != y) ..; else ..; 3 8188
ConfusingTernary Avoid if (x != y) ..; else ..; 3 99106
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 3 105

fr/paris/lutece/plugins/pluginwizard/service/AttributeService.java

Rule Violation Priority Line
ConfusingTernary Avoid if (x != y) ..; else ..; 3 6067
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 3 66

fr/paris/lutece/plugins/pluginwizard/service/MapperService.java

Rule Violation Priority Line
ShortVariable Avoid variables with short names like sw 3 67
UnnecessaryLocalBeforeReturn Consider simply returning the value vs storing it in local variable 'sw' 3 68
AvoidCatchingGenericException Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block 3 91

fr/paris/lutece/plugins/pluginwizard/service/ModelService.java

Rule Violation Priority Line
ExcessivePublicCount This class has a bunch of public methods and attributes 3 341320
ExcessiveClassLength Avoid really long classes. 3 651320
CyclomaticComplexity The class 'ModelService' has a total cyclomatic complexity of 139 (highest 7). 3 651320
GodClass Possible God Class (WMC=139, ATFD=144, TCC=1.647%) 3 651320
TooManyMethods This class has too many methods, consider refactoring it. 3 661320
ShortVariable Avoid variables with short names like ID 3 69
ShortVariable Avoid variables with short names like pm 3 89
ShortVariable Avoid variables with short names like pm 3 108
ConfusingTernary Avoid if (x != y) ..; else ..; 3 111119
ShortVariable Avoid variables with short names like pm 3 130
ConfusingTernary Avoid if (x != y) ..; else ..; 3 139146
ShortVariable Avoid variables with short names like pm 3 156
ShortVariable Avoid variables with short names like pm 3 194
ShortVariable Avoid variables with short names like pm 3 214
ShortVariable Avoid variables with short names like pm 3 234
ShortVariable Avoid variables with short names like pm 3 259
ShortVariable Avoid variables with short names like f 3 264
ShortVariable Avoid variables with short names like pm 3 288
ShortVariable Avoid variables with short names like f 3 293
ShortVariable Avoid variables with short names like pm 3 321
ShortVariable Avoid variables with short names like pm 3 335
ShortVariable Avoid variables with short names like pm 3 358
ShortVariable Avoid variables with short names like pm 3 374
ShortVariable Avoid variables with short names like pm 3 399
ShortVariable Avoid variables with short names like pm 3 428
ShortVariable Avoid variables with short names like f 3 433
ShortVariable Avoid variables with short names like pm 3 461
ShortVariable Avoid variables with short names like pm 3 484
ShortVariable Avoid variables with short names like pm 3 499
ShortVariable Avoid variables with short names like pm 3 524
ShortVariable Avoid variables with short names like p 3 529
ShortVariable Avoid variables with short names like pm 3 553
ShortVariable Avoid variables with short names like p 3 558
ShortVariable Avoid variables with short names like pm 3 584
ShortVariable Avoid variables with short names like pm 3 598
ShortVariable Avoid variables with short names like bc 3 620
PrematureDeclaration Avoid declaring a variable if it is unreferenced before a possible exit point. 3 622
ShortVariable Avoid variables with short names like pm 3 622
ForLoopCanBeForeach This for loop can be replaced by a foreach loop 3 640647
UseStringBufferForStringAppends Prefer StringBuilder (non-synchronized) or StringBuffer (synchronized) over += for concatenating strings 3 644
UseStringBufferForStringAppends Prefer StringBuilder (non-synchronized) or StringBuffer (synchronized) over += for concatenating strings 3 646
ShortVariable Avoid variables with short names like pm 3 665
ShortVariable Avoid variables with short names like pm 3 690
ShortVariable Avoid variables with short names like bc 3 695
PrematureDeclaration Avoid declaring a variable if it is unreferenced before a possible exit point. 3 701
ShortVariable Avoid variables with short names like pm 3 738
ShortVariable Avoid variables with short names like bc 3 743
ShortVariable Avoid variables with short names like pm 3 764
ShortVariable Avoid variables with short names like pm 3 787
ShortVariable Avoid variables with short names like bc 3 788
ConfusingTernary Avoid if (x != y) ..; else ..; 3 789806
ShortVariable Avoid variables with short names like pm 3 821
ShortVariable Avoid variables with short names like bc 3 822
ShortVariable Avoid variables with short names like pm 3 870
ShortVariable Avoid variables with short names like bc 3 871
ShortVariable Avoid variables with short names like pm 3 904
ShortVariable Avoid variables with short names like bc 3 905
ShortVariable Avoid variables with short names like pm 3 939
ShortVariable Avoid variables with short names like pm 3 953
ShortVariable Avoid variables with short names like pm 3 967
ShortVariable Avoid variables with short names like pm 3 979
ShortVariable Avoid variables with short names like pm 3 1007
ShortVariable Avoid variables with short names like pm 3 1041
ShortVariable Avoid variables with short names like pm 3 1075
ShortVariable Avoid variables with short names like pm 3 1110
ShortVariable Avoid variables with short names like pm 3 1238
ShortVariable Avoid variables with short names like pm 3 1262
ShortVariable Avoid variables with short names like pm 3 1285
ShortVariable Avoid variables with short names like pm 3 1306

fr/paris/lutece/plugins/pluginwizard/service/PluginWizardJsonService.java

Rule Violation Priority Line
UnusedPrivateField Avoid unused private fields such as '_plugin'. 3 50
AvoidSynchronizedAtMethodLevel Use block level rather than method level synchronization 3 5765
CommentRequired Public method and constructor comments are required 3 8389

fr/paris/lutece/plugins/pluginwizard/service/PluginWizardZipService.java

Rule Violation Priority Line
AvoidSynchronizedAtMethodLevel Use block level rather than method level synchronization 3 6674
ShortVariable Avoid variables with short names like sb 3 104
AssignmentInOperand Avoid assignments in operands 3 110
AvoidCatchingGenericException Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block 3 122

fr/paris/lutece/plugins/pluginwizard/service/QualityService.java

Rule Violation Priority Line
GodClass Possible God Class (WMC=56, ATFD=42, TCC=0.000%) 3 50448
TooManyMethods This class has too many methods, consider refactoring it. 3 51448
UseUtilityClass All methods are static. Consider using a utility class instead. Alternatively, you could add a private constructor or make the class abstract to silence this warning. 3 51448
FieldNamingConventions The static field name 'bValidUniqueBusinessClassName' doesn't match '_[a-z][a-zA-Z0-9]*' 1 53
FieldNamingConventions The static field name 'bValidUniquePluralBusinessClassName' doesn't match '_[a-z][a-zA-Z0-9]*' 1 54
FieldNamingConventions The static field name 'bValidUniqueTableName' doesn't match '_[a-z][a-zA-Z0-9]*' 1 55
FieldNamingConventions The static field name 'bValidUniqueAttributeName' doesn't match '_[a-z][a-zA-Z0-9]*' 1 58
FieldNamingConventions The static field name 'bValideUniqueFeatureRight' doesn't match '_[a-z][a-zA-Z0-9]*' 1 61
FieldNamingConventions The static field name 'bValideUniqueFeatureTitle' doesn't match '_[a-z][a-zA-Z0-9]*' 1 62
FieldNamingConventions The static field name 'bValideUniqueFeatureTechName' doesn't match '_[a-z][a-zA-Z0-9]*' 1 63
FieldNamingConventions The static field name 'bValideUniqueAdministrationName' doesn't match '_[a-z][a-zA-Z0-9]*' 1 66
FieldNamingConventions The static field name 'bValideUniqueAdministrationClass' doesn't match '_[a-z][a-zA-Z0-9]*' 1 67
FieldNamingConventions The static field name 'bValideUniquePortletClassName' doesn't match '_[a-z][a-zA-Z0-9]*' 1 70
FieldNamingConventions The static field name 'bValideUniquePortletType' doesn't match '_[a-z][a-zA-Z0-9]*' 1 71
FieldNamingConventions The static field name 'bValideUniquePortletJspName' doesn't match '_[a-z][a-zA-Z0-9]*' 1 72

fr/paris/lutece/plugins/pluginwizard/service/generator/AbstractFileGenerator.java

Rule Violation Priority Line
ShortVariable Avoid variables with short names like pm 3 59
ShortVariable Avoid variables with short names like pm 3 89
UseConcurrentHashMap If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation 3 91
ShortVariable Avoid variables with short names like pm 3 108
ShortVariable Avoid variables with short names like pm 3 120

fr/paris/lutece/plugins/pluginwizard/service/generator/AbstractGenerator.java

Rule Violation Priority Line
ShortVariable Avoid variables with short names like pm 3 108
UseLocaleWithCaseConversions When doing a String.toLowerCase()/toUpperCase() call, use a Locale 3 140
UseLocaleWithCaseConversions When doing a String.toLowerCase()/toUpperCase() call, use a Locale 3 140
UnnecessaryLocalBeforeReturn Consider simply returning the value vs storing it in local variable 'strValueCap' 3 142
ShortVariable Avoid variables with short names like pm 3 152
UseConcurrentHashMap If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation 3 154
ShortVariable Avoid variables with short names like pm 3 167
ShortVariable Avoid variables with short names like pm 3 181

fr/paris/lutece/plugins/pluginwizard/service/generator/AdminJspBeanGenerator.java

Rule Violation Priority Line
CommentRequired Public method and constructor comments are required 3 6676
ConfusingTernary Avoid if (x != y) ..; else ..; 3 6875
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 3 74
MissingOverride The method 'generate(PluginModel, String)' is missing an @Override annotation. 3 92139
CyclomaticComplexity The method 'generate(PluginModel, String)' has a cyclomatic complexity of 15. 3 92139
ShortVariable Avoid variables with short names like pm 3 92
UseObjectForClearerAPI Rather than using a lot of String arguments, consider using a container object for those values. 3 154155
ShortVariable Avoid variables with short names like pm 3 154
ShortVariable Avoid variables with short names like pm 3 182
UseObjectForClearerAPI Rather than using a lot of String arguments, consider using a container object for those values. 3 182183
ShortVariable Avoid variables with short names like pm 3 207

fr/paris/lutece/plugins/pluginwizard/service/generator/AdminJspControllerGenerator.java

Rule Violation Priority Line
UnusedImports Avoid unused imports such as 'fr.paris.lutece.plugins.pluginwizard.util.Utils' 4 40
ShortVariable Avoid variables with short names like pm 3 81
UseLocaleWithCaseConversions When doing a String.toLowerCase()/toUpperCase() call, use a Locale 3 122
UseConcurrentHashMap If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation 3 123
UnusedPrivateMethod Avoid unused private methods such as 'getFeatureJspFile(String,String,boolean)'. 3 141
UseConcurrentHashMap If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation 3 143

fr/paris/lutece/plugins/pluginwizard/service/generator/AdminJspGenerator.java

Rule Violation Priority Line
FieldNamingConventions The static field name '_jsp_prefix' doesn't match '_[a-z][a-zA-Z0-9]*' 1 53
ShortVariable Avoid variables with short names like pm 3 85
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 3 103
UseConcurrentHashMap If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation 3 148
AddEmptyString Do not add empty strings 3 152
UseLocaleWithCaseConversions When doing a String.toLowerCase()/toUpperCase() call, use a Locale 3 155
UseConcurrentHashMap If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation 3 173

fr/paris/lutece/plugins/pluginwizard/service/generator/AdminTemplateGenerator.java

Rule Violation Priority Line
UnusedImports Avoid unused imports such as 'fr.paris.lutece.plugins.pluginwizard.util.Utils' 4 40
FieldNamingConventions The static field name '_template_prefix' doesn't match '_[a-z][a-zA-Z0-9]*' 1 57
ShortVariable Avoid variables with short names like pm 3 68
LocalVariableNamingConventions The local variable name 'admin_feature' doesn't match '[a-z][a-zA-Z0-9]*' 1 84
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 3 92
UseLocaleWithCaseConversions When doing a String.toLowerCase()/toUpperCase() call, use a Locale 3 94
UseLocaleWithCaseConversions When doing a String.toLowerCase()/toUpperCase() call, use a Locale 3 98
UseLocaleWithCaseConversions When doing a String.toLowerCase()/toUpperCase() call, use a Locale 3 107
FormalParameterNamingConventions The method parameter name 'admin_feature' doesn't match '[a-z][a-zA-Z0-9]*' 1 130
UseDiamondOperator Explicit type arguments can be replaced by Diamond Operator 3 133
UseConcurrentHashMap If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation 3 133
UseConcurrentHashMap If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation 3 169
UseDiamondOperator Explicit type arguments can be replaced by Diamond Operator 3 169

fr/paris/lutece/plugins/pluginwizard/service/generator/BusinessClassGenerator.java

Rule Violation Priority Line
ConfusingTernary Avoid if (x != y) ..; else ..; 3 6572
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 3 71
ShortVariable Avoid variables with short names like pm 3 79
UseObjectForClearerAPI Rather than using a lot of String arguments, consider using a container object for those values. 3 150
UseConcurrentHashMap If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation 3 152
UseObjectForClearerAPI Rather than using a lot of String arguments, consider using a container object for those values. 3 173
UseConcurrentHashMap If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation 3 175

fr/paris/lutece/plugins/pluginwizard/service/generator/BusinessKotlinClassGenerator.java

Rule Violation Priority Line
ConfusingTernary Avoid if (x != y) ..; else ..; 3 6269
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 3 68
ShortVariable Avoid variables with short names like pm 3 76
UseObjectForClearerAPI Rather than using a lot of String arguments, consider using a container object for those values. 3 116
UseConcurrentHashMap If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation 3 118

fr/paris/lutece/plugins/pluginwizard/service/generator/GenerationScheme.java

Rule Violation Priority Line
RedundantFieldInitializer Avoid using redundant field initializer for '_bIsDefault' 3 47
RedundantFieldInitializer Avoid using redundant field initializer for '_bIsWorkflow' 3 48
ConfusingTernary Avoid if (x != y) ..; else ..; 3 8996
ConfusingTernary Avoid if (x != y) ..; else ..; 3 105112
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 3 111

fr/paris/lutece/plugins/pluginwizard/service/generator/GeneratorService.java

Rule Violation Priority Line
UseConcurrentHashMap If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation 3 68
AvoidCatchingGenericException Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block 3 80

fr/paris/lutece/plugins/pluginwizard/service/generator/Markers.java

Rule Violation Priority Line
ClassNamingConventions The utility class name 'Markers' doesn't match '[A-Z][a-zA-Z0-9]+(Utils?|Helper|Home|Service)' 1 3995

fr/paris/lutece/plugins/pluginwizard/service/generator/PluginXmlGenerator.java

Rule Violation Priority Line
ShortVariable Avoid variables with short names like pm 3 61
ShortVariable Avoid variables with short names like pm 3 70
UseConcurrentHashMap If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation 3 72
CommentRequired Public method and constructor comments are required 3 80117
ShortVariable Avoid variables with short names like pm 3 80
UseCollectionIsEmpty Substitute calls to size() == 0 (or size() != 0, size() > 0, size() < 1) with calls to isEmpty() 3 86
LocalVariableNamingConventions The local variable name 'BusinessNames' doesn't match '[a-z][a-zA-Z0-9]*' 1 88
ShortVariable Avoid variables with short names like i 3 89
ShortVariable Avoid variables with short names like id 3 90
ShortVariable Avoid variables with short names like pm 3 123

fr/paris/lutece/plugins/pluginwizard/service/generator/PomGenerator.java

Rule Violation Priority Line
UnusedPrivateField Avoid unused private fields such as 'KEY_PREFIX'. 3 51
ShortVariable Avoid variables with short names like pm 3 65
ShortVariable Avoid variables with short names like pm 3 77
UseConcurrentHashMap If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation 3 79
ShortVariable Avoid variables with short names like pm 3 107

fr/paris/lutece/plugins/pluginwizard/service/generator/PortletGenerator.java

Rule Violation Priority Line
ConfusingTernary Avoid if (x != y) ..; else ..; 3 6269
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 3 68
ShortVariable Avoid variables with short names like pm 3 76
UseConcurrentHashMap If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation 3 114

fr/paris/lutece/plugins/pluginwizard/service/generator/PortletJspBeanGenerator.java

Rule Violation Priority Line
ShortVariable Avoid variables with short names like pm 3 55
LocalVariableNamingConventions The local variable name '_path' doesn't match '[a-z][a-zA-Z0-9]*' 1 60
UseConcurrentHashMap If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation 3 84

fr/paris/lutece/plugins/pluginwizard/service/generator/PortletJspGenerator.java

Rule Violation Priority Line
ShortVariable Avoid variables with short names like pm 3 59
LocalVariableNamingConventions The local variable name '_path' doesn't match '[a-z][a-zA-Z0-9]*' 1 64
UseConcurrentHashMap If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation 3 95

fr/paris/lutece/plugins/pluginwizard/service/generator/PortletTemplateGenerator.java

Rule Violation Priority Line
ShortVariable Avoid variables with short names like pm 3 57
UseLocaleWithCaseConversions When doing a String.toLowerCase()/toUpperCase() call, use a Locale 3 66
UseConcurrentHashMap If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation 3 108

fr/paris/lutece/plugins/pluginwizard/service/generator/PortletXslGenerator.java

Rule Violation Priority Line
ShortVariable Avoid variables with short names like pm 3 56
UseLocaleWithCaseConversions When doing a String.toLowerCase()/toUpperCase() call, use a Locale 3 84
UseLocaleWithCaseConversions When doing a String.toLowerCase()/toUpperCase() call, use a Locale 3 84
UnnecessaryLocalBeforeReturn Consider simply returning the value vs storing it in local variable 'strValueCap' 3 86
UseConcurrentHashMap If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation 3 100

fr/paris/lutece/plugins/pluginwizard/service/generator/PropertiesGenerator.java

Rule Violation Priority Line
ShortVariable Avoid variables with short names like pm 3 52
ShortVariable Avoid variables with short names like pm 3 61

fr/paris/lutece/plugins/pluginwizard/service/generator/ResourcesGenerator.java

Rule Violation Priority Line
GodClass Possible God Class (WMC=47, ATFD=77, TCC=0.000%) 3 55482
ShortVariable Avoid variables with short names like pm 3 77
ShortVariable Avoid variables with short names like pm 3 105
ShortVariable Avoid variables with short names like sb 3 107
ShortVariable Avoid variables with short names like sb 3 138
ShortVariable Avoid variables with short names like pm 3 138
ConsecutiveLiteralAppends StringBuffer (or StringBuilder).append is called 2 consecutive times with literals. Use a single append with a single combined String. 3 143
ConsecutiveLiteralAppends StringBuffer (or StringBuilder).append is called 2 consecutive times with literals. Use a single append with a single combined String. 3 144
AppendCharacterWithChar Avoid appending characters as strings in StringBuffer.append. 3 144
AppendCharacterWithChar Avoid appending characters as strings in StringBuffer.append. 3 145
ConsecutiveLiteralAppends StringBuffer (or StringBuilder).append is called 2 consecutive times with literals. Use a single append with a single combined String. 3 150
ConsecutiveLiteralAppends StringBuffer (or StringBuilder).append is called 2 consecutive times with literals. Use a single append with a single combined String. 3 151
AppendCharacterWithChar Avoid appending characters as strings in StringBuffer.append. 3 151
ConsecutiveLiteralAppends StringBuffer (or StringBuilder).append is called 2 consecutive times with literals. Use a single append with a single combined String. 3 152
AppendCharacterWithChar Avoid appending characters as strings in StringBuffer.append. 3 152
AppendCharacterWithChar Avoid appending characters as strings in StringBuffer.append. 3 153
UseLocaleWithCaseConversions When doing a String.toLowerCase()/toUpperCase() call, use a Locale 3 153
UseLocaleWithCaseConversions When doing a String.toLowerCase()/toUpperCase() call, use a Locale 3 153
ConsecutiveLiteralAppends StringBuffer (or StringBuilder).append is called 2 consecutive times with literals. Use a single append with a single combined String. 3 157
ConsecutiveLiteralAppends StringBuffer (or StringBuilder).append is called 2 consecutive times with literals. Use a single append with a single combined String. 3 158
AppendCharacterWithChar Avoid appending characters as strings in StringBuffer.append. 3 158
AppendCharacterWithChar Avoid appending characters as strings in StringBuffer.append. 3 159
AppendCharacterWithChar Avoid appending characters as strings in StringBuffer.append. 3 162
ShortVariable Avoid variables with short names like sb 3 173
ShortVariable Avoid variables with short names like pm 3 173
ConsecutiveLiteralAppends StringBuffer (or StringBuilder).append is called 2 consecutive times with literals. Use a single append with a single combined String. 3 181
AppendCharacterWithChar Avoid appending characters as strings in StringBuffer.append. 3 181
AppendCharacterWithChar Avoid appending characters as strings in StringBuffer.append. 3 183
AppendCharacterWithChar Avoid appending characters as strings in StringBuffer.append. 3 186
ShortVariable Avoid variables with short names like sb 3 190
ShortVariable Avoid variables with short names like pm 3 190
AvoidDuplicateLiterals The String literal "xpage." appears 4 times in this file; the first occurrence is on line 201 3 201
AppendCharacterWithChar Avoid appending characters as strings in StringBuffer.append. 3 202
ConsecutiveLiteralAppends StringBuffer (or StringBuilder).append is called 2 consecutive times with literals. Use a single append with a single combined String. 3 202
AppendCharacterWithChar Avoid appending characters as strings in StringBuffer.append. 3 204
UseLocaleWithCaseConversions When doing a String.toLowerCase()/toUpperCase() call, use a Locale 3 214
AppendCharacterWithChar Avoid appending characters as strings in StringBuffer.append. 3 215
UseLocaleWithCaseConversions When doing a String.toLowerCase()/toUpperCase() call, use a Locale 3 215
ConsecutiveLiteralAppends StringBuffer (or StringBuilder).append is called 2 consecutive times with literals. Use a single append with a single combined String. 3 215
UseLocaleWithCaseConversions When doing a String.toLowerCase()/toUpperCase() call, use a Locale 3 216
AppendCharacterWithChar Avoid appending characters as strings in StringBuffer.append. 3 217
UseLocaleWithCaseConversions When doing a String.toLowerCase()/toUpperCase() call, use a Locale 3 217
CyclomaticComplexity The method 'generateBusinessClassKeys(StringBuilder, PluginModel, String)' has a cyclomatic complexity of 13. 3 235310
ShortVariable Avoid variables with short names like sb 3 235
ShortVariable Avoid variables with short names like pm 3 235
NPathComplexity The method 'generateBusinessClassKeys(StringBuilder, PluginModel, String)' has an NPath complexity of 482 3 235310
AppendCharacterWithChar Avoid appending characters as strings in StringBuffer.append. 3 244
UseLocaleWithCaseConversions When doing a String.toLowerCase()/toUpperCase() call, use a Locale 3 246
AppendCharacterWithChar Avoid appending characters as strings in StringBuffer.append. 3 247
AppendCharacterWithChar Avoid appending characters as strings in StringBuffer.append. 3 248
AppendCharacterWithChar Avoid appending characters as strings in StringBuffer.append. 3 249
AppendCharacterWithChar Avoid appending characters as strings in StringBuffer.append. 3 253
AppendCharacterWithChar Avoid appending characters as strings in StringBuffer.append. 3 253
UseLocaleWithCaseConversions When doing a String.toLowerCase()/toUpperCase() call, use a Locale 3 258
AppendCharacterWithChar Avoid appending characters as strings in StringBuffer.append. 3 259
AppendCharacterWithChar Avoid appending characters as strings in StringBuffer.append. 3 260
UseLocaleWithCaseConversions When doing a String.toLowerCase()/toUpperCase() call, use a Locale 3 265
AppendCharacterWithChar Avoid appending characters as strings in StringBuffer.append. 3 266
AppendCharacterWithChar Avoid appending characters as strings in StringBuffer.append. 3 270
AvoidDuplicateLiterals The String literal "label" appears 4 times in this file; the first occurrence is on line 270 3 270
AppendCharacterWithChar Avoid appending characters as strings in StringBuffer.append. 3 270
AppendCharacterWithChar Avoid appending characters as strings in StringBuffer.append. 3 276
AppendCharacterWithChar Avoid appending characters as strings in StringBuffer.append. 3 277
ConsecutiveLiteralAppends StringBuffer (or StringBuilder).append is called 2 consecutive times with literals. Use a single append with a single combined String. 3 277
UseLocaleWithCaseConversions When doing a String.toLowerCase()/toUpperCase() call, use a Locale 3 282
AppendCharacterWithChar Avoid appending characters as strings in StringBuffer.append. 3 291
AppendCharacterWithChar Avoid appending characters as strings in StringBuffer.append. 3 297
AddEmptyString Do not add empty strings 3 297
UseLocaleWithCaseConversions When doing a String.toLowerCase()/toUpperCase() call, use a Locale 3 303
AppendCharacterWithChar Avoid appending characters as strings in StringBuffer.append. 3 307
AppendCharacterWithChar Avoid appending characters as strings in StringBuffer.append. 3 307
ShortVariable Avoid variables with short names like sb 3 322
ShortVariable Avoid variables with short names like pm 3 322
ShortVariable Avoid variables with short names like bc 3 327
ConsecutiveLiteralAppends StringBuffer (or StringBuilder).append is called 3 consecutive times with literals. Use a single append with a single combined String. 3 334
AppendCharacterWithChar Avoid appending characters as strings in StringBuffer.append. 3 335
AppendCharacterWithChar Avoid appending characters as strings in StringBuffer.append. 3 340
AppendCharacterWithChar Avoid appending characters as strings in StringBuffer.append. 3 340
AppendCharacterWithChar Avoid appending characters as strings in StringBuffer.append. 3 356
AddEmptyString Do not add empty strings 3 362
AppendCharacterWithChar Avoid appending characters as strings in StringBuffer.append. 3 362
AppendCharacterWithChar Avoid appending characters as strings in StringBuffer.append. 3 373
AppendCharacterWithChar Avoid appending characters as strings in StringBuffer.append. 3 373
ShortVariable Avoid variables with short names like pm 3 389
UnusedFormalParameter Avoid unused method parameters such as 'strLanguage'. 3 389
ShortVariable Avoid variables with short names like sb 3 389
AppendCharacterWithChar Avoid appending characters as strings in StringBuffer.append. 3 391
ConsecutiveLiteralAppends StringBuffer (or StringBuilder).append is called 3 consecutive times with literals. Use a single append with a single combined String. 3 391
UnusedLocalVariable Avoid unused local variables such as 'strPrefix'. 3 393
AppendCharacterWithChar Avoid appending characters as strings in StringBuffer.append. 3 394
ShortVariable Avoid variables with short names like pm 3 407
UnusedFormalParameter Avoid unused method parameters such as 'pm'. 3 407
ShortVariable Avoid variables with short names like sb 3 407
UnusedFormalParameter Avoid unused method parameters such as 'strLanguage'. 3 407
AppendCharacterWithChar Avoid appending characters as strings in StringBuffer.append. 3 409
ConsecutiveAppendsShouldReuse StringBuffer (or StringBuilder).append is called consecutively without reusing the target variable. 3 409
ConsecutiveLiteralAppends StringBuffer (or StringBuilder).append is called 6 consecutive times with literals. Use a single append with a single combined String. 3 409
AppendCharacterWithChar Avoid appending characters as strings in StringBuffer.append. 3 410
AppendCharacterWithChar Avoid appending characters as strings in StringBuffer.append. 3 410
ShortVariable Avoid variables with short names like sb 3 421
ShortVariable Avoid variables with short names like pm 3 421
UseLocaleWithCaseConversions When doing a String.toLowerCase()/toUpperCase() call, use a Locale 3 429
AppendCharacterWithChar Avoid appending characters as strings in StringBuffer.append. 3 430
AppendCharacterWithChar Avoid appending characters as strings in StringBuffer.append. 3 433
ShortVariable Avoid variables with short names like sb 3 445
ShortVariable Avoid variables with short names like pm 3 445
AppendCharacterWithChar Avoid appending characters as strings in StringBuffer.append. 3 455
AppendCharacterWithChar Avoid appending characters as strings in StringBuffer.append. 3 455
UseLocaleWithCaseConversions When doing a String.toLowerCase()/toUpperCase() call, use a Locale 3 455
AppendCharacterWithChar Avoid appending characters as strings in StringBuffer.append. 3 456
AppendCharacterWithChar Avoid appending characters as strings in StringBuffer.append. 3 456
AppendCharacterWithChar Avoid appending characters as strings in StringBuffer.append. 3 460

fr/paris/lutece/plugins/pluginwizard/service/generator/RestConstantsGenerator.java

Rule Violation Priority Line
ShortVariable Avoid variables with short names like pm 3 60
ShortVariable Avoid variables with short names like pm 3 85

fr/paris/lutece/plugins/pluginwizard/service/generator/RestGenerator.java

Rule Violation Priority Line
ShortVariable Avoid variables with short names like pm 3 60
ShortVariable Avoid variables with short names like pm 3 89

fr/paris/lutece/plugins/pluginwizard/service/generator/RestSwaggerGenerator.java

Rule Violation Priority Line
ShortVariable Avoid variables with short names like pm 3 60
ShortVariable Avoid variables with short names like pm 3 85

fr/paris/lutece/plugins/pluginwizard/service/generator/RestSwaggerJsonGenerator.java

Rule Violation Priority Line
ShortVariable Avoid variables with short names like pm 3 60
ShortVariable Avoid variables with short names like pm 3 85

fr/paris/lutece/plugins/pluginwizard/service/generator/SiteDocumentationGenerator.java

Rule Violation Priority Line
ShortVariable Avoid variables with short names like pm 3 52
ShortVariable Avoid variables with short names like pm 3 76
UseConcurrentHashMap If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation 3 78

fr/paris/lutece/plugins/pluginwizard/service/generator/SpringContextXmlGenerator.java

Rule Violation Priority Line
ShortVariable Avoid variables with short names like pm 3 56
ShortVariable Avoid variables with short names like pm 3 68

fr/paris/lutece/plugins/pluginwizard/service/generator/SqlCodeGenerator.java

Rule Violation Priority Line
ShortVariable Avoid variables with short names like pm 3 61
UseLocaleWithCaseConversions When doing a String.toLowerCase()/toUpperCase() call, use a Locale 3 69
ShortVariable Avoid variables with short names like pm 3 112
UseConcurrentHashMap If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation 3 114

fr/paris/lutece/plugins/pluginwizard/service/generator/TaskComponentGenerator.java

Rule Violation Priority Line
ShortVariable Avoid variables with short names like pm 3 59
ShortVariable Avoid variables with short names like pm 3 83
UseConcurrentHashMap If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation 3 85

fr/paris/lutece/plugins/pluginwizard/service/generator/TaskFormsGenerator.java

Rule Violation Priority Line
UseLocaleWithCaseConversions When doing a String.toLowerCase()/toUpperCase() call, use a Locale 3 87
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 3 88
SimplifyStartsWith This call to String.startsWith can be rewritten using String.charAt(0) 3 97
UseConcurrentHashMap If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation 3 126

fr/paris/lutece/plugins/pluginwizard/service/generator/TaskServiceClassGenerator.java

Rule Violation Priority Line
ShortVariable Avoid variables with short names like pm 3 58
ShortVariable Avoid variables with short names like pm 3 80
UseConcurrentHashMap If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation 3 82

fr/paris/lutece/plugins/pluginwizard/service/generator/TaskServiceGenerator.java

Rule Violation Priority Line
ShortVariable Avoid variables with short names like pm 3 57
ShortVariable Avoid variables with short names like pm 3 80
UseConcurrentHashMap If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation 3 82

fr/paris/lutece/plugins/pluginwizard/service/generator/XPageGenerator.java

Rule Violation Priority Line
ConfusingTernary Avoid if (x != y) ..; else ..; 3 7380
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 3 79
CyclomaticComplexity The method 'generate(PluginModel, String)' has a cyclomatic complexity of 11. 3 89128
ShortVariable Avoid variables with short names like pm 3 89
UnusedLocalVariable Avoid unused local variables such as 'strFilesPath'. 3 92
PrematureDeclaration Avoid declaring a variable if it is unreferenced before a possible exit point. 3 92
ShortVariable Avoid variables with short names like pm 3 145
ShortVariable Avoid variables with short names like pm 3 172

fr/paris/lutece/plugins/pluginwizard/service/generator/XPageTemplateGenerator.java

Rule Violation Priority Line
UnusedImports Avoid unused imports such as 'fr.paris.lutece.plugins.pluginwizard.util.Utils' 4 40
FieldNamingConventions The static field name '_template_prefix' doesn't match '_[a-z][a-zA-Z0-9]*' 1 57
ShortVariable Avoid variables with short names like pm 3 68
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 3 96
UseLocaleWithCaseConversions When doing a String.toLowerCase()/toUpperCase() call, use a Locale 3 98
UseLocaleWithCaseConversions When doing a String.toLowerCase()/toUpperCase() call, use a Locale 3 102
UseLocaleWithCaseConversions When doing a String.toLowerCase()/toUpperCase() call, use a Locale 3 111
UseConcurrentHashMap If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation 3 139
UseConcurrentHashMap If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation 3 173
UseConcurrentHashMap If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation 3 202

fr/paris/lutece/plugins/pluginwizard/util/Utils.java

Rule Violation Priority Line
ClassNamingConventions The utility class name 'Utils' doesn't match '[A-Z][a-zA-Z0-9]+(Utils?|Helper|Home|Service)' 1 3997
ShortVariable Avoid variables with short names like c 3 63
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 3 65
UseLocaleWithCaseConversions When doing a String.toLowerCase()/toUpperCase() call, use a Locale 3 75
UseLocaleWithCaseConversions When doing a String.toLowerCase()/toUpperCase() call, use a Locale 3 95

fr/paris/lutece/plugins/pluginwizard/web/Constants.java

Rule Violation Priority Line
ClassNamingConventions The utility class name 'Constants' doesn't match '[A-Z][a-zA-Z0-9]+(Utils?|Helper|Home|Service)' 1 4176

fr/paris/lutece/plugins/pluginwizard/web/PluginWizardApp.java

Rule Violation Priority Line
ExcessivePublicCount This class has a bunch of public methods and attributes 3 342087
ExcessiveImports A high number of imports can indicate a high degree of coupling within an object. 3 342087
ExcessiveClassLength Avoid really long classes. 3 892087
TooManyMethods This class has too many methods, consider refactoring it. 3 902087
AvoidDeeplyNestedIfStmts Deeply nested if..then statements are hard to read 3 321324
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 3 399
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 3 460
CommentRequired Public method and constructor comments are required 3 466472
ConfusingTernary Avoid if (x != y) ..; else ..; 3 513
ShortVariable Avoid variables with short names like pm 3 670
ShortVariable Avoid variables with short names like pm 3 691
ConfusingTernary Avoid if (x != y) ..; else ..; 3 692
ShortVariable Avoid variables with short names like pm 3 713
ConfusingTernary Avoid if (x != y) ..; else ..; 3 753774
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 3 770
ConfusingTernary Avoid if (x != y) ..; else ..; 3 800820
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 3 816
ConfusingTernary Avoid if (x != y) ..; else ..; 3 917
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 3 945
ConfusingTernary Avoid if (x != y) ..; else ..; 3 971980
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 3 983
ConfusingTernary Avoid if (x != y) ..; else ..; 3 10051020
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 3 1010
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 3 1023
CommentRequired Public method and constructor comments are required 3 11271136
ConfusingTernary Avoid if (x != y) ..; else ..; 3 1153
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 3 1177
ConfusingTernary Avoid if (x != y) ..; else ..; 3 12051213
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 3 1216
ConfusingTernary Avoid if (x != y) ..; else ..; 3 12381246
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 3 1249
ConfusingTernary Avoid if (x != y) ..; else ..; 3 13671377
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 3 1380
ConfusingTernary Avoid if (x != y) ..; else ..; 3 14061416
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 3 1419
CommentRequired Public method and constructor comments are required 3 14811497
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 3 1489
ShortVariable Avoid variables with short names like pm 3 1530
ConfusingTernary Avoid if (x != y) ..; else ..; 3 1531
ShortVariable Avoid variables with short names like pm 3 1552
ConfusingTernary Avoid if (x != y) ..; else ..; 3 15931603
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 3 1606
ConfusingTernary Avoid if (x != y) ..; else ..; 3 16341643
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 3 1646
ConfusingTernary Avoid if (x != y) ..; else ..; 3 1741
ConfusingTernary Avoid if (x != y) ..; else ..; 3 17861796
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 3 1799
ConfusingTernary Avoid if (x != y) ..; else ..; 3 18171827
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 3 1830
ShortVariable Avoid variables with short names like pm 3 1908
ShortVariable Avoid variables with short names like e 3 1986

fr/paris/lutece/plugins/pluginwizard/web/PluginwizardJspBean.java

Rule Violation Priority Line
SingularField Perhaps '_nDefaultItemsPerPage' could be replaced by a local variable. 3 109
UseDiamondOperator Explicit type arguments can be replaced by Diamond Operator 3 134
UseConcurrentHashMap If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation 3 134
AddEmptyString Do not add empty strings 3 136
UseDiamondOperator Explicit type arguments can be replaced by Diamond Operator 3 156
UseConcurrentHashMap If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation 3 156
PrematureDeclaration Avoid declaring a variable if it is unreferenced before a possible exit point. 3 172
PrematureDeclaration Avoid declaring a variable if it is unreferenced before a possible exit point. 3 174
PositionLiteralsFirstInComparisons Position literals first in String comparisons 3 176
PositionLiteralsFirstInComparisons Position literals first in String comparisons 3 181
UseConcurrentHashMap If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation 3 239
UseDiamondOperator Explicit type arguments can be replaced by Diamond Operator 3 239
PrematureDeclaration Avoid declaring a variable if it is unreferenced before a possible exit point. 3 259

fr/paris/lutece/plugins/pluginwizard/web/formbean/BusinessClassFormBean.java

Rule Violation Priority Line
MissingSerialVersionUID Classes implementing Serializable should set a serialVersionUID 3 44207

fr/paris/lutece/plugins/pluginwizard/web/formbean/ConfigurationFormBean.java

Rule Violation Priority Line
MissingSerialVersionUID Classes implementing Serializable should set a serialVersionUID 3 44169
UncommentedEmptyConstructor Document empty constructor 3 6163
UnnecessaryConstructor Avoid unnecessary constructors - the compiler will generate these for you 3 6163

fr/paris/lutece/plugins/pluginwizard/web/formbean/DescriptionFormBean.java

Rule Violation Priority Line
MissingSerialVersionUID Classes implementing Serializable should set a serialVersionUID 3 47340
UncommentedEmptyConstructor Document empty constructor 3 7678
UnnecessaryConstructor Avoid unnecessary constructors - the compiler will generate these for you 3 7678
FormalParameterNamingConventions The method parameter name '_strType' doesn't match '[a-z][a-zA-Z0-9]*' 1 305
BooleanGetMethodName A getX() method which returns a boolean should be named isX() 4 325328
FormalParameterNamingConventions The method parameter name '_bIsModule' doesn't match '[a-z][a-zA-Z0-9]*' 1 336

fr/paris/lutece/plugins/pluginwizard/web/formbean/FormBean.java

Rule Violation Priority Line
CommentRequired Header comments are required 3 3643
CommentRequired Public method and constructor comments are required 3 38
UnnecessaryModifier Unnecessary modifier 'public' on method 'getName': the method is declared in an interface type 3 38
UnnecessaryModifier Unnecessary modifier 'public' on method 'setName': the method is declared in an interface type 3 39
CommentRequired Public method and constructor comments are required 3 39
CommentRequired Public method and constructor comments are required 3 40
UnnecessaryModifier Unnecessary modifier 'public' on method 'getType': the method is declared in an interface type 3 40
UnnecessaryModifier Unnecessary modifier 'public' on method 'setType': the method is declared in an interface type 3 41
CommentRequired Public method and constructor comments are required 3 41

fr/paris/lutece/plugins/pluginwizard/web/formbean/ModuleNameFormBean.java

Rule Violation Priority Line
MissingSerialVersionUID Classes implementing Serializable should set a serialVersionUID 3 4487
MissingOverride The method 'getName()' is missing an @Override annotation. 3 5760
MissingOverride The method 'setName(String)' is missing an @Override annotation. 3 6669
MissingOverride The method 'getType()' is missing an @Override annotation. 3 7477
MissingOverride The method 'setType(String)' is missing an @Override annotation. 3 8386

fr/paris/lutece/plugins/pluginwizard/web/formbean/PluginNameFormBean.java

Rule Violation Priority Line
MissingSerialVersionUID Classes implementing Serializable should set a serialVersionUID 3 4485
MissingOverride The method 'getName()' is missing an @Override annotation. 3 5558
MissingOverride The method 'setName(String)' is missing an @Override annotation. 3 6467
MissingOverride The method 'getType()' is missing an @Override annotation. 3 7275
MissingOverride The method 'setType(String)' is missing an @Override annotation. 3 8184

fr/paris/lutece/plugins/pluginwizard/web/formbean/WorkflowTaskNameFormBean.java

Rule Violation Priority Line
MissingSerialVersionUID Classes implementing Serializable should set a serialVersionUID 3 4486
MissingOverride The method 'getName()' is missing an @Override annotation. 3 5659
MissingOverride The method 'setName(String)' is missing an @Override annotation. 3 6568
MissingOverride The method 'getType()' is missing an @Override annotation. 3 7376
MissingOverride The method 'setType(String)' is missing an @Override annotation. 3 8285