Checkstyle Results

The following document contains the results of Checkstylerss feed

Summary

FilesInfos InfosWarnings WarningsErrors Errors
30082211

Files

FilesInfosWarningsErrors
org/apache/maven/plugins/enforcer/AbstractBanDependencies.java022
org/apache/maven/plugins/enforcer/AbstractNonCacheableEnforcerRule.java030
org/apache/maven/plugins/enforcer/AbstractRequireFiles.java016
org/apache/maven/plugins/enforcer/AbstractStandardEnforcerRule.java001
org/apache/maven/plugins/enforcer/AbstractVersionEnforcer.java044
org/apache/maven/plugins/enforcer/BannedDependencies.java015
org/apache/maven/plugins/enforcer/BannedPlugins.java020
org/apache/maven/plugins/enforcer/DefaultEnforcementRuleHelper.java090
org/apache/maven/plugins/enforcer/DependencyConvergence.java062
org/apache/maven/plugins/enforcer/EvaluateBeanshell.java012
org/apache/maven/plugins/enforcer/RequireActiveProfile.java012
org/apache/maven/plugins/enforcer/RequireFilesDontExist.java001
org/apache/maven/plugins/enforcer/RequireFilesExist.java001
org/apache/maven/plugins/enforcer/RequireFilesSize.java037
org/apache/maven/plugins/enforcer/RequireJavaVersion.java013
org/apache/maven/plugins/enforcer/RequireMavenVersion.java010
org/apache/maven/plugins/enforcer/RequireNoRepositories.java016
org/apache/maven/plugins/enforcer/RequireOS.java0414
org/apache/maven/plugins/enforcer/RequirePluginVersions.java01425
org/apache/maven/plugins/enforcer/RequireProperty.java004
org/apache/maven/plugins/enforcer/RequireReleaseDeps.java075
org/apache/maven/plugins/enforcer/RequireReleaseVersion.java031
org/apache/maven/plugins/enforcer/RequireUpperBoundDeps.java01110
org/apache/maven/plugins/enforcer/utils/DependencyVersionMap.java063
org/apache/maven/plugins/enforcer/utils/EnforcerRuleUtils.java006
org/apache/maven/plugins/enforcer/utils/PluginWrapper.java0111

Rules

RulesViolationsSeverity
FileLength0Errors Error
RegexpHeader
  • headerFile: "target/checkstyle-header.txt"
3Errors Error
FileTabCharacter
  • eachLine: "true"
12Errors Error
LeftCurly
  • option: "nl"
21Errors Error
RightCurly
  • option: "alone"
1Errors Error
LineLength
  • max: "120"
  • ignorePattern: "@version|@see|@todo|TODO"
14Errors Error
MemberName0Errors Error
JavadocMethod
  • scope: "protected"
82Warnings Warning
JavadocType
  • scope: "protected"
2Errors Error
JavadocVariable
  • scope: "protected"
0Infos Info
ConstantName1Errors Error
LocalFinalVariableName0Errors Error
LocalVariableName2Errors Error
MethodName0Errors Error
PackageName0Errors Error
ParameterName0Errors Error
StaticVariableName0Errors Error
TypeName0Errors Error
AvoidStarImport0Errors Error
IllegalImport0Errors Error
RedundantImport0Errors Error
UnusedImports1Errors Error
MethodLength1Errors Error
ParameterNumber0Errors Error
EmptyForIteratorPad
  • option: "space"
0Errors Error
OperatorWrap12Errors Error
ParenPad
  • option: "space"
98Errors Error
WhitespaceAfter1Errors Error
WhitespaceAround1Errors Error
ModifierOrder1Errors Error
RedundantModifier0Errors Error
AvoidNestedBlocks0Errors Error
EmptyBlock
  • option: "text"
2Errors Error
NeedBraces0Errors Error
DoubleCheckedLocking0Errors Error
EmptyStatement0Errors Error
EqualsHashCode0Errors Error
HiddenField
  • ignoreConstructorParameter: "true"
  • ignoreSetter: "true"
0Warnings 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"
3Errors Error
MissingSwitchDefault0Errors Error
RedundantThrows0Errors Error
SimplifyBooleanExpression0Errors Error
SimplifyBooleanReturn0Errors Error
InterfaceIsType0Errors Error
VisibilityModifier
  • packageAllowed: "true"
  • protectedAllowed: "true"
