Checkstyle Results

The following document contains the results of Checkstylerss feed

Summary

Files Infos Infos Warnings Warnings Errors Errors
24 6 106 95

Files

Files Infos Warnings Errors
org/apache/maven/archetype/mojos/AddArchetypeMetadataMojo.java 0 1 1
org/apache/maven/archetype/mojos/CleanMojo.java 0 1 1
org/apache/maven/archetype/mojos/CrawlRepositoryMojo.java 0 1 1
org/apache/maven/archetype/mojos/CreateArchetypeFromProjectMojo.java 0 5 5
org/apache/maven/archetype/mojos/CreateProjectFromArchetypeMojo.java 0 2 6
org/apache/maven/archetype/mojos/IntegrationTestMojo.java 0 1 3
org/apache/maven/archetype/mojos/JarMojo.java 0 1 1
org/apache/maven/archetype/mojos/MavenArchetypeMojo.java 0 2 2
org/apache/maven/archetype/mojos/UpdateLocalCatalogMojo.java 0 1 3
org/apache/maven/archetype/ui/ArchetypeCreationConfigurator.java 1 1 3
org/apache/maven/archetype/ui/ArchetypeCreationQueryer.java 1 32 2
org/apache/maven/archetype/ui/ArchetypeFactory.java 1 13 4
org/apache/maven/archetype/ui/ArchetypeGenerationConfigurator.java 1 1 3
org/apache/maven/archetype/ui/ArchetypeGenerationQueryer.java 0 2 1
org/apache/maven/archetype/ui/ArchetypePrompter.java 0 6 1
org/apache/maven/archetype/ui/ArchetypeSelectionQueryer.java 1 2 2
org/apache/maven/archetype/ui/ArchetypeSelector.java 1 1 2
org/apache/maven/archetype/ui/DefaultArchetypeCreationConfigurator.java 0 3 12
org/apache/maven/archetype/ui/DefaultArchetypeCreationQueryer.java 0 11 1
org/apache/maven/archetype/ui/DefaultArchetypeFactory.java 0 6 16
org/apache/maven/archetype/ui/DefaultArchetypeGenerationConfigurator.java 0 4 17
org/apache/maven/archetype/ui/DefaultArchetypeGenerationQueryer.java 0 2 1
org/apache/maven/archetype/ui/DefaultArchetypeSelectionQueryer.java 0 5 3
org/apache/maven/archetype/ui/DefaultArchetypeSelector.java 0 2 4

Rules

Rules Violations Severity
LeftCurly
  • option: "nl"
0 Errors Error
RightCurly
  • option: "alone"
0 Errors Error
LineLength
  • ignorePattern: "@version|@see|@todo|TODO"
  • max: "120"
29 Errors Error
MemberName 0 Errors Error
JavadocMethod
  • scope: "protected"
101 Warnings Warning
JavadocType
  • scope: "protected"
7 Errors Error
JavadocVariable
  • scope: "protected"
6 Infos Info
ConstantName 0 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"
22 Errors Error
AvoidStarImport 1 Errors Error
IllegalImport 0 Errors Error
RedundantImport 0 Errors Error
UnusedImports 0 Errors Error
FileLength 0 Errors Error
MethodLength 2 Errors Error
ParameterNumber 0 Errors Error
EmptyForIteratorPad
  • option: "space"
0 Errors Error
OperatorWrap 1 Errors Error
ParenPad
  • option: "space"
22 Errors Error
TabCharacter 0 Errors Error
WhitespaceAfter 1 Errors Error
WhitespaceAround 5 Errors Error
ModifierOrder 0 Errors Error
RedundantModifier 2 Errors Error
AvoidNestedBlocks 1 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"
5 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 2 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/archetype/mojos/AddArchetypeMetadataMojo.java

Violation Message Line
Errors Line does not match expected header line of '^package '. 1
Warnings Missing a Javadoc comment. 57

org/apache/maven/archetype/mojos/CleanMojo.java

Violation Message Line
Errors Line does not match expected header line of '^package '. 1
Warnings Missing a Javadoc comment. 46

