Checkstyle Results

The following document contains the results of Checkstylerss feed

Summary

Files Infos info Warnings warning Errors error
21 0 0 356

Rules

Rules Violations Severity
Translation 0 error Error
JavadocMethod
  • allowThrowsTagsForSubclasses : "true"
  • allowUndeclaredRTE : "true"
  • scope : "protected"
  • allowMissingPropertyJavadoc : "true"
60 error Error
JavadocType
  • scope : "protected"
3 error Error
JavadocVariable
  • scope : "protected"
1 error Error
JavadocStyle
  • checkFirstSentence : "false"
  • scope : "protected"
0 error Error
ConstantName
  • format : "^log$|^[A-Z][A-Z0-9]*(_[A-Z0-9]+)*$"
1 error Error
LocalFinalVariableName 1 error Error
LocalVariableName 1 error Error
MemberName 0 error Error
MethodName 0 error Error
PackageName 0 error Error
ParameterName 0 error Error
StaticVariableName 0 error Error
TypeName
  • format : "^iBatis[A-Z][a-zA-Z0-9]*$|^[A-Z][a-zA-Z0-9]*$"
0 error Error
AvoidStarImport 2 error Error
IllegalImport 0 error Error
RedundantImport 0 error Error
UnusedImports 1 error Error
FileLength 0 error Error
LineLength
  • max : "120"
65 error Error
MethodLength
  • max : "160"
2 error Error
ParameterNumber
  • max : "8"
0 error Error
EmptyForIteratorPad 1 error Error
NoWhitespaceAfter 1 error Error
NoWhitespaceBefore
  • allowLineBreaks : "true"
  • tokens : "DOT"
0 error Error
OperatorWrap 10 error Error
TabCharacter 0 error Error
WhitespaceAfter 7 error Error
WhitespaceAround
  • tokens : "ASSIGN, BAND, BAND_ASSIGN, BOR, BOR_ASSIGN, BSR, BSR_ASSIGN, BXOR, BXOR_ASSIGN, COLON, DIV, DIV_ASSIGN, EQUAL, GE, GT, LAND, LE, LITERAL_ASSERT, LITERAL_CATCH, LITERAL_DO, LITERAL_ELSE, LITERAL_FINALLY, LITERAL_FOR, LITERAL_IF, LITERAL_RETURN, LITERAL_SYNCHRONIZED, LITERAL_TRY, LITERAL_WHILE, LOR, LT, MINUS, MINUS_ASSIGN, MOD, MOD_ASSIGN, NOT_EQUAL, PLUS, PLUS_ASSIGN, SL, SLIST, SL_ASSIGN, SR, SR_ASSIGN, STAR, STAR_ASSIGN, TYPE_EXTENSION_AND"
14 error Error
ModifierOrder 1 error Error
RedundantModifier 0 error Error
AvoidNestedBlocks 0 error Error
EmptyBlock 2 error Error
LeftCurly 104 error Error
NeedBraces 2 error Error
RightCurly 20 error Error
DoubleCheckedLocking 0 error Error
EmptyStatement 0 error Error
EqualsHashCode 0 error Error
IllegalInstantiation 0 error Error
InnerAssignment 0 error Error
MissingSwitchDefault 0 error Error
RedundantThrows
  • allowUnchecked : "true"
0 error Error
SimplifyBooleanExpression 0 error Error
SimplifyBooleanReturn 0 error Error
FinalClass 0 error Error
HideUtilityClassConstructor 0 error Error
InterfaceIsType 0 error Error
VisibilityModifier
  • protectedAllowed : "true"
24 error Error
ArrayTypeStyle 1 error Error
FinalParameters
  • tokens : "CTOR_DEF"
17 error Error
GenericIllegalRegexp
  • message : "Line has trailing spaces."
  • format : "\s+\s+$"
14 error Error
UpperEll 0 error Error
NestedIfDepth
  • max : "3"
0 error Error
NestedTryDepth 0 error Error
ExplicitInitialization 1 error Error

Details

org/appfuse/mojo/installer/CopyTemplatesMojo.java

Violation Message Line
error Unused import - java.util.List. 14
error Missing a Javadoc comment. 54
error '+' should be on a new line. 125
error Line is longer than 120 characters. 127
error '+' should be on a new line. 177

