Checkstyle Results

The following document contains the results of Checkstylerss feed

Summary

Files  Info  Warnings  Errors
30 139 0 1

Files

File  I  W  E
org/andromda/maven/plugin/andromdapp/AbstractAndroMDAppMojo.java 5 0 0
org/andromda/maven/plugin/andromdapp/AndroMDAppCleanMojo.java 19 0 0
org/andromda/maven/plugin/andromdapp/AndroMDAppMojo.java 5 0 0
org/andromda/maven/plugin/andromdapp/AppManagementMojo.java 2 0 0
org/andromda/maven/plugin/andromdapp/BeanProperties.java 3 0 0
org/andromda/maven/plugin/andromdapp/BuildMojo.java 15 0 0
org/andromda/maven/plugin/andromdapp/DeployMojo.java 4 0 0
org/andromda/maven/plugin/andromdapp/EclipseMojo.java 10 0 0
org/andromda/maven/plugin/andromdapp/JdbcDriverWrapper.java 3 0 0
org/andromda/maven/plugin/andromdapp/Location.java 1 0 0
org/andromda/maven/plugin/andromdapp/SchemaManagement.java 2 0 0
org/andromda/maven/plugin/andromdapp/SchemaManagementException.java 1 0 0
org/andromda/maven/plugin/andromdapp/SchemaMojo.java 10 0 1
org/andromda/maven/plugin/andromdapp/ScriptClassGeneratorMojo.java 4 0 0
org/andromda/maven/plugin/andromdapp/SymbolicLinkExplodedEarMojo.java 11 0 0
org/andromda/maven/plugin/andromdapp/UndeployMojo.java 3 0 0
org/andromda/maven/plugin/andromdapp/eclipse/ClasspathWriter.java 6 0 0
org/andromda/maven/plugin/andromdapp/eclipse/EclipseWriter.java 1 0 0
org/andromda/maven/plugin/andromdapp/eclipse/OrArtifactFilter.java 1 0 0
org/andromda/maven/plugin/andromdapp/eclipse/ProjectWriter.java 1 0 0
org/andromda/maven/plugin/andromdapp/eclipse/Variable.java 1 0 0
org/andromda/maven/plugin/andromdapp/hibernate/HibernateCreateSchema.java 3 0 0
org/andromda/maven/plugin/andromdapp/hibernate/HibernateDropSchema.java 2 0 0
org/andromda/maven/plugin/andromdapp/hibernate/HibernateSchemaManagement.java 5 0 0
org/andromda/maven/plugin/andromdapp/hibernate/HibernateUpdateSchema.java 4 0 0
org/andromda/maven/plugin/andromdapp/hibernate/HibernateValidateSchema.java 4 0 0
org/andromda/maven/plugin/andromdapp/script/ScriptClassGenerator.java 7 0 0
org/andromda/maven/plugin/andromdapp/script/ScriptClassGeneratorException.java 1 0 0
org/andromda/maven/plugin/andromdapp/utils/ProjectUtils.java 4 0 0
org/andromda/maven/plugin/andromdapp/utils/Projects.java 1 0 0

Rules

Rule Violations Severity
NewlineAtEndOfFile 29  Info
Translation 0  Error
FileLength 0  Info
FileTabCharacter 0  Info
RegexpSingleline
  • message: "Line has trailing whitespace."
  • format: "[^*]\s+$"
0  Info
FileContentsHolder 0  Info
MissingDeprecated 0  Info
MissingOverride 0  Info
EmptyBlock 10  Info
LeftCurly
  • option: "nl"
3  Info
NeedBraces 0  Info
RightCurly
  • option: "alone"
