Checkstyle Results

The following document contains the results of Checkstylerss feed

Summary

Files Infos Infos Warnings Warnings Errors Errors
33 108 122 73

Files

Files Infos Warnings Errors
org/apache/maven/plugin/ear/AbstractEarModule.java 13 5 1
org/apache/maven/plugin/ear/AbstractEarMojo.java 9 7 1
org/apache/maven/plugin/ear/AbstractXmlWriter.java 3 5 0
org/apache/maven/plugin/ear/ApplicationXmlWriter.java 3 8 5
org/apache/maven/plugin/ear/ApplicationXmlWriterContext.java 6 1 11
org/apache/maven/plugin/ear/EarExecutionContext.java 5 10 2
org/apache/maven/plugin/ear/EarModule.java 0 0 8
org/apache/maven/plugin/ear/EarModuleFactory.java 1 0 2
org/apache/maven/plugin/ear/EarMojo.java 2 12 16
org/apache/maven/plugin/ear/EarPluginException.java 0 4 0
org/apache/maven/plugin/ear/Ejb3Module.java 0 3 0
org/apache/maven/plugin/ear/EjbClientModule.java 0 3 1
org/apache/maven/plugin/ear/EjbModule.java 1 4 1
org/apache/maven/plugin/ear/GenerateApplicationXmlMojo.java 0 4 2
org/apache/maven/plugin/ear/HarModule.java 0 5 0
org/apache/maven/plugin/ear/JarModule.java 1 6 1
org/apache/maven/plugin/ear/JavaModule.java 0 3 0
org/apache/maven/plugin/ear/JbossAppXmlWriter.java 5 2 7
org/apache/maven/plugin/ear/JbossConfiguration.java 31 1 2
org/apache/maven/plugin/ear/JbossEarModule.java 0 0 1
org/apache/maven/plugin/ear/ParModule.java 0 3 0
org/apache/maven/plugin/ear/RarModule.java 1 4 1
org/apache/maven/plugin/ear/SarModule.java 1 5 0
org/apache/maven/plugin/ear/SecurityRole.java 9 7 0
org/apache/maven/plugin/ear/UnknownArtifactTypeException.java 0 2 0
org/apache/maven/plugin/ear/WebModule.java 4 5 1
org/apache/maven/plugin/ear/WsrModule.java 0 3 0
org/apache/maven/plugin/ear/output/FileNameMapping.java 0 0 2
org/apache/maven/plugin/ear/output/FileNameMappingFactory.java 4 2 4
org/apache/maven/plugin/ear/output/FullFileNameMapping.java 0 1 1
org/apache/maven/plugin/ear/output/StandardFileNameMapping.java 0 1 0
org/apache/maven/plugin/ear/util/ArtifactRepository.java 3 0 1
org/apache/maven/plugin/ear/util/ArtifactTypeMappingService.java 6 6 2

Rules

Rules Violations Severity
LeftCurly
  • option: "nl"
10 Errors Error
RightCurly
  • option: "alone"
0 Errors Error
LineLength
  • ignorePattern: "@version|@see|@todo|TODO"
  • max: "120"
1 Errors Error
MemberName 0 Errors Error
JavadocMethod 116 Warnings Warning
JavadocType 0 Errors Error
JavadocVariable 108 Infos Info
ConstantName 1 Errors Error
LocalFinalVariableName 0 Errors Error
LocalVariableName 0 Errors Error
MethodName 0 Errors Error
PackageName 0 Errors Error
ParameterName 0 Errors Error
StaticVariableName 0 Errors Error
TypeName 0 Errors Error
RegexpHeader
  • headerFile: "target/checkstyle-header.txt"
2 Errors Error
AvoidStarImport 0 Errors Error
IllegalImport 0 Errors Error
RedundantImport 0 Errors Error
UnusedImports 3 Errors Error
FileLength 0 Errors Error
MethodLength 1 Errors Error
ParameterNumber 1 Errors Error
EmptyForIteratorPad
  • option: "space"
0 Errors Error
OperatorWrap 18 Errors Error
ParenPad
  • option: "space"
23 Errors Error
TabCharacter 1 Errors Error
WhitespaceAfter 1 Errors Error
WhitespaceAround 0 Errors Error
ModifierOrder 1 Errors Error
RedundantModifier 9 Errors Error
AvoidNestedBlocks 0 Errors Error
EmptyBlock
  • option: "text"
