Checkstyle Results

The following document contains the results of Checkstylerss feed

Summary

Files Infos Infos Warnings Warnings Errors Errors
38 20 104 47

Files

Files Infos Warnings Errors
org/apache/maven/plugin/ear/AbstractEarModule.java 9 8 1
org/apache/maven/plugin/ear/AbstractEarMojo.java 3 6 1
org/apache/maven/plugin/ear/ApplicationXmlWriter.java 0 0 1
org/apache/maven/plugin/ear/ApplicationXmlWriterContext.java 0 0 2
org/apache/maven/plugin/ear/EarExecutionContext.java 0 7 0
org/apache/maven/plugin/ear/EarModule.java 0 1 9
org/apache/maven/plugin/ear/EarModuleFactory.java 1 0 3
org/apache/maven/plugin/ear/EarMojo.java 0 8 5
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 0
org/apache/maven/plugin/ear/EjbModule.java 1 4 0
org/apache/maven/plugin/ear/GenerateApplicationXmlMojo.java 0 5 0
org/apache/maven/plugin/ear/HarModule.java 0 5 0
org/apache/maven/plugin/ear/JarModule.java 0 5 0
org/apache/maven/plugin/ear/JavaModule.java 0 3 0
org/apache/maven/plugin/ear/JbossAppXmlWriter.java 0 0 5
org/apache/maven/plugin/ear/JbossConfiguration.java 0 0 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 0
org/apache/maven/plugin/ear/SarModule.java 1 5 0
org/apache/maven/plugin/ear/UnknownArtifactTypeException.java 0 2 0
org/apache/maven/plugin/ear/WebModule.java 3 5 0
org/apache/maven/plugin/ear/WsrModule.java 0 3 0
org/apache/maven/plugin/ear/output/AbstractFileNameMapping.java 0 0 1
org/apache/maven/plugin/ear/output/FileNameMappingFactory.java 0 1 3
org/apache/maven/plugin/ear/output/FullFileNameMapping.java 0 1 0
org/apache/maven/plugin/ear/output/NoVersionFileNameMapping.java 0 1 0
org/apache/maven/plugin/ear/output/StandardFileNameMapping.java 0 1 0
org/apache/maven/plugin/ear/util/ArtifactRepository.java 0 1 1
org/apache/maven/plugin/ear/util/ArtifactTypeMappingService.java 0 4 2
org/apache/maven/plugin/ear/util/EarMavenArchiver.java 1 2 1
org/apache/maven/plugin/ear/util/InvalidJavaEEVersion.java 0 2 2
org/apache/maven/plugin/ear/util/JavaEEVersion.java 0 7 7

Rules

Rules Violations Severity
LeftCurly
  • option: "nl"
1 Errors Error
RightCurly
  • option: "alone"
0 Errors Error
LineLength
  • max: "120"
  • ignorePattern: "@version|@see|@todo|TODO"
1 Errors Error
MemberName 0 Errors Error
JavadocMethod
  • scope: "protected"
92 Warnings Warning
JavadocType
  • scope: "protected"
0 Errors Error
JavadocVariable
  • scope: "protected"
20 Infos Info
ConstantName 6 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"
6 Errors Error
AvoidStarImport 0 Errors Error
IllegalImport 0 Errors Error
RedundantImport 0 Errors Error
UnusedImports 0 Errors Error
FileLength 0 Errors Error
MethodLength 1 Errors Error
ParameterNumber 2 Errors Error
EmptyForIteratorPad
  • option: "space"
0 Errors Error
OperatorWrap 18 Errors Error
ParenPad
  • option: "space"
0 Errors Error
TabCharacter 0 Errors Error
WhitespaceAfter 0 Errors Error
WhitespaceAround 0 Errors Error
ModifierOrder 1 Errors Error
RedundantModifier 10 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"
12 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
  • packageAllowed: "true"
  • 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. 55
Infos Missing a Javadoc comment. 57
Infos Missing a Javadoc comment. 59
Infos Missing a Javadoc comment. 63
Infos Missing a Javadoc comment. 65
Infos Missing a Javadoc comment. 71
Warnings Missing a Javadoc comment. 95
Warnings Missing a Javadoc comment. 100
Errors '+' should be on a new line. 120
Warnings Missing a Javadoc comment. 131
Warnings Missing a Javadoc comment. 136
Warnings Missing a Javadoc comment. 141
Warnings Missing a Javadoc comment. 241
Warnings 'artifact' hides a field. 281
Warnings Missing a Javadoc comment. 292

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
Warnings Missing a Javadoc comment. 150
Errors '&&' should be on a new line. 220
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 'version' hides a field. 306

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

Violation Message Line
Errors '+' should be on a new line. 39

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

Violation Message Line
Errors Line does not match expected header line of '^/\*\s*$'. 3
Errors More than 7 parameters. 50

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