org/apache/maven/archetype/mojos/CrawlRepositoryMojo.java

Violation Message Line
Errors Line does not match expected header line of '^package '. 1
Warnings Missing a Javadoc comment. 59

org/apache/maven/archetype/mojos/CreateArchetypeFromProjectMojo.java

Violation Message Line
Errors Line does not match expected header line of '^package '. 1
Errors ';' is not followed by whitespace. 157
Warnings Missing a Javadoc comment. 165
Errors '(' is not followed by whitespace. 199
Errors ')' is not preceded with whitespace. 199
Warnings 'archetypeFilteredExtentions' hides a field. 236
Warnings 'propertyFile' hides a field. 236
Warnings 'archetypeLanguages' hides a field. 280
Warnings 'propertyFile' hides a field. 280
Errors 'catch' is not followed by whitespace. 308

org/apache/maven/archetype/mojos/CreateProjectFromArchetypeMojo.java

Violation Message Line
Errors Line does not match expected header line of '^package '. 1
Errors Line is longer than 120 characters. 105
Warnings Missing a Javadoc comment. 161
Errors '(' is not followed by whitespace. 172
Errors ')' is not preceded with whitespace. 172
Errors '(' is not followed by whitespace. 173
Errors ')' is not preceded with whitespace. 173
Warnings 'goals' hides a field. 222

org/apache/maven/archetype/mojos/IntegrationTestMojo.java

Violation Message Line
Errors Line does not match expected header line of '^package '. 1
Warnings Missing a Javadoc comment. 77
Errors Avoid nested blocks. 134
Errors Redundant throws: 'FileNotFoundException' is subclass of 'IOException'. 187

org/apache/maven/archetype/mojos/JarMojo.java

Violation Message Line
Errors Line does not match expected header line of '^package '. 1
Warnings Missing a Javadoc comment. 80

org/apache/maven/archetype/mojos/MavenArchetypeMojo.java

Violation Message Line
Warnings Missing a Javadoc comment. 168
Errors '(' is not followed by whitespace. 234
Errors ')' is not preceded with whitespace. 234
Warnings Missing a Javadoc comment. 254

org/apache/maven/archetype/mojos/UpdateLocalCatalogMojo.java

Violation Message Line
Errors Line does not match expected header line of '^package '. 1
Warnings Missing a Javadoc comment. 81
Errors Line is longer than 120 characters. 104
Errors Line is longer than 120 characters. 124

org/apache/maven/archetype/ui/ArchetypeCreationConfigurator.java

Violation Message Line
Errors Line does not match expected header line of '^package '. 1
Errors Missing a Javadoc comment. 34
Infos Missing a Javadoc comment. 36
Warnings Missing a Javadoc comment. 38
Errors Redundant throws: 'FileNotFoundException' is subclass of 'IOException'. 40

org/apache/maven/archetype/ui/ArchetypeCreationQueryer.java

Violation Message Line
Errors Line does not match expected header line of '^package '. 1
Errors Missing a Javadoc comment. 25
Infos Missing a Javadoc comment. 27
Warnings Expected an @return tag. 31
Warnings Expected @param tag for 'defaultValue'. 31
Warnings Expected @throws tag for 'PrompterException'. 32
Warnings Expected an @return tag. 36
Warnings Expected @param tag for 'defaultValue'. 36
Warnings Expected @throws tag for 'PrompterException'. 37
Warnings Expected an @return tag. 41
Warnings Expected @param tag for 'defaultValue'. 41
Warnings Expected @throws tag for 'PrompterException'. 42
Warnings Expected an @return tag. 46
Warnings Expected @param tag for 'defaultValue'. 46
Warnings Expected @throws tag for 'PrompterException'. 47
Warnings Expected an @return tag. 51
Warnings Expected @throws tag for 'PrompterException'. 52
Warnings Expected an @return tag. 56
Warnings Expected @throws tag for 'PrompterException'. 57
Warnings Expected an @return tag. 61
Warnings Expected @param tag for 'propertyKey'. 61
Warnings Expected @param tag for 'defaultValue'. 61
Warnings Expected @throws tag for 'PrompterException'. 62
Warnings Expected an @return tag. 66
Warnings Expected @param tag for 'archetypeConfiguration'. 66
Warnings Expected @throws tag for 'PrompterException'. 67
Warnings Expected an @return tag. 71
Warnings Expected @param tag for 'defaultValue'. 71
Warnings Expected @throws tag for 'PrompterException'. 72
Warnings Expected an @return tag. 76
Warnings Expected @param tag for 'defaultValue'. 76
Warnings Expected @throws tag for 'PrompterException'. 77
Warnings Expected an @return tag. 81
Warnings Expected @param tag for 'defaultValue'. 81
Warnings Expected @throws tag for 'PrompterException'. 82