0 Errors Error
NeedBraces 0 Errors Error
DoubleCheckedLocking 0 Errors Error
EmptyStatement 0 Errors Error
EqualsHashCode 0 Errors Error
HiddenField
  • ignoreConstructorParameter: "true"
  • ignoreSetter: "true"
6 Warnings Warning
IllegalInstantiation 0 Errors Error
InnerAssignment 0 Errors Error
MagicNumber
  • ignoreNumbers: "-4, -3, -2, -1, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 32, 64, 100, 128, 256, 512, 1000, 1024"
0 Errors Error
MissingSwitchDefault 0 Errors Error
RedundantThrows 1 Errors Error
SimplifyBooleanExpression 0 Errors Error
SimplifyBooleanReturn 0 Errors Error
InterfaceIsType 0 Errors Error
VisibilityModifier
  • protectedAllowed: "true"
0 Errors Error
UpperEll 0 Errors Error

Details

org/apache/maven/plugin/ear/AbstractEarModule.java

Violation Message Line
Infos Missing a Javadoc comment. 39
Infos Missing a Javadoc comment. 41
Infos Missing a Javadoc comment. 43
Infos Missing a Javadoc comment. 45
Infos Missing a Javadoc comment. 47
Infos Missing a Javadoc comment. 51
Infos Missing a Javadoc comment. 53
Infos Missing a Javadoc comment. 55
Infos Missing a Javadoc comment. 57
Infos Missing a Javadoc comment. 59
Infos Missing a Javadoc comment. 61
Infos Missing a Javadoc comment. 63
Infos Missing a Javadoc comment. 65
Warnings Missing a Javadoc comment. 89
Errors '+' should be on a new line. 109
Warnings Missing a Javadoc comment. 120
Warnings Missing a Javadoc comment. 125
Warnings Missing a Javadoc comment. 225
Warnings Missing a Javadoc comment. 246

org/apache/maven/plugin/ear/AbstractEarMojo.java

Violation Message Line
Infos Missing a Javadoc comment. 48
Infos Missing a Javadoc comment. 50
Infos Missing a Javadoc comment. 52
Infos Missing a Javadoc comment. 54
Infos Missing a Javadoc comment. 56
Infos Missing a Javadoc comment. 58
Infos Missing a Javadoc comment. 150
Infos Missing a Javadoc comment. 152
Infos Missing a Javadoc comment. 154
Warnings Missing a Javadoc comment. 156
Errors '&&' should be on a new line. 221
Warnings Missing a Javadoc comment. 252
Warnings Missing a Javadoc comment. 261
Warnings Missing a Javadoc comment. 266
Warnings Missing a Javadoc comment. 271
Warnings Missing a Javadoc comment. 276
Warnings 'version' hides a field. 306

org/apache/maven/plugin/ear/AbstractXmlWriter.java

Violation Message Line
Infos Missing a Javadoc comment. 39
Infos Missing a Javadoc comment. 41
Infos Missing a Javadoc comment. 43
Warnings Missing a Javadoc comment. 45
Warnings Missing a Javadoc comment. 50
Warnings Missing a Javadoc comment. 64
Warnings Missing a Javadoc comment. 69
Warnings Missing a Javadoc comment. 86

org/apache/maven/plugin/ear/ApplicationXmlWriter.java

Violation Message Line
Errors Unused import - java.io.File. 24
Errors Unused import - java.util.List. 27
Infos Missing a Javadoc comment. 39
Errors '+' should be on a new line. 39
Errors '+' should be on a new line. 40
Infos Missing a Javadoc comment. 43
Infos Missing a Javadoc comment. 46
Warnings Missing a Javadoc comment. 48
Warnings Missing a Javadoc comment. 54
Errors Line contains a tab character. 95
Warnings Missing a Javadoc comment. 103
Warnings Missing a Javadoc comment. 113
Warnings Missing a Javadoc comment. 123
Warnings Missing a Javadoc comment. 133
Warnings Missing a Javadoc comment. 140
Warnings Missing a Javadoc comment. 152

org/apache/maven/plugin/ear/ApplicationXmlWriterContext.java

Violation Message Line
Errors Line does not match expected header line of '^/\*\s*$'. 3
Errors '{' should be on a new line. 31
Infos Missing a Javadoc comment. 33
Infos Missing a Javadoc comment. 34
Infos Missing a Javadoc comment. 35
Infos Missing a Javadoc comment. 36
Infos Missing a Javadoc comment. 37
Infos Missing a Javadoc comment. 38
Warnings Missing a Javadoc comment. 40
Errors '(' is not followed by whitespace. 40
Errors ')' is not preceded with whitespace. 41
Errors '{' should be on a new line. 41
Errors '{' should be on a new line. 55
Errors '{' should be on a new line. 64
Errors '{' should be on a new line. 73
Errors '{' should be on a new line. 82
Errors '{' should be on a new line. 91
Errors '{' should be on a new line. 100