Violation Message Line
Warnings Missing a Javadoc comment. 45
Warnings Missing a Javadoc comment. 54
Warnings Missing a Javadoc comment. 59
Warnings Missing a Javadoc comment. 64
Warnings Missing a Javadoc comment. 69
Warnings 'defaultLibBundleDir' hides a field. 74
Warnings 'jbossConfiguration' hides a field. 75

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. 89
Errors Redundant 'public' modifier. 98
Errors Redundant 'public' modifier. 109
Warnings Missing a Javadoc comment. 112
Errors Redundant 'public' modifier. 112

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

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

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

Violation Message Line
Errors Method length is 183 lines (max allowed is 150). 240
Warnings Missing a Javadoc comment. 240
Errors '+' should be on a new line. 285
Errors '&&' should be on a new line. 298
Errors '||' should be on a new line. 299
Errors '+' should be on a new line. 317
Warnings 'jarArchiver' hides a field. 400
Warnings Missing a Javadoc comment. 426
Warnings Missing a Javadoc comment. 431
Warnings Expected @throws tag for 'NoSuchArchiverException'. 543
Warnings Expected @throws tag for 'IOException'. 543
Warnings Expected @throws tag for 'ArchiverException'. 543
Warnings Missing a Javadoc comment. 584

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. 36
Warnings Missing a Javadoc comment. 41
Warnings Missing a Javadoc comment. 46

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

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

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
Warnings Missing a Javadoc comment. 57

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

Violation Message Line
Warnings Missing a Javadoc comment. 109
Warnings Expected @param tag for 'javaEEVersion'. 180
Warnings Expected @throws tag for 'EarPluginException'. 181
Warnings Expected @throws tag for 'EarPluginException'. 202
Warnings 'description' hides a field. 241

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
Warnings Missing a Javadoc comment. 47
Warnings Missing a Javadoc comment. 52
Warnings Missing a Javadoc comment. 60
Warnings Missing a Javadoc comment. 77
Warnings Missing a Javadoc comment. 88

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
Errors '+' should be on a new line. 40
Errors '+' should be on a new line. 43
Errors '+' should be on a new line. 46
Errors '+' should be on a new line. 49
Errors '||' should be on a new line. 111

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

Violation Message Line
Errors Line does not match expected header line of '^/\*\s*$'. 3
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
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/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
Warnings Missing a Javadoc comment. 45
Warnings Missing a Javadoc comment. 49
Warnings Missing a Javadoc comment. 55
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/AbstractFileNameMapping.java

Violation Message Line
Errors Line does not match expected header line of '^/\*\s*$'. 3

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

Violation Message Line
Warnings Missing a Javadoc comment. 47
Errors Redundant throws: 'IllegalStateException' is unchecked exception. 61
Errors '+' should be on a new line. 87
Errors '+' should be on a new line. 92

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

Violation Message Line
Warnings Missing a Javadoc comment. 35

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

Violation Message Line
Warnings Missing a Javadoc comment. 34

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

Violation Message Line
Warnings Missing a Javadoc comment. 35

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

Violation Message Line
Warnings Expected @param tag for 'artifactTypeMappingService'. 50
Errors '&&' should be on a new line. 144

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

Violation Message Line
Warnings Missing a Javadoc comment. 54
Warnings Missing a Javadoc comment. 61
Errors '+' should be on a new line. 91
Errors '+' should be on a new line. 124
Warnings 'typeMappings' hides a field. 127
Warnings Expected @throws tag for 'UnknownArtifactTypeException'. 141

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

Violation Message Line
Errors Line does not match expected header line of '^/\*\s*$'. 3
Infos Missing a Javadoc comment. 44
Warnings Missing a Javadoc comment. 60
Warnings Missing a Javadoc comment. 112

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

Violation Message Line
Errors Line does not match expected header line of '^/\*\s*$'. 3
Errors '{' should be on a new line. 8
Warnings Missing a Javadoc comment. 12
Warnings Missing a Javadoc comment. 18

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

Violation Message Line
Errors Line does not match expected header line of '^/\*\s*$'. 3
Errors Name 'versionsMap' must match pattern '^[A-Z][A-Z0-9]*(_[A-Z0-9]+)*$'. 23
Errors Name 'OneDotThree' must match pattern '^[A-Z][A-Z0-9]*(_[A-Z0-9]+)*$'. 29
Errors Name 'OneDotFour' must match pattern '^[A-Z][A-Z0-9]*(_[A-Z0-9]+)*$'. 34
Errors Name 'Five' must match pattern '^[A-Z][A-Z0-9]*(_[A-Z0-9]+)*$'. 39
Errors Name 'Six' must match pattern '^[A-Z][A-Z0-9]*(_[A-Z0-9]+)*$'. 44
Warnings Missing a Javadoc comment. 58
Warnings 'version' hides a field. 84
Warnings 'version' hides a field. 95
Warnings 'version' hides a field. 106
Warnings 'version' hides a field. 117
Warnings 'version' hides a field. 129
Errors '||' should be on a new line. 146
Warnings Missing a Javadoc comment. 150