Checkstyle Results

The following document contains the results of Checkstylerss feed

Summary

FilesInfos InfosWarnings WarningsErrors Errors
412312536

Files

FilesInfosWarningsErrors
org/apache/maven/plugin/ear/AbstractEarModule.java990
org/apache/maven/plugin/ear/AbstractEarMojo.java361
org/apache/maven/plugin/ear/AppClientModule.java040
org/apache/maven/plugin/ear/ApplicationXmlWriterContext.java002
org/apache/maven/plugin/ear/EarExecutionContext.java070
org/apache/maven/plugin/ear/EarModule.java0311
org/apache/maven/plugin/ear/EarModuleFactory.java102
org/apache/maven/plugin/ear/EarMojo.java0136
org/apache/maven/plugin/ear/EarPluginException.java040
org/apache/maven/plugin/ear/Ejb3Module.java030
org/apache/maven/plugin/ear/EjbClientModule.java030
org/apache/maven/plugin/ear/EjbModule.java140
org/apache/maven/plugin/ear/EnvEntry.java001
org/apache/maven/plugin/ear/GenerateApplicationXmlMojo.java361
org/apache/maven/plugin/ear/HarModule.java050
org/apache/maven/plugin/ear/JarModule.java060
org/apache/maven/plugin/ear/JavaModule.java030
org/apache/maven/plugin/ear/JbossConfiguration.java002
org/apache/maven/plugin/ear/JbossEarModule.java001
org/apache/maven/plugin/ear/ParModule.java030
org/apache/maven/plugin/ear/RarModule.java140
org/apache/maven/plugin/ear/SarModule.java150
org/apache/maven/plugin/ear/UnknownArtifactTypeException.java020
org/apache/maven/plugin/ear/WebModule.java360
org/apache/maven/plugin/ear/WsrModule.java030
org/apache/maven/plugin/ear/output/AbstractFileNameMapping.java001
org/apache/maven/plugin/ear/output/FileNameMappingFactory.java013
org/apache/maven/plugin/ear/output/FullFileNameMapping.java010
org/apache/maven/plugin/ear/output/NoVersionFileNameMapping.java010
org/apache/maven/plugin/ear/output/NoVersionForEjbFileNameMapping.java010
org/apache/maven/plugin/ear/output/StandardFileNameMapping.java010
org/apache/maven/plugin/ear/util/ArtifactRepository.java010
org/apache/maven/plugin/ear/util/ArtifactTypeMappingService.java040
org/apache/maven/plugin/ear/util/EarMavenArchiver.java170
org/apache/maven/plugin/ear/util/InvalidJavaEEVersion.java020
org/apache/maven/plugin/ear/util/JavaEEVersion.java075

Rules

RulesViolationsSeverity
FileLength0Errors Error
RegexpHeader
  • headerFile: "target/checkstyle-header.txt"
1Errors Error
FileTabCharacter
  • eachLine: "true"
0Errors Error
LeftCurly
  • option: "nl"
0Errors Error
RightCurly
  • option: "alone"
0Errors Error
LineLength
  • max: "120"
  • ignorePattern: "@version|@see|@todo|TODO"
3Errors Error
MemberName0Errors Error
JavadocMethod
  • scope: "protected"
111Warnings Warning
JavadocType
  • allowUnknownTags: "true"
  • scope: "protected"
0Errors Error
JavadocVariable
  • scope: "protected"
23Infos Info
ConstantName6Errors Error
LocalFinalVariableName0Errors Error
LocalVariableName0Errors Error
MethodName0Errors Error
PackageName0Errors Error
ParameterName0Errors Error
StaticVariableName0Errors Error
TypeName0Errors Error
AvoidStarImport0Errors Error
IllegalImport0Errors Error
RedundantImport0Errors Error
UnusedImports0Errors Error
MethodLength1Errors Error
ParameterNumber2Errors Error
EmptyForIteratorPad
  • option: "space"
0Errors Error
OperatorWrap8Errors Error
ParenPad
  • option: "space"
0Errors Error
WhitespaceAfter0Errors Error
WhitespaceAround1Errors Error
ModifierOrder0Errors Error
RedundantModifier12Errors Error
AvoidNestedBlocks0Errors Error
EmptyBlock
  • option: "text"
0Errors Error
NeedBraces0Errors Error
DoubleCheckedLocking0Errors Error
EmptyStatement0Errors Error
EqualsHashCode0Errors Error
HiddenField
  • ignoreConstructorParameter: "true"
  • ignoreSetter: "true"
14Warnings Warning
IllegalInstantiation0Errors Error
InnerAssignment0Errors 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"
0Errors Error
MissingSwitchDefault0Errors Error
RedundantThrows2Errors Error
SimplifyBooleanExpression0Errors Error
SimplifyBooleanReturn0Errors Error
InterfaceIsType0Errors Error
VisibilityModifier
  • packageAllowed: "true"
  • protectedAllowed: "true"
0Errors Error
UpperEll0Errors Error

Details

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