org/apache/maven/plugin/ear/EarExecutionContext.java

Violation Message Line
Infos Missing a Javadoc comment. 35
Warnings Missing a Javadoc comment. 37
Infos Missing a Javadoc comment. 44
Infos Missing a Javadoc comment. 46
Infos Missing a Javadoc comment. 48
Infos Missing a Javadoc comment. 50
Warnings Missing a Javadoc comment. 53
Warnings Missing a Javadoc comment. 58
Warnings Missing a Javadoc comment. 63
Warnings Missing a Javadoc comment. 68
Warnings Missing a Javadoc comment. 73
Warnings Missing a Javadoc comment. 78
Errors Line is longer than 120 characters. 83
Warnings Missing a Javadoc comment. 83
Warnings 'defaultLibBundleDir' hides a field. 83
Warnings 'jbossConfiguration' hides a field. 83
Errors ')' is not preceded with whitespace. 86

org/apache/maven/plugin/ear/EarModule.java

Violation Message Line
Errors Redundant 'public' modifier. 46
Errors Redundant 'public' modifier. 53
Errors Redundant 'public' modifier. 60
Errors Redundant 'public' modifier. 67
Errors Redundant 'public' modifier. 78
Errors Redundant 'public' modifier. 90
Errors Redundant 'public' modifier. 98
Errors Redundant 'public' modifier. 109

org/apache/maven/plugin/ear/EarModuleFactory.java

Violation Message Line
Infos Missing a Javadoc comment. 36
Errors 'static' modifier out of order with the JLS suggestions. 36
Errors Name 'standardArtifactTypes' must match pattern '^[A-Z][A-Z0-9]*(_[A-Z0-9]+)*$'. 36

org/apache/maven/plugin/ear/EarMojo.java

Violation Message Line
Infos Missing a Javadoc comment. 60
Infos Missing a Javadoc comment. 233
Errors Method length is 180 lines (max allowed is 150). 236
Warnings Missing a Javadoc comment. 236
Errors '+' should be on a new line. 278
Errors '&&' should be on a new line. 291
Errors '||' should be on a new line. 292
Errors '+' should be on a new line. 309
Errors ')' is not preceded with whitespace. 366
Errors '(' is not followed by whitespace. 383
Warnings 'jarArchiver' hides a field. 393
Warnings Missing a Javadoc comment. 419
Warnings Missing a Javadoc comment. 424
Warnings Missing a Javadoc comment. 463
Warnings Missing a Javadoc comment. 468
Warnings Expected @throws tag for 'NoSuchArchiverException'. 533
Warnings Expected @throws tag for 'IOException'. 533
Warnings Expected @throws tag for 'ArchiverException'. 533
Warnings Missing a Javadoc comment. 556
Errors '(' is not followed by whitespace. 556
Errors ')' is not preceded with whitespace. 556
Errors '{' should be on a new line. 557
Errors '(' is not followed by whitespace. 564
Errors ',' is not followed by whitespace. 564
Errors ')' is not preceded with whitespace. 564
Warnings Missing a Javadoc comment. 568
Warnings Missing a Javadoc comment. 573
Errors '{' should be on a new line. 573
Errors '(' is not followed by whitespace. 574
Errors ')' is not preceded with whitespace. 574

org/apache/maven/plugin/ear/EarPluginException.java

Violation Message Line
Warnings Missing a Javadoc comment. 32
Warnings Missing a Javadoc comment. 36
Warnings Missing a Javadoc comment. 41
Warnings Missing a Javadoc comment. 46

org/apache/maven/plugin/ear/Ejb3Module.java

Violation Message Line
Warnings Missing a Javadoc comment. 37
Warnings Missing a Javadoc comment. 42
Warnings Missing a Javadoc comment. 47

org/apache/maven/plugin/ear/EjbClientModule.java

Violation Message Line
Errors Unused import - org.codehaus.plexus.util.xml.XMLWriter. 23
Warnings Missing a Javadoc comment. 35
Warnings Missing a Javadoc comment. 41
Warnings Missing a Javadoc comment. 46

org/apache/maven/plugin/ear/EjbModule.java