0  Info
AvoidNestedBlocks 0  Info
CovariantEquals 0  Error
EmptyStatement 0  Info
EqualsHashCode 0  Error
IllegalInstantiation 0  Error
InnerAssignment 0  Info
MissingSwitchDefault 0  Info
RedundantThrows 0  Info
SimplifyBooleanExpression 0  Info
SimplifyBooleanReturn 0  Info
StringLiteralEquality 0  Error
NoFinalizer 0  Error
IllegalCatch 22  Info
IllegalThrows 0  Info
JUnitTestCase 0  Info
IllegalType 1  Error
DefaultComesLast 0  Info
FallThrough 0  Info
MultipleVariableDeclarations 0  Info
UnnecessaryParentheses 0  Info
FinalClass 0  Info
InterfaceIsType 0  Info
HideUtilityClassConstructor 1  Info
AvoidStarImport 0  Info
IllegalImport 0  Info
RedundantImport 0  Info
UnusedImports 3  Info
ImportOrder 1  Info
JavadocMethod
  • allowMissingParamTags: "true"
  • scope: "package"
  • allowUndeclaredRTE: "true"
  • allowMissingReturnTag: "true"
  • allowMissingThrowsTags: "true"
0  Info
JavadocType
  • scope: "package"
16  Info
JavadocVariable
  • scope: "package"
0  Info
UpperEll 0  Info
ArrayTypeStyle 0  Info
Indentation 0  Info
TodoComment 0  Info
Regexp
  • illegalPattern: "true"
  • ignoreComments: "true"
  • format: "System\.out\.println"
4  Info
RegexpSinglelineJava
  • message: "Spelling error"
  • format: "seperate"
  • ignoreCase: "true"
0  Info
ModifierOrder 0  Info
RedundantModifier 2  Info
ConstantName 4  Info
LocalFinalVariableName 0  Info
LocalVariableName 0  Info
MemberName 0  Info
MethodName 0  Info
MethodTypeParameterName 0  Info
PackageName 0  Info
ParameterName 0  Info
StaticVariableName 0  Info
TypeName 0  Info
ExecutableStatementCount 4  Info
ExecutableStatementCount 4  Info
LineLength
  • max: "120"
27  Info
MethodLength
  • countEmpty: "false"
1  Info
AnonInnerLength
  • max: "120"
0  Info
ParameterNumber 1  Info
GenericWhitespace 0  Info
EmptyForIteratorPad 0  Info
MethodParamPad 0  Info
NoWhitespaceAfter 0  Info
NoWhitespaceBefore 0  Info
ParenPad 10  Info
TypecastParenPad 0  Info
WhitespaceAfter
  • tokens: "COMMA,SEMI,COLON,LITERAL_DO,LITERAL_FOR,LITERAL_IF,LITERAL_WHILE,QUESTION"
1  Info
SuppressWithNearbyCommentFilter
  • influenceFormat: "0"
  • commentFormat: "\$Id"
0  Info

Details

org/andromda/maven/plugin/andromdapp/AbstractAndroMDAppMojo.java

Severity Message Line
 Info File does not end with a newline.
 Info Line is longer than 120 characters (found 123). 59
 Info Line is longer than 120 characters (found 135). 66
 Info Line is longer than 120 characters (found 121). 73
 Info Line is longer than 120 characters (found 127). 159

org/andromda/maven/plugin/andromdapp/AndroMDAppCleanMojo.java

Severity Message Line
 Info File does not end with a newline.
 Info Unknown tag 'goal'. 12
 Info Unknown tag 'requiresProject'. 13
 Info '(' is followed by whitespace. 44
 Info ')' is preceded with whitespace. 44
 Info '(' is followed by whitespace. 45
 Info ')' is preceded with whitespace. 45
 Info '{' should be on a new line. 45
 Info '{' should be on a new line. 48
 Info Catching 'Exception' is not allowed. 55
 Info Must have at least one statement. 56
 Info Line matches the illegal pattern 'System\.out\.println'. 60
 Info '(' is followed by whitespace. 60
 Info ')' is preceded with whitespace. 60
 Info '(' is followed by whitespace. 63
 Info ')' is preceded with whitespace. 63
 Info '{' should be on a new line. 63
 Info '(' is followed by whitespace. 64
 Info Catching 'Throwable' is not allowed. 69

org/andromda/maven/plugin/andromdapp/AndroMDAppMojo.java

Severity Message Line
 Info File does not end with a newline.
 Info Unknown tag 'goal'. 12
 Info Unknown tag 'requiresProject'. 13
 Info Catching 'Throwable' is not allowed. 53
 Info Line is longer than 120 characters (found 121). 59

org/andromda/maven/plugin/andromdapp/AppManagementMojo.java