ViolationMessageLine
InfosMissing a Javadoc comment.39
InfosMissing a Javadoc comment.41
InfosMissing a Javadoc comment.43
InfosMissing a Javadoc comment.55
InfosMissing a Javadoc comment.57
InfosMissing a Javadoc comment.59
InfosMissing a Javadoc comment.63
InfosMissing a Javadoc comment.65
InfosMissing a Javadoc comment.71
WarningsMissing a Javadoc comment.95
WarningsMissing a Javadoc comment.132
WarningsMissing a Javadoc comment.137
WarningsMissing a Javadoc comment.142
WarningsMissing a Javadoc comment.242
Warnings'artifact' hides a field.282
WarningsMissing a Javadoc comment.293
WarningsMissing a Javadoc comment.370
WarningsMissing a Javadoc comment.375

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

ViolationMessageLine
InfosMissing a Javadoc comment.49
InfosMissing a Javadoc comment.51
InfosMissing a Javadoc comment.53
WarningsMissing a Javadoc comment.140
WarningsMissing a Javadoc comment.240
WarningsMissing a Javadoc comment.249
WarningsMissing a Javadoc comment.254
WarningsMissing a Javadoc comment.259
Errors'for' is not followed by whitespace.266
Warnings'version' hides a field.292

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

ViolationMessageLine
WarningsMissing a Javadoc comment.34
WarningsMissing a Javadoc comment.38
WarningsMissing a Javadoc comment.43
WarningsMissing a Javadoc comment.55

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

ViolationMessageLine
ErrorsLine is longer than 120 characters.52
ErrorsMore than 7 parameters.52

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

ViolationMessageLine
WarningsMissing a Javadoc comment.45
WarningsMissing a Javadoc comment.54
WarningsMissing a Javadoc comment.59
WarningsMissing a Javadoc comment.64
WarningsMissing a Javadoc comment.69
Warnings'defaultLibBundleDir' hides a field.74
Warnings'jbossConfiguration' hides a field.75

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

ViolationMessageLine
ErrorsRedundant 'public' modifier.46
ErrorsRedundant 'public' modifier.53
ErrorsRedundant 'public' modifier.60
ErrorsRedundant 'public' modifier.67
ErrorsRedundant 'public' modifier.78
ErrorsRedundant 'public' modifier.89
ErrorsRedundant 'public' modifier.98
ErrorsRedundant 'public' modifier.109
WarningsMissing a Javadoc comment.112
ErrorsRedundant 'public' modifier.112
WarningsMissing a Javadoc comment.114
ErrorsRedundant 'public' modifier.114
WarningsMissing a Javadoc comment.116
ErrorsRedundant 'public' modifier.116

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

ViolationMessageLine
InfosMissing a Javadoc comment.38
ErrorsName 'standardArtifactTypes' must match pattern '^[A-Z][A-Z0-9]*(_[A-Z0-9]+)*$'.38
ErrorsLine is longer than 120 characters.65

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

ViolationMessageLine
ErrorsMethod length is 173 lines (max allowed is 150).269
WarningsMissing a Javadoc comment.269
Errors'+' should be on a new line.311
Errors'&&' should be on a new line.324
Errors'||' should be on a new line.325
Errors'+' should be on a new line.353
Warnings'jarArchiver' hides a field.416
WarningsMissing a Javadoc comment.445
WarningsMissing a Javadoc comment.450
WarningsMissing a Javadoc comment.490
WarningsMissing a Javadoc comment.502
WarningsMissing a Javadoc comment.507
WarningsMissing a Javadoc comment.519
WarningsExpected @throws tag for 'NoSuchArchiverException'.597
WarningsExpected @throws tag for 'IOException'.597
WarningsExpected @throws tag for 'ArchiverException'.597
ErrorsRedundant throws: 'ArchiverException' is unchecked exception.597
WarningsMissing a Javadoc comment.638
Warnings'manifestFile' hides a field.699

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

ViolationMessageLine
WarningsMissing a Javadoc comment.32
WarningsMissing a Javadoc comment.36
WarningsMissing a Javadoc comment.41
WarningsMissing a Javadoc comment.46

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

ViolationMessageLine
WarningsMissing a Javadoc comment.36
WarningsMissing a Javadoc comment.41
WarningsMissing a Javadoc comment.46

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

ViolationMessageLine
WarningsMissing a Javadoc comment.34
WarningsMissing a Javadoc comment.40
WarningsMissing a Javadoc comment.45

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

ViolationMessageLine
InfosMissing a Javadoc comment.34
WarningsMissing a Javadoc comment.36
WarningsMissing a Javadoc comment.40
WarningsMissing a Javadoc comment.45
WarningsMissing a Javadoc comment.57

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

ViolationMessageLine
Errors'+' should be on a new line.62

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

ViolationMessageLine
InfosMissing a Javadoc comment.51
InfosMissing a Javadoc comment.53
InfosMissing a Javadoc comment.55
WarningsMissing a Javadoc comment.134
WarningsExpected @param tag for 'javaEEVersion'.205
WarningsExpected @throws tag for 'EarPluginException'.206
WarningsExpected @throws tag for 'EarPluginException'.228
Warnings'description' hides a field.267
Warnings'description' hides a field.309
Errors'+' should be on a new line.355

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