Violation Message Line
Infos Missing a Javadoc comment. 34
Warnings Missing a Javadoc comment. 36
Warnings Missing a Javadoc comment. 40
Warnings Missing a Javadoc comment. 45
Errors ')' is not preceded with whitespace. 52
Warnings Missing a Javadoc comment. 57

org/apache/maven/plugin/ear/GenerateApplicationXmlMojo.java

Violation Message Line
Warnings Missing a Javadoc comment. 80
Warnings Expected @throws tag for 'EarPluginException'. 156
Errors '(' is not followed by whitespace. 167
Errors ')' is not preceded with whitespace. 168
Warnings Expected @throws tag for 'EarPluginException'. 176
Warnings 'description' hides a field. 215

org/apache/maven/plugin/ear/HarModule.java

Violation Message Line
Warnings Missing a Javadoc comment. 35
Warnings Missing a Javadoc comment. 39
Warnings Missing a Javadoc comment. 44
Warnings Missing a Javadoc comment. 51
Warnings Missing a Javadoc comment. 60

org/apache/maven/plugin/ear/JarModule.java

Violation Message Line
Infos Missing a Javadoc comment. 45
Warnings Missing a Javadoc comment. 47
Warnings Missing a Javadoc comment. 52
Warnings Missing a Javadoc comment. 60
Errors ')' is not preceded with whitespace. 71
Warnings Missing a Javadoc comment. 77
Warnings Missing a Javadoc comment. 88
Warnings Missing a Javadoc comment. 93

org/apache/maven/plugin/ear/JavaModule.java

Violation Message Line
Warnings Expected @param tag for 'a'. 48
Warnings Expected @param tag for 'defaultLibBundleDir'. 48
Warnings Expected @param tag for 'includeInApplicationXml'. 48

org/apache/maven/plugin/ear/JbossAppXmlWriter.java

Violation Message Line
Infos Missing a Javadoc comment. 40
Errors '+' should be on a new line. 40
Infos Missing a Javadoc comment. 43
Errors '+' should be on a new line. 43
Infos Missing a Javadoc comment. 46
Errors '+' should be on a new line. 46
Infos Missing a Javadoc comment. 49
Errors '+' should be on a new line. 49
Infos Missing a Javadoc comment. 52
Warnings Missing a Javadoc comment. 54
Warnings Missing a Javadoc comment. 59
Errors ')' is not preceded with whitespace. 125
Errors ')' is not preceded with whitespace. 130
Errors ')' is not preceded with whitespace. 148

org/apache/maven/plugin/ear/JbossConfiguration.java

Violation Message Line
Errors Line does not match expected header line of '^/\*\s*$'. 3
Infos Missing a Javadoc comment. 34
Infos Missing a Javadoc comment. 36
Infos Missing a Javadoc comment. 38
Infos Missing a Javadoc comment. 40
Infos Missing a Javadoc comment. 42
Infos Missing a Javadoc comment. 44
Infos Missing a Javadoc comment. 46
Infos Missing a Javadoc comment. 48
Infos Missing a Javadoc comment. 50
Infos Missing a Javadoc comment. 52
Infos Missing a Javadoc comment. 54
Infos Missing a Javadoc comment. 56
Infos Missing a Javadoc comment. 58
Infos Missing a Javadoc comment. 60
Infos Missing a Javadoc comment. 62
Infos Missing a Javadoc comment. 64
Infos Missing a Javadoc comment. 66
Infos Missing a Javadoc comment. 68
Infos Missing a Javadoc comment. 70
Infos Missing a Javadoc comment. 72
Infos Missing a Javadoc comment. 74
Infos Missing a Javadoc comment. 76
Infos Missing a Javadoc comment. 78
Infos Missing a Javadoc comment. 80
Infos Missing a Javadoc comment. 82
Infos Missing a Javadoc comment. 84
Infos Missing a Javadoc comment. 86
Infos Missing a Javadoc comment. 88
Infos Missing a Javadoc comment. 90
Infos Missing a Javadoc comment. 92
Infos Missing a Javadoc comment. 94
Warnings Missing a Javadoc comment. 96
Errors More than 7 parameters. 96

org/apache/maven/plugin/ear/JbossEarModule.java

Violation Message Line
Errors Redundant 'public' modifier. 39

org/apache/maven/plugin/ear/ParModule.java

Violation Message Line
Warnings Missing a Javadoc comment. 35
Warnings Missing a Javadoc comment. 40
Warnings Missing a Javadoc comment. 45

org/apache/maven/plugin/ear/RarModule.java

