The following document contains the results of Checkstyle 5.7.
Category | Rule | Violations | Severity |
---|---|---|---|
blocks | NeedBraces | 9 | Error |
coding | HiddenField | 5 | Error |
MagicNumber | 23 | Error | |
design | DesignForExtension | 2 | Error |
HideUtilityClassConstructor | 6 | Error | |
VisibilityModifier | 1 | Error | |
javadoc | JavadocMethod | 23 | Error |
JavadocPackage
|
5 | Error | |
JavadocType | 15 | Error | |
JavadocVariable | 12 | Error | |
misc | FinalParameters | 40 | Error |
NewlineAtEndOfFile | 4 | Error | |
naming | LocalFinalVariableName | 1 | Error |
regexp | RegexpSingleline
|
5 | Error |
sizes | LineLength | 35 | Error |
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
Error | misc | NewlineAtEndOfFile | File does not end with a newline. | |
Error | extension | TreeWalker | Got an exception - expecting EOF, found '}' | 99 |
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
Error | javadoc | JavadocType | Missing a Javadoc comment. | 3 |
Error | design | HideUtilityClassConstructor | Utility classes should not have a public or default constructor. | 3 |
Error | javadoc | JavadocMethod | Missing a Javadoc comment. | 5 |
Error | misc | FinalParameters | Parameter args should be final. | 5 |
Error | sizes | LineLength | Line is longer than 80 characters (found 88). | 6 |
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
Error | javadoc | JavadocType | Missing a Javadoc comment. | 3 |
Error | design | HideUtilityClassConstructor | Utility classes should not have a public or default constructor. | 3 |
Error | javadoc | JavadocMethod | Missing a Javadoc comment. | 5 |
Error | misc | FinalParameters | Parameter args should be final. | 5 |
Error | sizes | LineLength | Line is longer than 80 characters (found 85). | 10 |
Error | coding | MagicNumber | '10000' is a magic number. | 10 |
Error | sizes | LineLength | Line is longer than 80 characters (found 81). | 11 |
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
Error | javadoc | JavadocType | Missing a Javadoc comment. | 11 |
Error | design | HideUtilityClassConstructor | Utility classes should not have a public or default constructor. | 11 |
Error | sizes | LineLength | Line is longer than 80 characters (found 86). | 13 |
Error | javadoc | JavadocMethod | Missing a Javadoc comment. | 13 |
Error | misc | FinalParameters | Parameter defaultX1 should be final. | 13 |
Error | misc | FinalParameters | Parameter defaultX2 should be final. | 13 |
Error | sizes | LineLength | Line is longer than 80 characters (found 83). | 14 |
Error | misc | FinalParameters | Parameter defaultY1 should be final. | 14 |
Error | misc | FinalParameters | Parameter defaultY2 should be final. | 14 |
Error | misc | FinalParameters | Parameter window should be final. | 14 |
Error | misc | FinalParameters | Parameter animator should be final. | 14 |
Error | misc | FinalParameters | Parameter e should be final. | 23 |
Error | sizes | LineLength | Line is longer than 80 characters (found 82). | 32 |
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
Error | javadoc | JavadocType | Missing a Javadoc comment. | 22 |
Error | design | HideUtilityClassConstructor | Utility classes should not have a public or default constructor. | 22 |
Error | javadoc | JavadocMethod | Missing a Javadoc comment. | 24 |
Error | misc | FinalParameters | Parameter args should be final. | 24 |
Error | coding | MagicNumber | '90' is a magic number. | 29 |
Error | coding | MagicNumber | '175' is a magic number. | 30 |
Error | coding | MagicNumber | '-50' is a magic number. | 31 |
Error | sizes | LineLength | Line is longer than 80 characters (found 119). | 33 |
Error | sizes | LineLength | Line is longer than 80 characters (found 81). | 35 |
Error | coding | MagicNumber | '800' is a magic number. | 37 |
Error | regexp | RegexpSingleline | Line has trailing spaces. | 47 |
Error | regexp | RegexpSingleline | Line has trailing spaces. | 52 |
Error | sizes | LineLength | Line is longer than 80 characters (found 88). | 54 |
Error | coding | MagicNumber | '-35.2809' is a magic number. | 58 |
Error | coding | MagicNumber | '149.1300' is a magic number. | 58 |
Error | coding | MagicNumber | '5' is a magic number. | 60 |
Error | regexp | RegexpSingleline | Line has trailing spaces. | 61 |
Error | javadoc | JavadocMethod | Missing a Javadoc comment. | 66 |
Error | misc | FinalParameters | Parameter imageBounds should be final. | 66 |
Error | sizes | LineLength | Line is longer than 80 characters (found 113). | 67 |
Error | sizes | LineLength | Line is longer than 80 characters (found 95). | 69 |
Error | sizes | LineLength | Line is longer than 80 characters (found 98). | 74 |
Error | javadoc | JavadocMethod | Missing a Javadoc comment. | 74 |
Error | misc | FinalParameters | Parameter worldToScreen should be final. | 74 |
Error | misc | FinalParameters | Parameter lat should be final. | 74 |
Error | misc | FinalParameters | Parameter lon should be final. | 74 |
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
Error | javadoc | JavadocType | Missing a Javadoc comment. | 33 |
Error | design | HideUtilityClassConstructor | Utility classes should not have a public or default constructor. | 33 |
Error | javadoc | JavadocVariable | Missing a Javadoc comment. | 35 |
Error | javadoc | JavadocVariable | Missing a Javadoc comment. | 36 |
Error | javadoc | JavadocMethod | Missing a Javadoc comment. | 38 |
Error | javadoc | JavadocMethod | Missing a Javadoc comment. | 48 |
Error | sizes | LineLength | Line is longer than 80 characters (found 91). | 51 |
Error | sizes | LineLength | Line is longer than 80 characters (found 91). | 57 |
Error | coding | MagicNumber | '242' is a magic number. | 57 |
Error | coding | MagicNumber | '237' is a magic number. | 57 |
Error | coding | MagicNumber | '206' is a magic number. | 57 |
Error | javadoc | JavadocMethod | Missing a Javadoc comment. | 65 |
Error | naming | LocalFinalVariableName | Name 'TYPE' must match pattern '^[a-z][a-zA-Z0-9]*$'. | 71 |
Error | sizes | LineLength | Line is longer than 80 characters (found 82). | 74 |
Error | sizes | LineLength | Line is longer than 80 characters (found 85). | 79 |
Error | sizes | LineLength | Line is longer than 80 characters (found 85). | 82 |
Error | coding | MagicNumber | '0.3f' is a magic number. | 82 |
Error | coding | MagicNumber | '10' is a magic number. | 82 |
Error | javadoc | JavadocMethod | Missing a Javadoc comment. | 87 |
Error | misc | FinalParameters | Parameter map should be final. | 87 |
Error | sizes | LineLength | Line is longer than 80 characters (found 84). | 92 |
Error | sizes | LineLength | Line is longer than 80 characters (found 91). | 98 |
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
Error | misc | NewlineAtEndOfFile | File does not end with a newline. | |
Error | javadoc | JavadocType | Missing a Javadoc comment. | 8 |
Error | javadoc | JavadocMethod | Missing a Javadoc comment. | 10 |
Error | regexp | RegexpSingleline | Line has trailing spaces. | 14 |
Error | javadoc | JavadocMethod | Expected an @return tag. | 17 |
Error | javadoc | JavadocMethod | Missing a Javadoc comment. | 19 |
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
Error | extension | TreeWalker | Got an exception - expecting EOF, found '}' | 38 |
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
Error | extension | TreeWalker | Got an exception - expecting EOF, found '}' | 47 |
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
Error | extension | TreeWalker | Got an exception - expecting EOF, found '}' | 33 |
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
Error | misc | NewlineAtEndOfFile | File does not end with a newline. | |
Error | javadoc | JavadocType | Missing a Javadoc comment. | 6 |
Error | javadoc | JavadocMethod | Missing a Javadoc comment. | 8 |
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
Error | javadoc | JavadocPackage | Missing package-info.java file. | |
Error | javadoc | JavadocType | Missing a Javadoc comment. | 18 |
Error | javadoc | JavadocVariable | Missing a Javadoc comment. | 20 |
Error | design | VisibilityModifier | Variable 'options' must be private and have accessor methods. | 20 |
Error | javadoc | JavadocMethod | Missing a Javadoc comment. | 22 |
Error | misc | FinalParameters | Parameter options should be final. | 22 |
Error | coding | HiddenField | 'options' hides a field. | 22 |
Error | design | DesignForExtension | Method 'draw' is not designed for extension - needs to be abstract, final or empty. | 26 |
Error | misc | FinalParameters | Parameter model should be final. | 27 |
Error | misc | FinalParameters | Parameter g should be final. | 27 |
Error | misc | FinalParameters | Parameter worldToScreen should be final. | 27 |
Error | blocks | NeedBraces | 'if' construct must use '{}'s. | 28 |
Error | coding | MagicNumber | '20' is a magic number. | 31 |
Error | blocks | NeedBraces | 'if' construct must use '{}'s. | 33 |
Error | coding | MagicNumber | '-35.25f' is a magic number. | 39 |
Error | coding | MagicNumber | '149.0f' is a magic number. | 39 |
Error | coding | MagicNumber | '4' is a magic number. | 40 |
Error | coding | MagicNumber | '4' is a magic number. | 40 |
Error | coding | MagicNumber | '8f' is a magic number. | 42 |
Error | sizes | LineLength | Line is longer than 80 characters (found 97). | 60 |
Error | sizes | LineLength | Line is longer than 80 characters (found 88). | 61 |
Error | coding | MagicNumber | '3' is a magic number. | 63 |
Error | sizes | LineLength | Line is longer than 80 characters (found 88). | 64 |
Error | coding | MagicNumber | '1.852' is a magic number. | 64 |
Error | coding | MagicNumber | '0.7833f' is a magic number. | 68 |
Error | sizes | LineLength | Line is longer than 80 characters (found 81). | 69 |
Error | sizes | LineLength | Line is longer than 80 characters (found 91). | 70 |
Error | sizes | LineLength | Line is longer than 80 characters (found 82). | 72 |
Error | sizes | LineLength | Line is longer than 80 characters (found 99). | 79 |
Error | coding | MagicNumber | '360' is a magic number. | 80 |
Error | blocks | NeedBraces | 'if' construct must use '{}'s. | 82 |
Error | sizes | LineLength | Line is longer than 80 characters (found 84). | 82 |
Error | sizes | LineLength | Line is longer than 80 characters (found 92). | 83 |
Error | sizes | LineLength | Line is longer than 80 characters (found 88). | 92 |
Error | javadoc | JavadocMethod | Missing a Javadoc comment. | 92 |
Error | misc | FinalParameters | Parameter worldToScreen should be final. | 92 |
Error | misc | FinalParameters | Parameter lat should be final. | 92 |
Error | misc | FinalParameters | Parameter lon should be final. | 92 |
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
Error | javadoc | JavadocType | Missing a Javadoc comment. | 3 |
Error | javadoc | JavadocVariable | Missing a Javadoc comment. | 4 |
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
Error | javadoc | JavadocPackage | Missing package-info.java file. | |
Error | javadoc | JavadocVariable | Missing a Javadoc comment. | 21 |
Error | javadoc | JavadocVariable | Missing a Javadoc comment. | 22 |
Error | javadoc | JavadocVariable | Missing a Javadoc comment. | 23 |
Error | javadoc | JavadocVariable | Missing a Javadoc comment. | 24 |
Error | regexp | RegexpSingleline | Line has trailing spaces. | 28 |
Error | sizes | LineLength | Line is longer than 80 characters (found 88). | 36 |
Error | misc | FinalParameters | Parameter startFunction should be final. | 36 |
Error | coding | HiddenField | 'startFunction' hides a field. | 36 |
Error | misc | FinalParameters | Parameter whileFunction should be final. | 36 |
Error | coding | HiddenField | 'whileFunction' hides a field. | 36 |
Error | design | DesignForExtension | Method 'call' is not designed for extension - needs to be abstract, final or empty. | 41 |
Error | misc | FinalParameters | Parameter child should be final. | 42 |
Error | blocks | NeedBraces | 'if' construct must use '{}'s. | 52 |
Error | blocks | NeedBraces | 'if' construct must use '{}'s. | 54 |
Error | blocks | NeedBraces | 'if' construct must use '{}'s. | 56 |
Error | misc | FinalParameters | Parameter e should be final. | 61 |
Error | misc | FinalParameters | Parameter t should be final. | 66 |
Error | blocks | NeedBraces | 'if' construct must use '{}'s. | 67 |
Error | sizes | LineLength | Line is longer than 80 characters (found 90). | 83 |
Error | javadoc | JavadocMethod | Missing a Javadoc comment. | 106 |
Error | misc | FinalParameters | Parameter o should be final. | 106 |
Error | blocks | NeedBraces | 'if' construct must use '{}'s. | 107 |
Error | blocks | NeedBraces | 'else' construct must use '{}'s. | 109 |
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
Error | javadoc | JavadocPackage | Missing package-info.java file. | |
Error | extension | TreeWalker | Got an exception - expecting EOF, found '}' | 17 |
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
Error | javadoc | JavadocPackage | Missing package-info.java file. | |
Error | javadoc | JavadocType | Missing a Javadoc comment. | 9 |
Error | design | HideUtilityClassConstructor | Utility classes should not have a public or default constructor. | 9 |
Error | sizes | LineLength | Line is longer than 80 characters (found 87). | 11 |
Error | javadoc | JavadocMethod | Missing a Javadoc comment. | 11 |
Error | misc | FinalParameters | Parameter frame should be final. | 11 |
Error | misc | FinalParameters | Parameter defaultX should be final. | 11 |
Error | misc | FinalParameters | Parameter defaultY should be final. | 11 |
Error | misc | FinalParameters | Parameter defaultWidth should be final. | 12 |
Error | misc | FinalParameters | Parameter defaultHeight should be final. | 12 |
Error | misc | FinalParameters | Parameter cls should be final. | 12 |
Error | sizes | LineLength | Line is longer than 80 characters (found 82). | 16 |
Error | sizes | LineLength | Line is longer than 80 characters (found 85). | 17 |
Error | misc | FinalParameters | Parameter e should be final. | 23 |
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
Error | javadoc | JavadocPackage | Missing package-info.java file. | |
Error | javadoc | JavadocType | Missing a Javadoc comment. | 11 |
Error | javadoc | JavadocType | Missing a Javadoc comment. | 13 |
Error | javadoc | JavadocVariable | Missing a Javadoc comment. | 14 |
Error | javadoc | JavadocMethod | Missing a Javadoc comment. | 17 |
Error | misc | FinalParameters | Parameter source should be final. | 23 |
Error | sizes | LineLength | Line is longer than 80 characters (found 91). | 25 |
Error | misc | FinalParameters | Parameter t should be final. | 28 |
Error | misc | FinalParameters | Parameter n should be final. | 28 |
Error | javadoc | JavadocType | Missing a Javadoc comment. | 34 |
Error | javadoc | JavadocVariable | Missing a Javadoc comment. | 35 |
Error | javadoc | JavadocVariable | Missing a Javadoc comment. | 36 |
Error | javadoc | JavadocMethod | Missing a Javadoc comment. | 38 |
Error | misc | FinalParameters | Parameter value should be final. | 38 |
Error | coding | HiddenField | 'value' hides a field. | 38 |
Error | misc | FinalParameters | Parameter index should be final. | 38 |
Error | coding | HiddenField | 'index' hides a field. | 38 |
Error | javadoc | JavadocMethod | Missing a Javadoc comment. | 48 |
Error | javadoc | JavadocMethod | Missing a Javadoc comment. | 52 |
Error | javadoc | JavadocType | Missing a Javadoc comment. | 58 |
Error | javadoc | JavadocType | Missing a Javadoc comment. | 60 |
Error | javadoc | JavadocVariable | Missing a Javadoc comment. | 61 |
Error | javadoc | JavadocMethod | Missing a Javadoc comment. | 64 |
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
Error | misc | NewlineAtEndOfFile | File does not end with a newline. |