35Errors Error
UpperEll0Errors Error

Details

org/apache/maven/plugins/enforcer/AbstractBanDependencies.java

ViolationMessageLine
Errors'+' is not preceded with whitespace.86
WarningsMissing a Javadoc comment.93
WarningsMissing a Javadoc comment.98
Errors'protected' modifier out of order with the JLS suggestions.120

org/apache/maven/plugins/enforcer/AbstractNonCacheableEnforcerRule.java

ViolationMessageLine
WarningsMissing a Javadoc comment.40
WarningsMissing a Javadoc comment.50
WarningsMissing a Javadoc comment.60

org/apache/maven/plugins/enforcer/AbstractRequireFiles.java

ViolationMessageLine
WarningsMissing a Javadoc comment.67
ErrorsLine contains a tab character.72
ErrorsLine contains a tab character.74
ErrorsLine contains a tab character.80
ErrorsLine contains a tab character.82
ErrorsLine contains a tab character.83
Errors'31' is a magic number.146

org/apache/maven/plugins/enforcer/AbstractStandardEnforcerRule.java

ViolationMessageLine
ErrorsVariable 'message' must be private and have accessor methods.32

org/apache/maven/plugins/enforcer/AbstractVersionEnforcer.java

ViolationMessageLine
ErrorsUnused import - org.apache.maven.plugin.MojoExecutionException.30
ErrorsVariable 'version' must be private and have accessor methods.54
WarningsUnused @throws tag for 'MojoExecutionException'.63
ErrorsLine is longer than 120 characters.66
Errors'+' should be on a new line.106
WarningsMissing a Javadoc comment.152
WarningsMissing a Javadoc comment.171
WarningsMissing a Javadoc comment.182

org/apache/maven/plugins/enforcer/BannedDependencies.java

ViolationMessageLine
ErrorsLine is longer than 120 characters.46
ErrorsVariable 'excludes' must be private and have accessor methods.50
ErrorsLine is longer than 120 characters.53
ErrorsVariable 'includes' must be private and have accessor methods.59
WarningsMissing a Javadoc comment.66
ErrorsLine is longer than 120 characters.166

org/apache/maven/plugins/enforcer/BannedPlugins.java

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

org/apache/maven/plugins/enforcer/DefaultEnforcementRuleHelper.java

ViolationMessageLine
WarningsMissing a Javadoc comment.86
WarningsMissing a Javadoc comment.96
WarningsMissing a Javadoc comment.106
WarningsMissing a Javadoc comment.117
WarningsMissing a Javadoc comment.128
WarningsMissing a Javadoc comment.139
WarningsMissing a Javadoc comment.150
WarningsMissing a Javadoc comment.161
WarningsMissing a Javadoc comment.172

org/apache/maven/plugins/enforcer/DependencyConvergence.java

ViolationMessageLine
ErrorsLine does not match expected header line of '^\s*$'.21
WarningsMissing a Javadoc comment.57
ErrorsLine is longer than 120 characters.64
WarningsMissing a Javadoc comment.105
WarningsExpected an @return tag.204
WarningsExpected an @return tag.214
WarningsExpected an @return tag.225
WarningsExpected @param tag for 'arg0'.225

org/apache/maven/plugins/enforcer/EvaluateBeanshell.java

ViolationMessageLine
ErrorsName 'bsh' must match pattern '^[A-Z][A-Z0-9]*(_[A-Z0-9]+)*$'.41
ErrorsVariable 'condition' must be private and have accessor methods.44
WarningsMissing a Javadoc comment.51

org/apache/maven/plugins/enforcer/RequireActiveProfile.java

ViolationMessageLine
ErrorsVariable 'profiles' must be private and have accessor methods.43
ErrorsVariable 'all' must be private and have accessor methods.46
WarningsMissing a Javadoc comment.53

org/apache/maven/plugins/enforcer/RequireFilesDontExist.java

ViolationMessageLine
ErrorsLine contains a tab character.38

org/apache/maven/plugins/enforcer/RequireFilesExist.java

ViolationMessageLine
ErrorsLine contains a tab character.38

org/apache/maven/plugins/enforcer/RequireFilesSize.java