Violation Message Line
Infos Missing a Javadoc comment. 34
Warnings Missing a Javadoc comment. 36
Warnings Missing a Javadoc comment. 40
Warnings Missing a Javadoc comment. 45
Errors ')' is not preceded with whitespace. 52
Warnings Missing a Javadoc comment. 57

org/apache/maven/plugin/ear/SarModule.java

Violation Message Line
Infos Missing a Javadoc comment. 36
Warnings Missing a Javadoc comment. 38
Warnings Missing a Javadoc comment. 42
Warnings Missing a Javadoc comment. 47
Warnings Missing a Javadoc comment. 60
Warnings Missing a Javadoc comment. 69

org/apache/maven/plugin/ear/SecurityRole.java

Violation Message Line
Infos Missing a Javadoc comment. 34
Infos Missing a Javadoc comment. 36
Infos Missing a Javadoc comment. 38
Infos Missing a Javadoc comment. 40
Infos Missing a Javadoc comment. 42
Infos Missing a Javadoc comment. 44
Infos Missing a Javadoc comment. 46
Infos Missing a Javadoc comment. 48
Infos Missing a Javadoc comment. 50
Warnings Missing a Javadoc comment. 52
Warnings Missing a Javadoc comment. 65
Warnings Missing a Javadoc comment. 70
Warnings Missing a Javadoc comment. 75
Warnings Missing a Javadoc comment. 80
Warnings Missing a Javadoc comment. 85
Warnings Missing a Javadoc comment. 131

org/apache/maven/plugin/ear/UnknownArtifactTypeException.java

Violation Message Line
Warnings Missing a Javadoc comment. 32
Warnings Missing a Javadoc comment. 36

org/apache/maven/plugin/ear/WebModule.java

Violation Message Line
Infos Missing a Javadoc comment. 37
Infos Missing a Javadoc comment. 39
Infos Missing a Javadoc comment. 41
Infos Missing a Javadoc comment. 43
Warnings Missing a Javadoc comment. 45
Warnings Missing a Javadoc comment. 49
Warnings Missing a Javadoc comment. 55
Errors ')' is not preceded with whitespace. 69
Warnings Missing a Javadoc comment. 74
Warnings Missing a Javadoc comment. 100

org/apache/maven/plugin/ear/WsrModule.java

Violation Message Line
Warnings Missing a Javadoc comment. 34
Warnings Missing a Javadoc comment. 38
Warnings Missing a Javadoc comment. 43

org/apache/maven/plugin/ear/output/FileNameMapping.java

Violation Message Line
Errors '(' is not followed by whitespace. 41
Errors ')' is not preceded with whitespace. 41

org/apache/maven/plugin/ear/output/FileNameMappingFactory.java

Violation Message Line
Infos Missing a Javadoc comment. 39
Infos Missing a Javadoc comment. 41
Infos Missing a Javadoc comment. 43
Infos Missing a Javadoc comment. 45
Warnings Missing a Javadoc comment. 47
Warnings Missing a Javadoc comment. 54
Errors Redundant throws: 'IllegalStateException' is unchecked exception. 68
Errors '+' should be on a new line. 91
Errors '+' should be on a new line. 96
Errors '+' should be on a new line. 101

org/apache/maven/plugin/ear/output/FullFileNameMapping.java

Violation Message Line
Warnings Missing a Javadoc comment. 34
Errors ')' is not preceded with whitespace. 36

org/apache/maven/plugin/ear/output/StandardFileNameMapping.java

Violation Message Line
Warnings Missing a Javadoc comment. 34

org/apache/maven/plugin/ear/util/ArtifactRepository.java

Violation Message Line
Infos Missing a Javadoc comment. 36
Infos Missing a Javadoc comment. 38
Infos Missing a Javadoc comment. 40
Errors '&&' should be on a new line. 142

org/apache/maven/plugin/ear/util/ArtifactTypeMappingService.java

Violation Message Line
Infos Missing a Javadoc comment. 42
Infos Missing a Javadoc comment. 44
Infos Missing a Javadoc comment. 46
Infos Missing a Javadoc comment. 48
Warnings Missing a Javadoc comment. 50
Infos Missing a Javadoc comment. 56
Infos Missing a Javadoc comment. 59
Warnings Missing a Javadoc comment. 61
Warnings Missing a Javadoc comment. 67
Errors '+' should be on a new line. 98
Errors '+' should be on a new line. 130
Warnings 'typeMappings' hides a field. 133
Warnings Expected @throws tag for 'UnknownArtifactTypeException'. 147
Warnings Missing a Javadoc comment. 167