org/appfuse/tool/SubversionUtils.java

Violation Message Line
error Missing a Javadoc comment. 58
error Missing a Javadoc comment. 62
error Parameter url should be final. 62
error Parameter destinationDirectory should be final. 62
error Missing a Javadoc comment. 72
error Line is longer than 120 characters. 82
error Line is longer than 120 characters. 126
error Parameter revision should be final. 176
error '{' is not preceded with whitespace. 176
error Parameter root should be final. 214
error Must have at least one statement. 247
error Line is longer than 120 characters. 248
error Must have at least one statement. 291
error Line is longer than 120 characters. 292
error Line is longer than 120 characters. 299

org/appfuse/mojo/exporter/AppFuseGenerateWebMojo.java

Violation Message Line
error Missing a Javadoc comment. 16
error Missing a Javadoc comment. 30

org/appfuse/mojo/installer/InstallArtifactsMojo.java

Violation Message Line
error Variable 'prompter' must be private and have accessor methods. 26
error Missing a Javadoc comment. 63
error Line is longer than 120 characters. 66
error Line is longer than 120 characters. 85

org/appfuse/mojo/installer/InstallSourceMojo.java

Violation Message Line
error Variable 'antProject' must be private and have accessor methods. 51
error Variable 'appfuseProperties' must be private and have accessor methods. 52
error Name 'propertiesContextHolder' must match pattern '^log$|^[A-Z][A-Z0-9]*(_[A-Z0-9]+)*$'. 55
error Method length is 164 lines (max allowed is 160). 90
error Missing a Javadoc comment. 90
error '+' should be on a new line. 136
error Line is longer than 120 characters. 138
error Line is longer than 120 characters. 151
error Method length is 249 lines (max allowed is 160). 274
error '||' should be on a new line. 285
error Line is longer than 120 characters. 353
error Line is longer than 120 characters. 412
error '+' should be on a new line. 533
error '+' should be on a new line. 534
error Line is longer than 120 characters. 536
error '+' should be on a new line. 584
error Line is longer than 120 characters. 603
error Line is longer than 120 characters. 611
error Line is longer than 120 characters. 618
error Line is longer than 120 characters. 625
error Line is longer than 120 characters. 629
error '&&' should be on a new line. 685

org/appfuse/tool/AppFuseExporter.java

Violation Message Line
error Missing a Javadoc comment. 20
error Missing a Javadoc comment. 24
error Parameter cfg should be final. 24
error Parameter outputdir should be final. 24
error Missing a Javadoc comment. 29
error Missing a Javadoc comment. 37
error Line is longer than 120 characters. 63
error Line is longer than 120 characters. 66
error '+' should be on a new line. 78
error Line has trailing spaces. 80
error Line is longer than 120 characters. 105
error 'if' construct must use '{}'s. 112
error Line is longer than 120 characters. 117
error Line is longer than 120 characters. 118
error Line is longer than 120 characters. 121
error Line is longer than 120 characters. 122
error Line is longer than 120 characters. 129
error Line is longer than 120 characters. 130
error Line is longer than 120 characters. 133
error Line is longer than 120 characters. 134
error Line is longer than 120 characters. 137
error Line is longer than 120 characters. 138
error Line is longer than 120 characters. 141
error Line is longer than 120 characters. 142
error Line is longer than 120 characters. 145
error Line is longer than 120 characters. 148
error Line is longer than 120 characters. 151
error Line is longer than 120 characters. 154
error Line is longer than 120 characters. 157
error Line is longer than 120 characters. 158
error Line is longer than 120 characters. 161
error Line is longer than 120 characters. 162
error Line is longer than 120 characters. 167
error Line is longer than 120 characters. 168
error Line is longer than 120 characters. 171
error Line is longer than 120 characters. 172
error Line is longer than 120 characters. 175
error Line is longer than 120 characters. 176
error Line is longer than 120 characters. 185
error Line is longer than 120 characters. 188
error Line is longer than 120 characters. 191
error '-' is not preceded with whitespace. 213
error '-' is not followed by whitespace. 213
error Line has trailing spaces. 217