ViolationMessageLine
Errors'10000' is a magic number.42
WarningsMissing a Javadoc comment.58
WarningsMissing a Javadoc comment.91
WarningsMissing a Javadoc comment.101
Errors'(' is not followed by whitespace.111
Errors')' is not preceded with whitespace.111
Errors'+' should be on a new line.134
Errors'+' should be on a new line.135
Errors'+' should be on a new line.136
Errors'+' should be on a new line.137

org/apache/maven/plugins/enforcer/RequireJavaVersion.java

ViolationMessageLine
WarningsMissing a Javadoc comment.49
ErrorsName 'java_version' must match pattern '^[a-z][a-zA-Z0-9]*$'.52
Errors'+' should be on a new line.61
Errors'+' should be on a new line.62

org/apache/maven/plugins/enforcer/RequireMavenVersion.java

ViolationMessageLine
WarningsMissing a Javadoc comment.43

org/apache/maven/plugins/enforcer/RequireNoRepositories.java

ViolationMessageLine
ErrorsVariable 'banRepositories' must be private and have accessor methods.52
ErrorsVariable 'banPluginRepositories' must be private and have accessor methods.57
ErrorsVariable 'allowedRepositories' must be private and have accessor methods.62
ErrorsVariable 'allowedPluginRepositories' must be private and have accessor methods.67
ErrorsVariable 'allowSnapshotRepositories' must be private and have accessor methods.72
ErrorsVariable 'allowSnapshotPluginRepositories' must be private and have accessor methods.77
WarningsMissing a Javadoc comment.84

org/apache/maven/plugins/enforcer/RequireOS.java

ViolationMessageLine
ErrorsVariable 'family' must be private and have accessor methods.62
ErrorsVariable 'name' must be private and have accessor methods.65
ErrorsVariable 'version' must be private and have accessor methods.68
ErrorsVariable 'arch' must be private and have accessor methods.71
ErrorsVariable 'message' must be private and have accessor methods.74
ErrorsVariable 'display' must be private and have accessor methods.77
WarningsMissing a Javadoc comment.92
ErrorsLine is longer than 120 characters.100
Errors'+' should be on a new line.110
Errors'+' should be on a new line.111
Errors'+' should be on a new line.112
ErrorsLine is longer than 120 characters.113
Errors'50' is a magic number.120
Errors'+' should be on a new line.141
ErrorsLine is longer than 120 characters.174
WarningsMissing a Javadoc comment.333
WarningsMissing a Javadoc comment.361
WarningsMissing a Javadoc comment.372

org/apache/maven/plugins/enforcer/RequirePluginVersions.java

ViolationMessageLine
ErrorsVariable 'banLatest' must be private and have accessor methods.87
ErrorsVariable 'banRelease' must be private and have accessor methods.90
ErrorsVariable 'banSnapshots' must be private and have accessor methods.93
ErrorsVariable 'banTimestamps' must be private and have accessor methods.96
ErrorsVariable 'phases' must be private and have accessor methods.102
ErrorsVariable 'additionalPlugins' must be private and have accessor methods.109
ErrorsVariable 'unCheckedPlugins' must be private and have accessor methods.116
ErrorsVariable 'unCheckedPluginList' must be private and have accessor methods.123
ErrorsMethod length is 177 lines (max allowed is 150).160
WarningsMissing a Javadoc comment.160
Errors'(' is not followed by whitespace.177
Errors')' is not preceded with whitespace.177
Errors'(' is not followed by whitespace.179
Errors')' is not preceded with whitespace.179
Errors'cast' is not followed by whitespace.180
Errors'(' is not followed by whitespace.180
Errors')' is not preceded with whitespace.180
ErrorsLine is longer than 120 characters.206
WarningsExpected an @return tag.348
WarningsExpected @param tag for 'uncheckedPlugins'.348
WarningsExpected @param tag for 'plugins'.348
WarningsExpected @throws tag for 'MojoExecutionException'.349
WarningsExpected an @return tag.369
WarningsExpected @param tag for 'uncheckedPlugins'.369
WarningsExpected @param tag for 'uncheckedPluginsList'.369
Errors'(' is not followed by whitespace.379
Errors')' is not preceded with whitespace.379
WarningsExpected an @return tag.429
WarningsExpected @param tag for 'pluginString'.429
WarningsExpected @param tag for 'field'.429
WarningsExpected @throws tag for 'MojoExecutionException'.430
ErrorsEmpty catch block.535
ErrorsEmpty catch block.538
Errors'(' is not followed by whitespace.1020
Errors')' is not preceded with whitespace.1020
ErrorsLine is longer than 120 characters.1036
ErrorsLine is longer than 120 characters.1046
WarningsMissing a Javadoc comment.1225
WarningsMissing a Javadoc comment.1230