Severity Message Line
 Info File does not end with a newline.
 Info Wrong order for 'org.apache.commons.lang.StringUtils' import. 8

org/andromda/maven/plugin/andromdapp/BeanProperties.java

Severity Message Line
 Info File does not end with a newline.
 Info Catching 'Exception' is not allowed. 44
 Info Must have at least one statement. 45

org/andromda/maven/plugin/andromdapp/BuildMojo.java

Severity Message Line
 Info File does not end with a newline.
 Info Unused import - org.apache.maven.BuildFailureException. 22
 Info Unused import - org.apache.maven.lifecycle.LifecycleExecutionException. 25
 Info Unused import - org.codehaus.plexus.util.dag.CycleDetectedException. 32
 Info Unknown tag 'goal'. 37
 Info Executable statement count is 41 (max allowed is 30). 138
 Info Catching 'Throwable' is not allowed. 228
 Info Catching 'Throwable' is not allowed. 246
 Info Catching 'Exception' is not allowed. 273
 Info Must have at least one statement. 274
 Info Line matches the illegal pattern 'System\.out\.println'. 287
 Info Line matches the illegal pattern 'System\.out\.println'. 323
 Info Line matches the illegal pattern 'System\.out\.println'. 332
 Info Line is longer than 120 characters (found 127). 381
 Info Catching 'Throwable' is not allowed. 482

org/andromda/maven/plugin/andromdapp/DeployMojo.java

Severity Message Line
 Info File does not end with a newline.
 Info Unknown tag 'goal'. 15
 Info Unknown tag 'phase'. 16
 Info Catching 'Throwable' is not allowed. 109

org/andromda/maven/plugin/andromdapp/EclipseMojo.java

Severity Message Line
 Info Unknown tag 'goal'. 42
 Info Unknown tag 'phase'. 43
 Info ',' is not followed by whitespace. 138
 Info Line is longer than 120 characters (found 129). 176
 Info Catching 'Throwable' is not allowed. 199
 Info Line is longer than 120 characters (found 128). 242
 Info ')' is preceded with whitespace. 405
 Info Line is longer than 120 characters (found 130). 407
 Info Line is longer than 120 characters (found 147). 409
 Info Must have at least one statement. 410

org/andromda/maven/plugin/andromdapp/JdbcDriverWrapper.java

Severity Message Line
 Info File does not end with a newline.
 Info Catching 'Exception' is not allowed. 107
 Info Must have at least one statement. 108

org/andromda/maven/plugin/andromdapp/Location.java

Severity Message Line
 Info File does not end with a newline.

org/andromda/maven/plugin/andromdapp/SchemaManagement.java

Severity Message Line
 Info File does not end with a newline.
 Info Redundant 'public' modifier. 22

org/andromda/maven/plugin/andromdapp/SchemaManagementException.java

Severity Message Line
 Info File does not end with a newline.

org/andromda/maven/plugin/andromdapp/SchemaMojo.java

Severity Message Line
 Info File does not end with a newline.
 Info Unknown tag 'goal'. 49
 Info Unknown tag 'requiresDependencyResolution'. 50
 Info Executable statement count is 40 (max allowed is 30). 179
 Info Line is longer than 120 characters (found 128). 235
 Info Catching 'Throwable' is not allowed. 258
 Info Must have at least one statement. 271
 Info Catching 'Exception' is not allowed. 310
 Info Line is longer than 120 characters (found 122). 569
 Error Declaring variables, return values or parameters of type 'HashMap' is not allowed. 569
 Info Name 'tasksCache' must match pattern '^[A-Z][A-Z0-9]*(_[A-Z0-9]+)*$'. 569

org/andromda/maven/plugin/andromdapp/ScriptClassGeneratorMojo.java

Severity Message Line
 Info File does not end with a newline.
 Info Unknown tag 'goal'. 28
 Info Unknown tag 'phase'. 29
 Info Catching 'Throwable' is not allowed. 114

org/andromda/maven/plugin/andromdapp/SymbolicLinkExplodedEarMojo.java