org/appfuse/mojo/exporter/ModelGeneratorMojo.java

Violation Message Line
error Missing a Javadoc comment. 118
error Line has trailing spaces. 129
error Line has trailing spaces. 160
error Line is longer than 120 characters. 201
error Expected an @return tag. 216
error Expected @param tag for 'exp'. 216
error Expected @throws tag for 'MojoExecutionException'. 216
error '-' is not preceded with whitespace. 230
error '-' is not followed by whitespace. 230
error Line has trailing spaces. 249

org/appfuse/mojo/HibernateExporterMojo.java

Violation Message Line
error Expected an @return tag. 99
error Expected @param tag for 'key'. 99
error Expected an @return tag. 106
error Expected @param tag for 'key'. 106
error Expected @param tag for 'defaultValue'. 106
error Expected an @return tag. 119
error Expected @throws tag for 'MojoExecutionException'. 128
error Expected @throws tag for 'MojoFailureException'. 128
error '}' should be on the same line. 140
error Expected an @return tag. 189
error Expected @param tag for 'key'. 189
error Expected @param tag for 'defaultValue'. 189
error Array brackets at illegal position. 242
error '}' should be on the same line. 247

org/appfuse/mojo/exporter/GenericExporterMojo.java

Violation Message Line
error Expected an @return tag. 55
error Expected @param tag for 'exporter'. 55
error Expected @throws tag for 'MojoExecutionException'. 55

org/appfuse/mojo/exporter/AppFuseGeneratorMojo.java

Violation Message Line
error Variable 'generateCoreOnly' must be private and have accessor methods. 39
error Variable 'generateWebOnly' must be private and have accessor methods. 40
error Variable 'pojoName' must be private and have accessor methods. 41
error Variable 'pojoNameLower' must be private and have accessor methods. 42
error Variable 'prompter' must be private and have accessor methods. 49
error Missing a Javadoc comment. 111
error Line is longer than 120 characters. 115
error Line is longer than 120 characters. 152
error Expected an @return tag. 216
error Expected @param tag for 'exp'. 216
error Expected @throws tag for 'MojoExecutionException'. 216
error 'if' construct must use '{}'s. 245
error Line is longer than 120 characters. 269
error Line is longer than 120 characters. 313
error Name 'FILE_SEP' must match pattern '^[a-z][a-zA-Z0-9]*$'. 322
error Line is longer than 120 characters. 329
error Line is longer than 120 characters. 351
error Line is longer than 120 characters. 358
error Line is longer than 120 characters. 362
error Missing a Javadoc comment. 368
error Missing a Javadoc comment. 373
error Parameter xmlString should be final. 373
error Missing a Javadoc comment. 377
error Missing a Javadoc comment. 395

org/appfuse/tool/NoXMLFormatArtifactCollector.java

Violation Message Line
error Missing a Javadoc comment. 5
error Missing a Javadoc comment. 7

org/appfuse/tool/ArtifactInstaller.java

Violation Message Line
error Variable 'antProject' must be private and have accessor methods. 25
error Variable 'pojoName' must be private and have accessor methods. 26
error Variable 'pojoNameLower' must be private and have accessor methods. 27
error Variable 'destinationDirectory' must be private and have accessor methods. 28
error Variable 'sourceDirectory' must be private and have accessor methods. 29
error Variable 'project' must be private and have accessor methods. 30
error Variable 'genericCore' must be private and have accessor methods. 31
error Line is longer than 120 characters. 33
error Missing a Javadoc comment. 33
error Parameter project should be final. 33
error Parameter pojoName should be final. 33
error Parameter sourceDirectory should be final. 33
error Parameter destinationDirectory should be final. 33
error Parameter genericCore should be final. 33
error Missing a Javadoc comment. 42
error Line is longer than 120 characters. 50
error ',' is not followed by whitespace. 120
error '+' is not preceded with whitespace. 120
error Line is longer than 120 characters. 270
error Line has trailing spaces. 379
error Missing a Javadoc comment. 398
error Line has trailing spaces. 405

org/appfuse/tool/DataHelper.java