org/apache/maven/plugins/enforcer/RequireProperty.java

ViolationMessageLine
ErrorsVariable 'property' must be private and have accessor methods.36
ErrorsVariable 'regex' must be private and have accessor methods.39
ErrorsVariable 'regexMessage' must be private and have accessor methods.42
Errors'+' should be on a new line.78

org/apache/maven/plugins/enforcer/RequireReleaseDeps.java

ViolationMessageLine
ErrorsVariable 'onlyWhenRelease' must be private and have accessor methods.52
ErrorsVariable 'failWhenParentIsSnapshot' must be private and have accessor methods.59
ErrorsVariable 'excludes' must be private and have accessor methods.65
ErrorsVariable 'includes' must be private and have accessor methods.71
WarningsExpected @param tag for 'helper'.76
WarningsExpected @throws tag for 'EnforcerRuleException'.77
ErrorsName 'DependencyIter' must match pattern '^[a-z][a-zA-Z0-9]*$'.144
WarningsMissing a Javadoc comment.165
WarningsMissing a Javadoc comment.195
WarningsMissing a Javadoc comment.200
WarningsMissing a Javadoc comment.205
WarningsMissing a Javadoc comment.210

org/apache/maven/plugins/enforcer/RequireReleaseVersion.java

ViolationMessageLine
ErrorsVariable 'failWhenParentIsSnapshot' must be private and have accessor methods.42
WarningsMissing a Javadoc comment.49
WarningsMissing a Javadoc comment.94
WarningsMissing a Javadoc comment.99

org/apache/maven/plugins/enforcer/RequireUpperBoundDeps.java