ViolationMessageLine
WarningsMissing a Javadoc comment.35
WarningsMissing a Javadoc comment.39
WarningsMissing a Javadoc comment.44
WarningsMissing a Javadoc comment.51
WarningsMissing a Javadoc comment.60

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

ViolationMessageLine
WarningsMissing a Javadoc comment.47
WarningsMissing a Javadoc comment.52
WarningsMissing a Javadoc comment.60
WarningsMissing a Javadoc comment.77
WarningsMissing a Javadoc comment.88
WarningsMissing a Javadoc comment.101

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

ViolationMessageLine
WarningsExpected @param tag for 'a'.48
WarningsExpected @param tag for 'defaultLibBundleDir'.48
WarningsExpected @param tag for 'includeInApplicationXml'.48

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

ViolationMessageLine
ErrorsMore than 7 parameters.95
ErrorsLine is longer than 120 characters.96

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

ViolationMessageLine
ErrorsRedundant 'public' modifier.39

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

ViolationMessageLine
WarningsMissing a Javadoc comment.35
WarningsMissing a Javadoc comment.40
WarningsMissing a Javadoc comment.45

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

ViolationMessageLine
InfosMissing a Javadoc comment.34
WarningsMissing a Javadoc comment.36
WarningsMissing a Javadoc comment.40
WarningsMissing a Javadoc comment.45
WarningsMissing a Javadoc comment.57

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

ViolationMessageLine
InfosMissing a Javadoc comment.36
WarningsMissing a Javadoc comment.38
WarningsMissing a Javadoc comment.42
WarningsMissing a Javadoc comment.47
WarningsMissing a Javadoc comment.60
WarningsMissing a Javadoc comment.69

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

ViolationMessageLine
WarningsMissing a Javadoc comment.32
WarningsMissing a Javadoc comment.36

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

ViolationMessageLine
InfosMissing a Javadoc comment.37
InfosMissing a Javadoc comment.39
InfosMissing a Javadoc comment.41
WarningsMissing a Javadoc comment.45
WarningsMissing a Javadoc comment.49
WarningsMissing a Javadoc comment.55
WarningsMissing a Javadoc comment.74
WarningsMissing a Javadoc comment.100
WarningsMissing a Javadoc comment.121

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

ViolationMessageLine
WarningsMissing a Javadoc comment.34
WarningsMissing a Javadoc comment.38
WarningsMissing a Javadoc comment.43

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

ViolationMessageLine
ErrorsLine does not match expected header line of '^/\*\s*$'.3

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

ViolationMessageLine
WarningsMissing a Javadoc comment.48
ErrorsRedundant throws: 'IllegalStateException' is unchecked exception.62
Errors'+' should be on a new line.92
Errors'+' should be on a new line.97

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

ViolationMessageLine
WarningsMissing a Javadoc comment.35

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

ViolationMessageLine
WarningsMissing a Javadoc comment.34

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

ViolationMessageLine
WarningsMissing a Javadoc comment.34

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

ViolationMessageLine
WarningsMissing a Javadoc comment.35

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

ViolationMessageLine
WarningsExpected @param tag for 'artifactTypeMappingService'.49

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

ViolationMessageLine
WarningsMissing a Javadoc comment.53
WarningsMissing a Javadoc comment.60
Warnings'typeMappings' hides a field.126
WarningsExpected @throws tag for 'UnknownArtifactTypeException'.140

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

ViolationMessageLine
InfosMissing a Javadoc comment.44
WarningsExpected an @return tag.61
WarningsExpected @param tag for 'project'.61
WarningsExpected @param tag for 'config'.61
WarningsExpected @throws tag for 'ManifestException'.62
WarningsExpected @throws tag for 'DependencyResolutionRequiredException'.62
WarningsMissing a Javadoc comment.67
WarningsMissing a Javadoc comment.117

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

ViolationMessageLine
WarningsMissing a Javadoc comment.32
WarningsMissing a Javadoc comment.38

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

ViolationMessageLine
ErrorsName 'versionsMap' must match pattern '^[A-Z][A-Z0-9]*(_[A-Z0-9]+)*$'.42
ErrorsName 'OneDotThree' must match pattern '^[A-Z][A-Z0-9]*(_[A-Z0-9]+)*$'.48
ErrorsName 'OneDotFour' must match pattern '^[A-Z][A-Z0-9]*(_[A-Z0-9]+)*$'.53
ErrorsName 'Five' must match pattern '^[A-Z][A-Z0-9]*(_[A-Z0-9]+)*$'.58
ErrorsName 'Six' must match pattern '^[A-Z][A-Z0-9]*(_[A-Z0-9]+)*$'.63
WarningsMissing a Javadoc comment.77
Warnings'version' hides a field.103
Warnings'version' hides a field.114
Warnings'version' hides a field.125
Warnings'version' hides a field.136
Warnings'version' hides a field.148
WarningsMissing a Javadoc comment.169