org/apache/maven/archetype/ui/ArchetypeFactory.java

Violation Message Line
Errors Line does not match expected header line of '^package '. 1
Errors Missing a Javadoc comment. 28
Infos Missing a Javadoc comment. 30
Warnings Expected an @return tag. 34
Errors Line is longer than 120 characters. 35
Warnings Expected @param tag for 'archetypeDescriptor'. 35
Warnings Expected @param tag for 'properties'. 36
Warnings Expected an @return tag. 40
Errors Line is longer than 120 characters. 41
Warnings Expected @param tag for 'archetypeDescriptor'. 41
Warnings Expected @param tag for 'properties'. 42
Warnings Expected an @return tag. 46
Warnings Expected @param tag for 'project'. 46
Warnings Expected @param tag for 'archetypeDefinition'. 46
Warnings Expected @param tag for 'properties'. 47
Warnings Expected an @return tag. 51
Warnings Expected @param tag for 'properties'. 51
Warnings Missing a Javadoc comment. 53

org/apache/maven/archetype/ui/ArchetypeGenerationConfigurator.java

Violation Message Line
Errors Line does not match expected header line of '^package '. 1
Errors Missing a Javadoc comment. 32
Infos Missing a Javadoc comment. 34
Warnings Missing a Javadoc comment. 36
Errors Redundant 'public' modifier. 36

org/apache/maven/archetype/ui/ArchetypeGenerationQueryer.java

Violation Message Line
Errors Missing a Javadoc comment. 25
Warnings Missing a Javadoc comment. 27
Warnings Missing a Javadoc comment. 30

org/apache/maven/archetype/ui/ArchetypePrompter.java

Violation Message Line
Errors Line does not match expected header line of '^package '. 1
Warnings Missing a Javadoc comment. 34
Warnings Missing a Javadoc comment. 57
Warnings Missing a Javadoc comment. 86
Warnings Missing a Javadoc comment. 135
Warnings Missing a Javadoc comment. 141
Warnings Missing a Javadoc comment. 188

org/apache/maven/archetype/ui/ArchetypeSelectionQueryer.java

Violation Message Line
Errors Line does not match expected header line of '^package '. 1
Infos Missing a Javadoc comment. 33
Warnings Missing a Javadoc comment. 35
Errors Redundant 'public' modifier. 35
Warnings Missing a Javadoc comment. 38

org/apache/maven/archetype/ui/ArchetypeSelector.java

Violation Message Line
Errors Line does not match expected header line of '^package '. 1
Errors Missing a Javadoc comment. 35
Infos Missing a Javadoc comment. 37
Warnings Missing a Javadoc comment. 49

org/apache/maven/archetype/ui/DefaultArchetypeCreationConfigurator.java

Violation Message Line
Errors Line does not match expected header line of '^package '. 1
Warnings Missing a Javadoc comment. 61
Errors Line is longer than 120 characters. 98
Errors Line is longer than 120 characters. 103
Errors Line is longer than 120 characters. 109
Errors '}' is not followed by whitespace. 113
Errors Line is longer than 120 characters. 123
Errors Line is longer than 120 characters. 130
Errors Line is longer than 120 characters. 137
Errors Line is longer than 120 characters. 144
Errors '}' is not followed by whitespace. 147
Errors Line is longer than 120 characters. 165
Errors Line is longer than 120 characters. 260
Warnings Missing a Javadoc comment. 274
Warnings Missing a Javadoc comment. 293

