The following document contains the results of Checkstyle.
Rules | Violations | Severity |
---|---|---|
JavadocPackage
| 0 | Error |
NewlineAtEndOfFile | 2 | Error |
Translation | 0 | Error |
FileLength | 0 | Error |
FileTabCharacter
| 0 | Error |
RegexpSingleline
| 29 | Error |
JavadocMethod | 14 | Error |
JavadocType | 0 | Error |
JavadocVariable | 1 | Error |
JavadocStyle | 7 | Error |
ConstantName | 0 | Error |
LocalFinalVariableName | 0 | Error |
LocalVariableName | 0 | Error |
MemberName | 0 | Error |
MethodName | 0 | Error |
PackageName | 0 | Error |
ParameterName | 0 | Error |
StaticVariableName | 0 | Error |
TypeName | 0 | Error |
AvoidStarImport | 0 | Error |
IllegalImport | 0 | Error |
RedundantImport | 0 | Error |
UnusedImports | 0 | Error |
LineLength | 14 | Error |
MethodLength | 0 | Error |
ParameterNumber | 1 | Error |
EmptyForIteratorPad | 0 | Error |
MethodParamPad | 0 | Error |
NoWhitespaceAfter | 0 | Error |
NoWhitespaceBefore | 0 | Error |
OperatorWrap | 0 | Error |
ParenPad | 1 | Error |
TypecastParenPad | 0 | Error |
WhitespaceAfter | 0 | Error |
WhitespaceAround | 0 | Error |
ModifierOrder | 0 | Error |
RedundantModifier | 1 | Error |
AvoidNestedBlocks | 0 | Error |
EmptyBlock | 1 | Error |
LeftCurly | 0 | Error |
NeedBraces | 0 | Error |
RightCurly | 0 | Error |
AvoidInlineConditionals | 5 | Error |
DoubleCheckedLocking | 0 | Error |
EmptyStatement | 0 | Error |
EqualsHashCode | 0 | Error |
HiddenField | 38 | Error |
IllegalInstantiation | 0 | Error |
InnerAssignment | 0 | Error |
MagicNumber | 0 | Error |
MissingSwitchDefault | 0 | Error |
RedundantThrows | 0 | Error |
SimplifyBooleanExpression | 0 | Error |
SimplifyBooleanReturn | 0 | Error |
DesignForExtension | 97 | Error |
FinalClass | 1 | Error |
HideUtilityClassConstructor | 0 | Error |
InterfaceIsType | 0 | Error |
VisibilityModifier | 0 | Error |
ArrayTypeStyle | 0 | Error |
FinalParameters | 1 | Error |
TodoComment | 0 | Error |
UpperEll | 0 | Error |
Violation | Message | Line |
---|---|---|
Line is longer than 80 characters. | 27 | |
'organisation' hides a field. | 42 | |
'resources' hides a field. | 43 | |
Method 'getName' is not designed for extension - needs to be abstract, final or empty. | 53 | |
Method 'getURL' is not designed for extension - needs to be abstract, final or empty. | 61 | |
Method 'getId' is not designed for extension - needs to be abstract, final or empty. | 69 | |
Line is longer than 80 characters. | 74 | |
Method 'getResources' is not designed for extension - needs to be abstract, final or empty. | 77 | |
Method 'getOrganisation' is not designed for extension - needs to be abstract, final or empty. | 86 | |
Avoid inline conditionals. | 101 | |
Method 'equals' is not designed for extension - needs to be abstract, final or empty. | 113 | |
Method 'compareTo' is not designed for extension - needs to be abstract, final or empty. | 141 | |
Method 'accept' is not designed for extension - needs to be abstract, final or empty. | 149 | |
Method 'toString' is not designed for extension - needs to be abstract, final or empty. | 162 |
Violation | Message | Line |
---|---|---|
File does not end with a newline. | 0 | |
Redundant 'public' modifier. | 30 |
Violation | Message | Line |
---|---|---|
First sentence should end with a period. | 32 | |
First sentence should end with a period. | 40 | |
'primaryLicense' hides a field. | 67 | |
'primaryOrganisationId' hides a field. | 68 | |
'primaryNotice' hides a field. | 69 | |
'licenses' hides a field. | 70 | |
'notices' hides a field. | 71 | |
'organisations' hides a field. | 72 | |
'contents' hides a field. | 73 | |
'(' is followed by whitespace. | 74 | |
More than 7 parameters. | 106 | |
'primaryLicense' hides a field. | 106 | |
'primaryCopyrightNotice' hides a field. | 107 | |
'primaryOrganisationId' hides a field. | 108 | |
'primaryNotice' hides a field. | 109 | |
'licenses' hides a field. | 110 | |
'notices' hides a field. | 111 | |
'organisations' hides a field. | 112 | |
'contents' hides a field. | 113 | |
Method 'getPrimaryCopyrightNotice' is not designed for extension - needs to be abstract, final or empty. | 131 | |
Method 'isPrimaryCopyrightNotice' is not designed for extension - needs to be abstract, final or empty. | 140 | |
Method 'getPrimaryNotice' is not designed for extension - needs to be abstract, final or empty. | 149 | |
Method 'getResourceNotices' is not designed for extension - needs to be abstract, final or empty. | 158 | |
Method 'getOrganisations' is not designed for extension - needs to be abstract, final or empty. | 168 | |
Method 'getOtherNotices' is not designed for extension - needs to be abstract, final or empty. | 177 | |
Method 'license' is not designed for extension - needs to be abstract, final or empty. | 190 | |
Method 'getPrimaryLicense' is not designed for extension - needs to be abstract, final or empty. | 199 | |
Method 'getContents' is not designed for extension - needs to be abstract, final or empty. | 208 | |
Method 'isPrimary' is not designed for extension - needs to be abstract, final or empty. | 219 | |
Method 'isPrimary' is not designed for extension - needs to be abstract, final or empty. | 231 | |
Method 'isOnlyPrimary' is not designed for extension - needs to be abstract, final or empty. | 245 | |
Line is longer than 80 characters. | 246 | |
Line is longer than 80 characters. | 247 | |
Method 'traverse' is not designed for extension - needs to be abstract, final or empty. | 261 | |
Method 'traverseDirectory' is not designed for extension - needs to be abstract, final or empty. | 275 | |
Method 'isNoticeRequired' is not designed for extension - needs to be abstract, final or empty. | 289 | |
Method 'resourceNoticesExist' is not designed for extension - needs to be abstract, final or empty. | 299 | |
Method 'primaryNoticeExists' is not designed for extension - needs to be abstract, final or empty. | 308 | |
Method 'isPrimaryOnly' is not designed for extension - needs to be abstract, final or empty. | 320 | |
Line is longer than 80 characters. | 323 |
Violation | Message | Line |
---|---|---|
Line has trailing spaces. | 17 | |
Line has trailing spaces. | 32 | |
Line has trailing spaces. | 33 | |
First sentence should end with a period. | 44 | |
Line has trailing spaces. | 46 | |
'isSourceRequired' hides a field. | 58 | |
'baseText' hides a field. | 58 | |
'expectedParameters' hides a field. | 59 | |
'id' hides a field. | 59 | |
'url' hides a field. | 60 | |
'name' hides a field. | 60 | |
Method 'isSourceRequired' is not designed for extension - needs to be abstract, final or empty. | 77 | |
Method 'getText' is not designed for extension - needs to be abstract, final or empty. | 87 | |
First sentence should end with a period. | 91 | |
Line has trailing spaces. | 93 | |
Method 'getText' is not designed for extension - needs to be abstract, final or empty. | 99 | |
Line has trailing spaces. | 103 | |
Method 'getExpectedParameters' is not designed for extension - needs to be abstract, final or empty. | 109 | |
Line has trailing spaces. | 143 | |
'expectedParameters' hides a field. | 150 | |
First sentence should end with a period. | 156 | |
Line has trailing spaces. | 157 | |
Line has trailing spaces. | 168 | |
Method 'storeIn' is not designed for extension - needs to be abstract, final or empty. | 188 | |
Method 'getId' is not designed for extension - needs to be abstract, final or empty. | 197 | |
Method 'getURL' is not designed for extension - needs to be abstract, final or empty. | 205 | |
Line has trailing spaces. | 210 | |
Method 'getName' is not designed for extension - needs to be abstract, final or empty. | 214 | |
Expected an @return tag. | 221 | |
Method 'hashCode' is not designed for extension - needs to be abstract, final or empty. | 221 | |
Expected an @return tag. | 229 | |
Method 'equals' is not designed for extension - needs to be abstract, final or empty. | 229 | |
Expected @param tag for 'obj'. | 230 | |
Expected an @return tag. | 247 | |
Method 'compareTo' is not designed for extension - needs to be abstract, final or empty. | 247 | |
Expected @param tag for 'other'. | 247 | |
Avoid inline conditionals. | 249 | |
Method 'toString' is not designed for extension - needs to be abstract, final or empty. | 253 |
Violation | Message | Line |
---|---|---|
Method 'getLicenses' is not designed for extension - needs to be abstract, final or empty. | 37 | |
Method 'getOrganisation' is not designed for extension - needs to be abstract, final or empty. | 45 | |
Method 'traverseResource' is not designed for extension - needs to be abstract, final or empty. | 54 | |
Method 'visit' is not designed for extension - needs to be abstract, final or empty. | 64 | |
Method 'isOnlyLicense' is not designed for extension - needs to be abstract, final or empty. | 75 | |
Method 'visit' is not designed for extension - needs to be abstract, final or empty. | 84 | |
Method 'toString' is not designed for extension - needs to be abstract, final or empty. | 94 | |
Method 'isOnlyOrganisation' is not designed for extension - needs to be abstract, final or empty. | 106 |
Violation | Message | Line |
---|---|---|
File does not end with a newline. | 0 | |
Line has trailing spaces. | 17 | |
Class LicenseTemplateException should be declared as final. | 28 | |
First sentence should end with a period. | 32 | |
Line is longer than 80 characters. | 47 | |
Line is longer than 80 characters. | 50 | |
Line is longer than 80 characters. | 51 | |
Line has trailing spaces. | 82 | |
Line has trailing spaces. | 87 | |
Line is longer than 80 characters. | 93 | |
Unused @param tag for 'parameters'. | 110 | |
Line is longer than 80 characters. | 113 | |
'licenseName' hides a field. | 113 | |
Line has trailing spaces. | 126 |
Violation | Message | Line |
---|---|---|
Method 'visit' is not designed for extension - needs to be abstract, final or empty. | 36 | |
Parameter license should be final. | 37 | |
Method 'isCopyrightNoticePresent' is not designed for extension - needs to be abstract, final or empty. | 51 |
Violation | Message | Line |
---|---|---|
Line has trailing spaces. | 17 | |
Line has trailing spaces. | 29 | |
Line is longer than 80 characters. | 33 | |
Missing a Javadoc comment. | 33 | |
Method 'getNoticeIds' is not designed for extension - needs to be abstract, final or empty. | 38 | |
Method 'visit' is not designed for extension - needs to be abstract, final or empty. | 45 | |
Expected @param tag for 'resource'. | 46 | |
Method 'resourceNotices' is not designed for extension - needs to be abstract, final or empty. | 56 | |
Missing a Javadoc comment. | 56 | |
Line is longer than 80 characters. | 58 | |
Line is longer than 80 characters. | 59 | |
Expected an @return tag. | 76 | |
Method 'notices' is not designed for extension - needs to be abstract, final or empty. | 76 | |
Expected @param tag for 'notices'. | 76 |
Violation | Message | Line |
---|---|---|
Line has trailing spaces. | 17 | |
Line has trailing spaces. | 24 | |
Line has trailing spaces. | 38 | |
Line has trailing spaces. | 39 | |
Line has trailing spaces. | 41 | |
Line has trailing spaces. | 43 | |
'id' hides a field. | 46 | |
'name' hides a field. | 46 | |
'url' hides a field. | 46 | |
Method 'storeIn' is not designed for extension - needs to be abstract, final or empty. | 58 | |
Line has trailing spaces. | 65 | |
Method 'getName' is not designed for extension - needs to be abstract, final or empty. | 69 | |
Line has trailing spaces. | 74 | |
Method 'getURL' is not designed for extension - needs to be abstract, final or empty. | 78 | |
Line has trailing spaces. | 83 | |
Line has trailing spaces. | 84 | |
Method 'getId' is not designed for extension - needs to be abstract, final or empty. | 88 | |
Method 'hashCode' is not designed for extension - needs to be abstract, final or empty. | 92 | |
Avoid inline conditionals. | 96 | |
Method 'equals' is not designed for extension - needs to be abstract, final or empty. | 100 | |
Expected an @return tag. | 125 | |
Method 'compareTo' is not designed for extension - needs to be abstract, final or empty. | 125 | |
Expected @param tag for 'other'. | 125 | |
Avoid inline conditionals. | 127 | |
Method 'toString' is not designed for extension - needs to be abstract, final or empty. | 131 |
Violation | Message | Line |
---|---|---|
'name' hides a field. | 44 | |
'noticeId' hides a field. | 44 | |
'source' hides a field. | 45 | |
Method 'getName' is not designed for extension - needs to be abstract, final or empty. | 57 | |
Method 'getNoticeId' is not designed for extension - needs to be abstract, final or empty. | 66 | |
Method 'hashCode' is not designed for extension - needs to be abstract, final or empty. | 75 | |
Avoid inline conditionals. | 80 | |
Method 'equals' is not designed for extension - needs to be abstract, final or empty. | 90 | |
Method 'toString' is not designed for extension - needs to be abstract, final or empty. | 117 | |
Method 'compareTo' is not designed for extension - needs to be abstract, final or empty. | 128 | |
Expected @param tag for 'other'. | 128 | |
Method 'accept' is not designed for extension - needs to be abstract, final or empty. | 136 | |
Method 'getSource' is not designed for extension - needs to be abstract, final or empty. | 146 | |
Method 'hasSource' is not designed for extension - needs to be abstract, final or empty. | 155 |
Violation | Message | Line |
---|---|---|
Line has trailing spaces. | 34 | |
Line has trailing spaces. | 37 | |
Method 'getNames' is not designed for extension - needs to be abstract, final or empty. | 46 | |
Method 'getDuplicates' is not designed for extension - needs to be abstract, final or empty. | 58 | |
Method 'visit' is not designed for extension - needs to be abstract, final or empty. | 67 | |
Method 'visit' is not designed for extension - needs to be abstract, final or empty. | 77 | |
Must have at least one statement. | 81 |
Violation | Message | Line |
---|---|---|
Method 'traversePublicDomain' is not designed for extension - needs to be abstract, final or empty. | 32 | |
Method 'traverseWithLicense' is not designed for extension - needs to be abstract, final or empty. | 44 | |
Method 'traverseByOrganisation' is not designed for extension - needs to be abstract, final or empty. | 55 | |
Method 'traverseResource' is not designed for extension - needs to be abstract, final or empty. | 66 |
Violation | Message | Line |
---|---|---|
'license' hides a field. | 50 | |
'copyrightNotice' hides a field. | 50 | |
'parameters' hides a field. | 51 | |
'organisations' hides a field. | 52 | |
Method 'getCopyrightNotice' is not designed for extension - needs to be abstract, final or empty. | 65 | |
Method 'hasCopyrightNotice' is not designed for extension - needs to be abstract, final or empty. | 76 | |
Method 'getName' is not designed for extension - needs to be abstract, final or empty. | 85 | |
Method 'getURL' is not designed for extension - needs to be abstract, final or empty. | 94 | |
Method 'getLicense' is not designed for extension - needs to be abstract, final or empty. | 103 | |
Method 'getText' is not designed for extension - needs to be abstract, final or empty. | 115 | |
Method 'getOrganisations' is not designed for extension - needs to be abstract, final or empty. | 123 | |
Method 'getParameters' is not designed for extension - needs to be abstract, final or empty. | 132 | |
Method 'compareTo' is not designed for extension - needs to be abstract, final or empty. | 142 | |
Method 'accept' is not designed for extension - needs to be abstract, final or empty. | 150 | |
Method 'isSourceRequired' is not designed for extension - needs to be abstract, final or empty. | 166 |
Violation | Message | Line |
---|---|---|
Line is longer than 80 characters. | 27 | |
First sentence should end with a period. | 36 | |
'name' hides a field. | 44 | |
'licenses' hides a field. | 45 | |
'publicDomain' hides a field. | 46 | |
Method 'getPublicDomain' is not designed for extension - needs to be abstract, final or empty. | 58 | |
Method 'getName' is not designed for extension - needs to be abstract, final or empty. | 66 | |
Method 'getLicenses' is not designed for extension - needs to be abstract, final or empty. | 75 | |
Method 'hashCode' is not designed for extension - needs to be abstract, final or empty. | 84 | |
Method 'equals' is not designed for extension - needs to be abstract, final or empty. | 96 | |
Method 'compareTo' is not designed for extension - needs to be abstract, final or empty. | 116 | |
Expected @param tag for 'other'. | 116 | |
Method 'isNamed' is not designed for extension - needs to be abstract, final or empty. | 126 | |
Method 'accept' is not designed for extension - needs to be abstract, final or empty. | 134 |