Violation Message Line
error Line has trailing spaces. 25
error '-' is not preceded with whitespace. 55
error '-' is not followed by whitespace. 55
error Line has trailing spaces. 69
error Line has trailing spaces. 110
error '+' should be on a new line. 134
error Line has trailing spaces. 138
error Missing a Javadoc comment. 157

org/appfuse/mojo/exporter/AppFuseGenerateCoreMojo.java

Violation Message Line
error Missing a Javadoc comment. 16
error Missing a Javadoc comment. 30

org/appfuse/tool/RenamePackages.java

Violation Message Line
error Using the '.*' form of import should be avoided - java.io.*. 10
error Variable 'debug' explicitly initialized to 'false' (default value for its type). 31
error Variable 'debug' must be private and have accessor methods. 31
error Missing a Javadoc comment. 38
error 'final' modifier out of order with the JLS suggestions. 38
error Variable 'logOutput' must be private and have accessor methods. 40
error Variable 'invalidFileTypes' must be private and have accessor methods. 42
error '{' is followed by whitespace. 42
error Parameter newPackage should be final. 49
error Expected @param tag for 'newPackage'. 49
error Expected @param tag for 'fileset'. 57
error Expected @param tag for 'invalidFileTypes'. 71
error '{' should be on the previous line. 72
error Expected @param tag for 'baseDir'. 88
error '{' should be on the previous line. 89
error '{' should be on the previous line. 91
error '{' should be on the previous line. 97
error '{' should be on the previous line. 103
error '{' should be on the previous line. 122
error '{' should be on the previous line. 124
error '{' should be on the previous line. 129
error '{' should be on the previous line. 142
error '{' should be on the previous line. 145
error '{' should be on the previous line. 149
error Expected @param tag for 'existingPkgName'. 167
error Expected @throws tag for 'Exception'. 167
error '{' should be on the previous line. 168
error '{' should be on the previous line. 175
error Expected @param tag for 'newPkgName'. 190
error Expected @throws tag for 'Exception'. 190
error '{' should be on the previous line. 191
error '{' should be on the previous line. 197
error '{' should be on the previous line. 207
error '{' should be on the previous line. 226
error '{' should be on the previous line. 231
error '{' should be on the previous line. 233
error '{' should be on the previous line. 248
error '{' should be on the previous line. 252
error '{' should be on the previous line. 254
error '}' should be on the same line. 260
error '{' should be on the previous line. 262
error '{' should be on the previous line. 290
error '{' should be on the previous line. 300
error '{' should be on the previous line. 309
error '}' should be on the same line. 313
error '{' should be on the previous line. 315
error '{' should be on the previous line. 325
error '}' should be on the same line. 353
error '{' should be on the previous line. 355
error '{' should be on the previous line. 366
error '{' should be on the previous line. 386
error '}' should be on the same line. 397
error '{' should be on the previous line. 399
error '{' should be on the previous line. 406
error '}' should be on the same line. 411
error '{' should be on the previous line. 413
error '{' should be on the previous line. 421
error '{' should be on the previous line. 427
error '{' should be on the previous line. 447
error '{' should be on the previous line. 455
error '{' should be on the previous line. 543
error '{' should be on the previous line. 583
error '{' should be on the previous line. 592
error Missing a Javadoc comment. 612
error '{' should be on the previous line. 613
error Missing a Javadoc comment. 634
error '{' should be on the previous line. 635
error '{' should be on the previous line. 655
error '{' should be on the previous line. 657
error '{' should be on the previous line. 659
error '{' should be on the previous line. 676
error '{' should be on the previous line. 681
error '{' should be on the previous line. 683
error '{' should be on the previous line. 687
error '{' should be on the previous line. 711
error '{' should be on the previous line. 728
error '{' should be on the previous line. 736
error '}' should be on the same line. 738
error '{' should be on the previous line. 740
error '{' should be on the previous line. 777
error '{' should be on the previous line. 782
error '{' should be on the previous line. 784
error '{' should be on the previous line. 787
error '{' should be on the previous line. 806
error '{' should be on the previous line. 815
error '{' should be on the previous line. 817
error '{' should be on the previous line. 820
error '{' should be on the previous line. 843
error '{' should be on the previous line. 851
error '}' should be on the same line. 853
error '{' should be on the previous line. 855
error '{' should be on the previous line. 900
error '{' should be on the previous line. 926
error '{' should be on the previous line. 930
error '}' should be on the same line. 932
error '{' should be on the previous line. 934
error '{' should be on the previous line. 953
error '{' should be on the previous line. 964
error '{' should be on the previous line. 966
error '{' should be on the previous line. 982
error '{' should be on the previous line. 986
error '}' should be on the same line. 988
error '{' should be on the previous line. 990
error '{' should be on the previous line. 1001
error '{' should be on the previous line. 1007
error ';' is followed by whitespace. 1008
error '{' should be on the previous line. 1009
error 'cast' is not followed by whitespace. 1010
error '{' should be on the previous line. 1031
error 'for' is not followed by whitespace. 1032
error '=' is not preceded with whitespace. 1032
error '=' is not followed by whitespace. 1032
error '<' is not preceded with whitespace. 1032
error '<' is not followed by whitespace. 1032
error '}' should be on the same line. 1035
error '{' should be on the previous line. 1037
error '}' should be on the same line. 1044
error '{' should be on the previous line. 1046
error '{' should be on the previous line. 1057
error '{' should be on the previous line. 1059
error '{' should be on the previous line. 1065
error '}' should be on the same line. 1082
error '{' should be on the previous line. 1084
error '}' should be on the same line. 1087
error '{' should be on the previous line. 1089
error '}' should be on the same line. 1094
error '{' should be on the previous line. 1096
error Expected @param tag for 'fileName'. 1104
error '{' should be on the previous line. 1105
error '{' should be on the previous line. 1114
error '{' should be on the previous line. 1117
error '{' should be on the previous line. 1121
error '{' should be on the previous line. 1133
error '{' should be on the previous line. 1136
error '{' should be on the previous line. 1139
error '}' should be on the same line. 1143
error '{' should be on the previous line. 1145
error '{' should be on the previous line. 1154
error ',' is not followed by whitespace. 1155
error ',' is not followed by whitespace. 1155
error ',' is not followed by whitespace. 1155
error ',' is not followed by whitespace. 1155
error '{' should be on the previous line. 1173
error '{' should be on the previous line. 1175
error '{' should be on the previous line. 1178
error '{' should be on the previous line. 1185
error '{' should be on the previous line. 1232
error '}' should be on the same line. 1236
error '{' should be on the previous line. 1238
error '}' should be on the same line. 1241
error '{' should be on the previous line. 1243
error '}' should be on the same line. 1245
error '{' should be on the previous line. 1247

