Checkstyle Results

The following document contains the results of Checkstylerss feed

Summary

Files Infos Infos Warnings Warnings Errors Errors
34 24 91 77

Files

Files Infos Warnings Errors
org/apache/maven/plugin/ear/AbstractEarModule.java 9 6 4
org/apache/maven/plugin/ear/AbstractEarMojo.java 7 6 3
org/apache/maven/plugin/ear/ApplicationXmlWriter.java 0 0 1
org/apache/maven/plugin/ear/ApplicationXmlWriterContext.java 0 0 11
org/apache/maven/plugin/ear/EarExecutionContext.java 0 7 2
org/apache/maven/plugin/ear/EarModule.java 0 1 11
org/apache/maven/plugin/ear/EarModuleFactory.java 1 0 4
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 1
org/apache/maven/plugin/ear/GenerateApplicationXmlMojo.java 0 4 3
org/apache/maven/plugin/ear/HarModule.java 0 5 0
org/apache/maven/plugin/ear/JarModule.java 0 5 1
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 1
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 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 0 1 14
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 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

Rules

Rules Violations Severity
LeftCurly
  • option: "nl"
11 Errors Error
RightCurly
  • option: "alone"
0 Errors Error
LineLength
  • ignorePattern: "@version|@see|@todo|TODO"
  • max: "120"
3 Errors Error
MemberName 0 Errors Error
JavadocMethod
  • scope: "protected"
85 Warnings Warning
JavadocType
  • scope: "protected"
0 Errors Error
JavadocVariable
  • scope: "protected"
24 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"
3 Errors Error
AvoidStarImport 0 Errors Error
IllegalImport 0 Errors Error
RedundantImport 0 Errors Error
UnusedImports 2 Errors Error
FileLength 0 Errors Error
MethodLength 1 Errors Error
ParameterNumber 1 Errors Error
EmptyForIteratorPad
  • option: "space"
0 Errors Error
OperatorWrap 20 Errors Error
ParenPad
  • option: "space"
21 Errors Error
TabCharacter 0 Errors Error
WhitespaceAfter 0 Errors Error
WhitespaceAround 2 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"
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
  • 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. 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
Infos Missing a Javadoc comment. 67
Warnings Missing a Javadoc comment. 91
Warnings Missing a Javadoc comment. 96
Errors '+' should be on a new line. 116
Warnings Missing a Javadoc comment. 127
Warnings Missing a Javadoc comment. 132
Warnings Missing a Javadoc comment. 232
Warnings Missing a Javadoc comment. 253
Errors '(' is not followed by whitespace. 324
Errors ')' is not preceded with whitespace. 324
Errors '{' should be on a new line. 324

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. 60
Warnings Missing a Javadoc comment. 158
Errors ')' is not preceded with whitespace. 190
Errors '&&' should be on a new line. 227
Errors ')' is not preceded with whitespace. 232
Warnings Missing a Javadoc comment. 260
Warnings Missing a Javadoc comment. 269
Warnings Missing a Javadoc comment. 274
Warnings Missing a Javadoc comment. 279
Warnings 'version' hides a field. 314

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

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

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
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
Warnings Missing a Javadoc comment. 45
Errors Line is longer than 120 characters. 49
Warnings Missing a Javadoc comment. 53
Warnings Missing a Javadoc comment. 58
Warnings Missing a Javadoc comment. 63
Warnings Missing a Javadoc comment. 68
Errors Line is longer than 120 characters. 73
Warnings 'defaultLibBundleDir' hides a field. 73
Warnings 'jbossConfiguration' hides a field. 73

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
Warnings Missing a Javadoc comment. 112
Errors Redundant 'public' modifier. 112
Errors '(' is not followed by whitespace. 112
Errors ')' is not preceded with whitespace. 112

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

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

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

Violation Message Line
Errors Method length is 181 lines (max allowed is 150). 239
Warnings Missing a Javadoc comment. 239
Errors '+' should be on a new line. 282
Errors '&&' should be on a new line. 295
Errors '||' should be on a new line. 296
Errors '+' should be on a new line. 314
Warnings 'jarArchiver' hides a field. 397
Warnings Missing a Javadoc comment. 423
Warnings Missing a Javadoc comment. 428
Warnings Expected @throws tag for 'NoSuchArchiverException'. 540
Warnings Expected @throws tag for 'IOException'. 540
Warnings Expected @throws tag for 'ArchiverException'. 540
Warnings Missing a Javadoc comment. 581

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
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
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. 81
Errors '&&' should be on a new line. 95
Warnings Expected @throws tag for 'EarPluginException'. 158
Errors '(' is not followed by whitespace. 169
Errors ')' is not preceded with whitespace. 170
Warnings Expected @throws tag for 'EarPluginException'. 178
Warnings 'description' hides a field. 217

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
Errors ')' is not preceded with whitespace. 71
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
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/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
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
Errors Unused import - java.util.HashMap. 22
Errors Unused import - java.util.Map. 23
Warnings Missing a Javadoc comment. 47
Errors Redundant throws: 'IllegalStateException' is unchecked exception. 61
Errors '(' is not followed by whitespace. 63
Errors ')' is not preceded with whitespace. 63
Errors '{' is not preceded with whitespace. 63
Errors '{' should be on a new line. 63
Errors '(' is not followed by whitespace. 66
Errors ')' is not preceded with whitespace. 66
Errors '{' is not preceded with whitespace. 66
Errors '{' should be on a new line. 66
Errors '+' should be on a new line. 81
Errors '+' should be on a new line. 86
Errors '+' should be on a new line. 91

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
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. 90
Errors '+' should be on a new line. 122
Warnings 'typeMappings' hides a field. 125
Warnings Expected @throws tag for 'UnknownArtifactTypeException'. 139

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