Checkstyle Results

The following document contains the results of Checkstylerss feed

Summary

Files Infos Infos Warnings Warnings Errors Errors
34 111 125 80

Files

Files Infos Warnings Errors
org/apache/maven/plugin/ear/AbstractEarModule.java 13 5 4
org/apache/maven/plugin/ear/AbstractEarMojo.java 10 7 1
org/apache/maven/plugin/ear/AbstractXmlWriter.java 3 5 0
org/apache/maven/plugin/ear/ApplicationXmlWriter.java 3 9 4
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 22
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 1 6 1
org/apache/maven/plugin/ear/JavaModule.java 0 3 0
org/apache/maven/plugin/ear/JbossAppXmlWriter.java 5 2 5
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
org/apache/maven/plugin/ear/util/EarMavenArchiver.java 2 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"
1 Errors Error
MemberName 0 Errors Error
JavadocMethod 119 Warnings Warning
JavadocType 0 Errors Error
JavadocVariable 111 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 0 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"
29 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, 128, 256, 512, 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
Errors '(' is not followed by whitespace. 317
Errors ')' is not preceded with whitespace. 317
Errors '{' should be on a new line. 317

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
Infos Missing a Javadoc comment. 152
Infos Missing a Javadoc comment. 154
Infos Missing a Javadoc comment. 156
Warnings Missing a Javadoc comment. 158
Errors '&&' should be on a new line. 223
Warnings Missing a Javadoc comment. 254
Warnings Missing a Javadoc comment. 263
Warnings Missing a Javadoc comment. 268
Warnings Missing a Javadoc comment. 273
Warnings Missing a Javadoc comment. 278
Warnings 'version' hides a field. 308

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
Infos Missing a Javadoc comment. 37
Errors '+' should be on a new line. 37
Errors '+' should be on a new line. 38
Infos Missing a Javadoc comment. 41
Infos Missing a Javadoc comment. 44
Warnings Missing a Javadoc comment. 46
Warnings Missing a Javadoc comment. 52
Errors ')' is not preceded with whitespace. 70
Errors Line contains a tab character. 93
Warnings Missing a Javadoc comment. 101
Warnings Missing a Javadoc comment. 111
Warnings Missing a Javadoc comment. 121
Warnings Missing a Javadoc comment. 131
Warnings Missing a Javadoc comment. 138
Warnings Missing a Javadoc comment. 150
Warnings Missing a Javadoc comment. 162

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. 61
Infos Missing a Javadoc comment. 237
Errors Method length is 180 lines (max allowed is 150). 240
Warnings Missing a Javadoc comment. 240
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. 313
Errors ')' is not preceded with whitespace. 370
Errors '(' is not followed by whitespace. 387
Errors '(' is not followed by whitespace. 387
Errors ')' is not preceded with whitespace. 387
Errors ')' is not preceded with whitespace. 387
Errors ')' is not preceded with whitespace. 387
Errors '(' is not followed by whitespace. 396
Errors ')' is not preceded with whitespace. 396
Warnings 'jarArchiver' hides a field. 397
Warnings Missing a Javadoc comment. 423
Warnings Missing a Javadoc comment. 428
Warnings Missing a Javadoc comment. 467
Warnings Missing a Javadoc comment. 472
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. 563
Errors '(' is not followed by whitespace. 563
Errors ')' is not preceded with whitespace. 563
Errors '{' should be on a new line. 564
Errors '(' is not followed by whitespace. 571
Errors ',' is not followed by whitespace. 571
Errors ')' is not preceded with whitespace. 571
Warnings Missing a Javadoc comment. 575
Warnings Missing a Javadoc comment. 580
Errors '{' should be on a new line. 580
Errors '(' is not followed by whitespace. 581
Errors ')' is not preceded with whitespace. 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. 80
Errors '&&' should be on a new line. 94
Warnings Expected @throws tag for 'EarPluginException'. 157
Errors '(' is not followed by whitespace. 168
Errors ')' is not preceded with whitespace. 169
Warnings Expected @throws tag for 'EarPluginException'. 177
Warnings 'description' hides a field. 216

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 '||' 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
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

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
Infos Missing a Javadoc comment. 46
Warnings Missing a Javadoc comment. 60
Warnings Missing a Javadoc comment. 112