Checkstyle Results

The following document contains the results of Checkstylerss feed

Summary

FilesInfos InfosWarnings WarningsErrors Errors
412312722

Files

FilesInfosWarningsErrors
org/apache/maven/plugin/ear/AbstractEarModule.java990
org/apache/maven/plugin/ear/AbstractEarMojo.java360
org/apache/maven/plugin/ear/AbstractXmlWriter.java001
org/apache/maven/plugin/ear/AppClientModule.java040
org/apache/maven/plugin/ear/ApplicationXmlWriter.java001
org/apache/maven/plugin/ear/ApplicationXmlWriterContext.java011
org/apache/maven/plugin/ear/EarExecutionContext.java070
org/apache/maven/plugin/ear/EarModule.java030
org/apache/maven/plugin/ear/EarModuleFactory.java102
org/apache/maven/plugin/ear/EarMojo.java0126
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/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/JbossAppXmlWriter.java001
org/apache/maven/plugin/ear/JbossConfiguration.java002
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.java010
org/apache/maven/plugin/ear/output/FileNameMapping.java010
org/apache/maven/plugin/ear/output/FileNameMappingFactory.java011
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.java076

Rules

RulesViolationsSeverity
FileLength0Errors Error
RegexpHeader
  • headerFile: "target/checkstyle-header.txt"
0Errors Error
FileTabCharacter
  • eachLine: "true"
0Errors Error
LeftCurly
  • option: "nl"
0Errors Error
RightCurly
  • option: "alone"
0Errors Error
LineLength
  • max: "120"
  • ignorePattern: "@version|@see|@todo|TODO"
11Errors Error
MemberName0Errors Error
JavadocMethod
  • scope: "protected"
112Warnings Warning
JavadocType
  • allowUnknownTags: "true"
  • scope: "protected"
0Errors Error
JavadocVariable
  • scope: "protected"
23Infos Info
ConstantName7Errors 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
OperatorWrap0Errors Error
ParenPad
  • option: "space"
0Errors Error
WhitespaceAfter0Errors Error
WhitespaceAround0Errors Error
ModifierOrder0Errors Error
RedundantModifier0Errors Error
AvoidNestedBlocks0Errors Error
EmptyBlock
  • option: "text"
0Errors Error
NeedBraces0Errors Error
DoubleCheckedLocking0Errors Error
EmptyStatement0Errors Error
EqualsHashCode0Errors Error
HiddenField
  • ignoreConstructorParameter: "true"
  • ignoreSetter: "true"
15Warnings 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
RedundantThrows1Errors 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.94
WarningsMissing a Javadoc comment.131
WarningsMissing a Javadoc comment.136
WarningsMissing a Javadoc comment.141
WarningsMissing a Javadoc comment.237
Warnings'artifact' hides a field.276
WarningsMissing a Javadoc comment.287
WarningsMissing a Javadoc comment.363
WarningsMissing a Javadoc comment.368

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

ViolationMessageLine
InfosMissing a Javadoc comment.48
InfosMissing a Javadoc comment.50
InfosMissing a Javadoc comment.52
WarningsMissing a Javadoc comment.147
WarningsMissing a Javadoc comment.253
WarningsMissing a Javadoc comment.262
WarningsMissing a Javadoc comment.267
WarningsMissing a Javadoc comment.272
Warnings'version' hides a field.305

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

ViolationMessageLine
ErrorsLine is longer than 120 characters.59

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/ApplicationXmlWriter.java

ViolationMessageLine
ErrorsLine is longer than 120 characters.240

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

ViolationMessageLine
ErrorsMore than 7 parameters.54
Warnings'applicationId' hides a field.70

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

ViolationMessageLine
WarningsMissing a Javadoc comment.44
WarningsMissing a Javadoc comment.53
WarningsMissing a Javadoc comment.58
WarningsMissing a Javadoc comment.63
WarningsMissing a Javadoc comment.68
Warnings'defaultLibBundleDir' hides a field.73
Warnings'jbossConfiguration' hides a field.74

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

ViolationMessageLine
WarningsMissing a Javadoc comment.107
WarningsMissing a Javadoc comment.109
WarningsMissing a Javadoc comment.111

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.72

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