org/appfuse/mojo/installer/UninstallArtifactsMojo.java

Violation Message Line
error Missing a Javadoc comment. 56
error Line is longer than 120 characters. 59
error Line is longer than 120 characters. 77
error Line has trailing spaces. 81
error Line has trailing spaces. 113

org/appfuse/tool/StringUtils.java

Violation Message Line
error Missing a Javadoc comment. 14
error Name 'strip_X' must match pattern '^[a-z][a-zA-Z0-9]*$'. 26

org/appfuse/tool/ArtifactUninstaller.java

Violation Message Line
error Using the '.*' form of import should be avoided - org.apache.tools.ant.taskdefs.*. 8
error Variable 'antProject' must be private and have accessor methods. 23
error Variable 'pojoName' must be private and have accessor methods. 24
error Variable 'pojoNameLower' must be private and have accessor methods. 25
error Variable 'installedDirectory' must be private and have accessor methods. 26
error Variable 'project' must be private and have accessor methods. 27
error Variable 'genericCore' must be private and have accessor methods. 28
error Missing a Javadoc comment. 30
error Parameter project should be final. 30
error Parameter pojoName should be final. 30
error Parameter installedDirectory should be final. 30
error Parameter genericCore should be final. 30
error Missing a Javadoc comment. 38
error Line is longer than 120 characters. 46
error ',' is not followed by whitespace. 110
error '+' is not preceded with whitespace. 110
error Missing a Javadoc comment. 288

org/appfuse/mojo/refactor/AppFusePackageRefactorMojo.java

Violation Message Line
error Missing a Javadoc comment. 17
error Line has trailing spaces. 22