ViolationMessageLine
ErrorsLine does not match expected header line of '^\s*$'.21
ErrorsLine is longer than 120 characters.60
WarningsMissing a Javadoc comment.101
Errors'(' is not followed by whitespace.138
Errors')' is not preceded with whitespace.138
Errors'(' is not followed by whitespace.141
Errors'(' is not followed by whitespace.141
Errors')' is not preceded with whitespace.141
Errors')' is not preceded with whitespace.141
Errors'(' is not followed by whitespace.146
Errors')' is not preceded with whitespace.146
Errors'{' should be on a new line.146
Errors'(' is not followed by whitespace.148
Errors'(' is not followed by whitespace.149
Errors'(' is not followed by whitespace.149
Errors')' is not preceded with whitespace.149
Errors')' is not preceded with whitespace.149
Errors')' is not preceded with whitespace.150
Errors'(' is not followed by whitespace.153
Errors'(' is not followed by whitespace.153
Errors'(' is not followed by whitespace.153
Errors')' is not preceded with whitespace.153
Errors')' is not preceded with whitespace.153
Errors')' is not preceded with whitespace.153
Errors'{' should be on a new line.155
Errors'(' is not followed by whitespace.156
Errors')' is not preceded with whitespace.156
Errors'(' is not followed by whitespace.157
Errors'(' is not followed by whitespace.157
Errors')' is not preceded with whitespace.157
Errors')' is not preceded with whitespace.157
Errors'(' is not followed by whitespace.179
Errors')' is not preceded with whitespace.179
Errors'(' is not followed by whitespace.179
Errors'(' is not followed by whitespace.179
Errors')' is not preceded with whitespace.179
Errors')' is not preceded with whitespace.179
Errors'(' is not followed by whitespace.185
Errors')' is not preceded with whitespace.185
Errors'{' should be on a new line.190
Errors'(' is not followed by whitespace.195
Errors')' is not preceded with whitespace.195
Errors'{' should be on a new line.195
Errors'(' is not followed by whitespace.196
Errors')' is not preceded with whitespace.196
Errors'(' is not followed by whitespace.198
Errors')' is not preceded with whitespace.198
Errors'(' is not followed by whitespace.199
Errors')' is not preceded with whitespace.199
Errors'{' should be on a new line.199
Errors'(' is not followed by whitespace.201
Errors')' is not preceded with whitespace.201
Errors'(' is not followed by whitespace.203
Errors')' is not preceded with whitespace.203
Errors'(' is not followed by whitespace.204
Errors')' is not preceded with whitespace.204
Errors'(' is not followed by whitespace.208
Errors')' is not preceded with whitespace.208
Errors'{' should be on a new line.208
Errors'(' is not followed by whitespace.219
Errors')' is not preceded with whitespace.219
Errors'(' is not followed by whitespace.220
Errors')' is not preceded with whitespace.220
Errors'{' should be on a new line.220
Errors'(' is not followed by whitespace.223
Errors')' is not preceded with whitespace.223
Errors'(' is not followed by whitespace.229
Errors')' is not preceded with whitespace.229
Errors'{' should be on a new line.229
Errors'(' is not followed by whitespace.230
Errors')' is not preceded with whitespace.230
Errors'(' is not followed by whitespace.231
Errors')' is not preceded with whitespace.231
Errors'{' should be on a new line.231
Errors'(' is not followed by whitespace.233
Errors'(' is not followed by whitespace.233
Errors')' is not preceded with whitespace.233
Errors')' is not preceded with whitespace.233
Errors'{' should be on a new line.233
Errors'{' should be on a new line.242
Errors'(' is not followed by whitespace.247
Errors')' is not preceded with whitespace.247
Errors'{' should be on a new line.247
Errors'{' should be on a new line.252
Errors'(' is not followed by whitespace.255
Errors')' is not preceded with whitespace.255
Errors'{' should be on a new line.255
Errors'{' should be on a new line.267
Errors'{' should be on a new line.271
Errors'(' is not followed by whitespace.274
Errors')' is not preceded with whitespace.274
Errors'{' should be on a new line.274
Errors'(' is not followed by whitespace.275
Errors')' is not preceded with whitespace.275
Errors'{' should be on a new line.277
Errors'}' should be alone on a line.279
Errors'(' is not followed by whitespace.279
Errors')' is not preceded with whitespace.279
Errors'{' should be on a new line.279
Errors'(' is not followed by whitespace.280
Errors')' is not preceded with whitespace.280
Errors'{' should be on a new line.284
Errors'(' is not followed by whitespace.288
Errors')' is not preceded with whitespace.288
Errors'{' should be on a new line.288
Errors'(' is not followed by whitespace.289
Errors')' is not preceded with whitespace.289
Errors'(' is not followed by whitespace.289
Errors'(' is not followed by whitespace.289
Errors')' is not preceded with whitespace.289
Errors')' is not preceded with whitespace.289

org/apache/maven/plugins/enforcer/utils/DependencyVersionMap.java

ViolationMessageLine
ErrorsLine does not match expected header line of '^\s*$'.21
ErrorsMissing a Javadoc comment.32
WarningsMissing a Javadoc comment.41
WarningsMissing a Javadoc comment.47
WarningsMissing a Javadoc comment.52
WarningsMissing a Javadoc comment.58
WarningsMissing a Javadoc comment.73
ErrorsLine is longer than 120 characters.87
WarningsMissing a Javadoc comment.121

org/apache/maven/plugins/enforcer/utils/EnforcerRuleUtils.java

ViolationMessageLine
ErrorsLine contains a tab character.105
ErrorsLine contains a tab character.106
ErrorsLine contains a tab character.108
ErrorsLine is longer than 120 characters.260
ErrorsLine contains a tab character.296
ErrorsLine contains a tab character.306

org/apache/maven/plugins/enforcer/utils/PluginWrapper.java

ViolationMessageLine
ErrorsMissing a Javadoc comment.29
WarningsMissing a Javadoc comment.39
WarningsMissing a Javadoc comment.67
WarningsMissing a Javadoc comment.75
WarningsMissing a Javadoc comment.83
WarningsMissing a Javadoc comment.88
WarningsMissing a Javadoc comment.93
WarningsMissing a Javadoc comment.98
WarningsMissing a Javadoc comment.103
WarningsMissing a Javadoc comment.108
WarningsMissing a Javadoc comment.113
WarningsMissing a Javadoc comment.118