Severity Message Line
 Info File does not end with a newline.
 Info Unknown tag 'goal'. 28
 Info Unknown tag 'phase'. 29
 Info Executable statement count is 52 (max allowed is 30). 98
 Info Line is longer than 120 characters (found 135). 190
 Info Line is longer than 120 characters (found 122). 226
 Info Catching 'Exception' is not allowed. 235
 Info Line is longer than 120 characters (found 138). 260
 Info Must have at least one statement. 261
 Info Catching 'Exception' is not allowed. 346
 Info Must have at least one statement. 347

org/andromda/maven/plugin/andromdapp/UndeployMojo.java

Severity Message Line
 Info File does not end with a newline.
 Info Unknown tag 'goal'. 11
 Info Catching 'Throwable' is not allowed. 38

org/andromda/maven/plugin/andromdapp/eclipse/ClasspathWriter.java

Severity Message Line
 Info File does not end with a newline.
 Info Executable statement count is 66 (max allowed is 30). 61
 Info Method length is 167 lines (max allowed is 150). 61
 Info More than 7 parameters (found 11). 61
 Info Line is longer than 120 characters (found 123). 284
 Info Line is longer than 120 characters (found 121). 286

org/andromda/maven/plugin/andromdapp/eclipse/EclipseWriter.java

Severity Message Line
 Info File does not end with a newline.

org/andromda/maven/plugin/andromdapp/eclipse/OrArtifactFilter.java

Severity Message Line
 Info File does not end with a newline.

org/andromda/maven/plugin/andromdapp/eclipse/ProjectWriter.java

Severity Message Line
 Info File does not end with a newline.

org/andromda/maven/plugin/andromdapp/eclipse/Variable.java

Severity Message Line
 Info File does not end with a newline.

org/andromda/maven/plugin/andromdapp/hibernate/HibernateCreateSchema.java

Severity Message Line
 Info File does not end with a newline.
 Info Line is longer than 120 characters (found 128). 20
 Info Line is longer than 120 characters (found 121). 42

org/andromda/maven/plugin/andromdapp/hibernate/HibernateDropSchema.java

Severity Message Line
 Info File does not end with a newline.
 Info Line is longer than 120 characters (found 121). 44

org/andromda/maven/plugin/andromdapp/hibernate/HibernateSchemaManagement.java

Severity Message Line
 Info File does not end with a newline.
 Info Catching 'Exception' is not allowed. 71
 Info Must have at least one statement. 72
 Info Catching 'Exception' is not allowed. 80
 Info Must have at least one statement. 81

org/andromda/maven/plugin/andromdapp/hibernate/HibernateUpdateSchema.java

Severity Message Line
 Info File does not end with a newline.
 Info Name 'random' must match pattern '^[A-Z][A-Z0-9]*(_[A-Z0-9]+)*$'. 29
 Info Line is longer than 120 characters (found 128). 31
 Info Line is longer than 120 characters (found 121). 93

org/andromda/maven/plugin/andromdapp/hibernate/HibernateValidateSchema.java

Severity Message Line
 Info File does not end with a newline.
 Info Line is longer than 120 characters (found 121). 31
 Info Name 'random' must match pattern '^[A-Z][A-Z0-9]*(_[A-Z0-9]+)*$'. 38
 Info Line is longer than 120 characters (found 128). 40

org/andromda/maven/plugin/andromdapp/script/ScriptClassGenerator.java

Severity Message Line
 Info File does not end with a newline.
 Info Redundant 'final' modifier. 41
 Info Catching 'Exception' is not allowed. 86
 Info Line is longer than 120 characters (found 123). 122
 Info Line is longer than 120 characters (found 124). 129
 Info Catching 'Throwable' is not allowed. 140
 Info Line is longer than 120 characters (found 130). 180

org/andromda/maven/plugin/andromdapp/script/ScriptClassGeneratorException.java

Severity Message Line
 Info File does not end with a newline.

org/andromda/maven/plugin/andromdapp/utils/ProjectUtils.java

Severity Message Line
 Info File does not end with a newline.
 Info Utility classes should not have a public or default constructor. 18
 Info Name 'projectCache' must match pattern '^[A-Z][A-Z0-9]*(_[A-Z0-9]+)*$'. 23
 Info Catching 'Exception' is not allowed. 56

org/andromda/maven/plugin/andromdapp/utils/Projects.java

Severity Message Line
 Info File does not end with a newline.