ViolationMessageLine
ErrorsLine is longer than 120 characters.69
ErrorsMethod length is 172 lines (max allowed is 150).259
WarningsMissing a Javadoc comment.259
ErrorsLine is longer than 120 characters.316
ErrorsLine is longer than 120 characters.398
Warnings'jarArchiver' hides a field.405
WarningsMissing a Javadoc comment.434
WarningsMissing a Javadoc comment.439
WarningsMissing a Javadoc comment.477
WarningsMissing a Javadoc comment.489
WarningsMissing a Javadoc comment.494
WarningsMissing a Javadoc comment.506
WarningsExpected @throws tag for 'NoSuchArchiverException'.583
WarningsExpected @throws tag for 'IOException'.583
WarningsMissing a Javadoc comment.623
ErrorsLine is longer than 120 characters.682
Warnings'manifestFile' hides a field.684
ErrorsLine is longer than 120 characters.688

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.35
WarningsMissing a Javadoc comment.40
WarningsMissing a Javadoc comment.45

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

ViolationMessageLine
WarningsMissing a Javadoc comment.34
WarningsMissing a Javadoc comment.39
WarningsMissing a Javadoc comment.44

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/GenerateApplicationXmlMojo.java

ViolationMessageLine
ErrorsLine is longer than 120 characters.45
InfosMissing a Javadoc comment.50
InfosMissing a Javadoc comment.52
InfosMissing a Javadoc comment.54
WarningsMissing a Javadoc comment.133
WarningsExpected @param tag for 'javaEEVersion'.203
WarningsExpected @throws tag for 'EarPluginException'.204
WarningsExpected @throws tag for 'EarPluginException'.226
Warnings'description' hides a field.264
Warnings'description' hides a field.306

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.45
WarningsMissing a Javadoc comment.50
WarningsMissing a Javadoc comment.58
WarningsMissing a Javadoc comment.75
WarningsMissing a Javadoc comment.86
WarningsMissing a Javadoc comment.99

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

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

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

ViolationMessageLine
ErrorsLine is longer than 120 characters.109

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

ViolationMessageLine
ErrorsMore than 7 parameters.94
ErrorsLine is longer than 120 characters.125

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.99
WarningsMissing a Javadoc comment.119

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
WarningsMissing a Javadoc comment.36

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

ViolationMessageLine
WarningsExpected @param tag for 'useBaseVersion'.38

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

ViolationMessageLine
WarningsMissing a Javadoc comment.48
ErrorsRedundant throws: 'IllegalStateException' is unchecked exception.61

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

ViolationMessageLine
WarningsMissing a Javadoc comment.34

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

ViolationMessageLine
WarningsMissing a Javadoc comment.33

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.34

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.122
WarningsExpected @throws tag for 'UnknownArtifactTypeException'.135

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

ViolationMessageLine
InfosMissing a Javadoc comment.43
WarningsExpected an @return tag.58
WarningsExpected @param tag for 'project'.58
WarningsExpected @param tag for 'config'.58
WarningsExpected @throws tag for 'ManifestException'.59
WarningsExpected @throws tag for 'DependencyResolutionRequiredException'.59
WarningsMissing a Javadoc comment.64
WarningsMissing a Javadoc comment.113

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

ViolationMessageLine
WarningsMissing a Javadoc comment.33
WarningsMissing a Javadoc comment.39

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

ViolationMessageLine
ErrorsName 'versionsMap' must match pattern '^[A-Z][A-Z0-9]*(_[A-Z0-9]+)*$'.44
ErrorsName 'OneDotThree' must match pattern '^[A-Z][A-Z0-9]*(_[A-Z0-9]+)*$'.49
ErrorsName 'OneDotFour' must match pattern '^[A-Z][A-Z0-9]*(_[A-Z0-9]+)*$'.54
ErrorsName 'Five' must match pattern '^[A-Z][A-Z0-9]*(_[A-Z0-9]+)*$'.59
ErrorsName 'Six' must match pattern '^[A-Z][A-Z0-9]*(_[A-Z0-9]+)*$'.64
ErrorsName 'Seven' must match pattern '^[A-Z][A-Z0-9]*(_[A-Z0-9]+)*$'.69
WarningsMissing a Javadoc comment.82
Warnings'version' hides a field.108
Warnings'version' hides a field.119
Warnings'version' hides a field.130
Warnings'version' hides a field.141
Warnings'version' hides a field.152
WarningsMissing a Javadoc comment.173