org/apache/maven/archetype/ui/DefaultArchetypeCreationQueryer.java

Violation Message Line
Errors Line does not match expected header line of '^package '. 1
Warnings Missing a Javadoc comment. 38
Warnings Missing a Javadoc comment. 44
Warnings Missing a Javadoc comment. 50
Warnings Missing a Javadoc comment. 56
Warnings Missing a Javadoc comment. 62
Warnings Missing a Javadoc comment. 72
Warnings Missing a Javadoc comment. 82
Warnings Missing a Javadoc comment. 88
Warnings Missing a Javadoc comment. 109
Warnings Missing a Javadoc comment. 115
Warnings Missing a Javadoc comment. 121

org/apache/maven/archetype/ui/DefaultArchetypeFactory.java

Violation Message Line
Errors Line does not match expected header line of '^package '. 1
Warnings Missing a Javadoc comment. 39
Warnings Missing a Javadoc comment. 69
Warnings Missing a Javadoc comment. 134
Errors '(' is not followed by whitespace. 156
Errors ')' is not preceded with whitespace. 156
Errors '(' is not followed by whitespace. 234
Errors '(' is not followed by whitespace. 241
Warnings Missing a Javadoc comment. 259
Errors '(' is not followed by whitespace. 265
Errors ')' is not preceded with whitespace. 265
Errors '(' is not followed by whitespace. 266
Errors ')' is not preceded with whitespace. 266
Errors '(' is not followed by whitespace. 267
Errors ')' is not preceded with whitespace. 267
Errors Line is longer than 120 characters. 327
Errors Line is longer than 120 characters. 332
Errors Line is longer than 120 characters. 337
Warnings Missing a Javadoc comment. 342
Warnings Missing a Javadoc comment. 357
Errors '(' is not followed by whitespace. 365
Errors ')' is not preceded with whitespace. 365

org/apache/maven/archetype/ui/DefaultArchetypeGenerationConfigurator.java

Violation Message Line
Errors Line does not match expected header line of '^package '. 1
Warnings Missing a Javadoc comment. 81
Errors Method length is 227 lines (max allowed is 150). 86
Warnings Missing a Javadoc comment. 86
Errors Line is longer than 120 characters. 192
Errors Line is longer than 120 characters. 198
Errors Line is longer than 120 characters. 199
Errors Line is longer than 120 characters. 200
Errors Line is longer than 120 characters. 201
Errors Line is longer than 120 characters. 208
Errors Line is longer than 120 characters. 209
Errors Line is longer than 120 characters. 210
Errors Line is longer than 120 characters. 211
Errors Line is longer than 120 characters. 266
Errors '(' is not followed by whitespace. 333
Errors ')' is not preceded with whitespace. 333
Errors Missing a Javadoc comment. 356
Warnings Missing a Javadoc comment. 360
Warnings Missing a Javadoc comment. 365
Errors '{' is not followed by whitespace. 380
Errors '{' is not followed by whitespace. 384

org/apache/maven/archetype/ui/DefaultArchetypeGenerationQueryer.java

Violation Message Line
Errors Line does not match expected header line of '^package '. 1
Warnings Missing a Javadoc comment. 37
Warnings Missing a Javadoc comment. 55

org/apache/maven/archetype/ui/DefaultArchetypeSelectionQueryer.java

Violation Message Line
Errors Line does not match expected header line of '^package '. 1
Errors Using the '.*' form of import should be avoided - java.util.*. 29
Warnings Missing a Javadoc comment. 39
Warnings Missing a Javadoc comment. 51
Warnings Missing a Javadoc comment. 79
Warnings Missing a Javadoc comment. 85
Errors '+' should be on a new line. 119
Warnings Missing a Javadoc comment. 280

org/apache/maven/archetype/ui/DefaultArchetypeSelector.java

Violation Message Line
Errors Line does not match expected header line of '^package '. 1
Errors Method length is 193 lines (max allowed is 150). 57
Warnings Missing a Javadoc comment. 57
Errors Line is longer than 120 characters. 117
Errors Line is longer than 120 characters. 118
Warnings Missing a Javadoc comment. 327