The following document contains the results of Checkstyle 7.2 with sun_checks.xml ruleset.
Category | Rule | Violations | Severity |
---|---|---|---|
coding | AvoidInlineConditionals | 1 | ![]() |
HiddenField | 3 | ![]() | |
design | DesignForExtension | 11 | ![]() |
FinalClass | 1 | ![]() | |
javadoc | JavadocMethod | 9 | ![]() |
JavadocPackage | 1 | ![]() | |
JavadocStyle | 3 | ![]() | |
JavadocType | 1 | ![]() | |
JavadocVariable | 21 | ![]() | |
misc | FinalParameters | 18 | ![]() |
NewlineAtEndOfFile | 1 | ![]() | |
naming | ConstantName | 2 | ![]() |
sizes | LineLength | 25 | ![]() |
whitespace | WhitespaceAround | 2 | ![]() |
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
![]() |
javadoc | JavadocPackage | Missing package-info.java file. | |
![]() |
sizes | LineLength | Line is longer than 80 characters (found 102). | 44 |
![]() |
sizes | LineLength | Line is longer than 80 characters (found 93). | 45 |
![]() |
sizes | LineLength | Line is longer than 80 characters (found 86). | 47 |
![]() |
javadoc | JavadocType | Type Javadoc comment is missing an @param <T> tag. | 47 |
![]() |
javadoc | JavadocVariable | Missing a Javadoc comment. | 49 |
![]() |
javadoc | JavadocVariable | Missing a Javadoc comment. | 50 |
![]() |
javadoc | JavadocVariable | Missing a Javadoc comment. | 51 |
![]() |
sizes | LineLength | Line is longer than 80 characters (found 102). | 53 |
![]() |
javadoc | JavadocVariable | Missing a Javadoc comment. | 53 |
![]() |
javadoc | JavadocVariable | Missing a Javadoc comment. | 55 |
![]() |
naming | ConstantName | Name 'mapper' must match pattern '^[A-Z][A-Z0-9]*(_[A-Z0-9]+)*$'. | 55 |
![]() |
javadoc | JavadocVariable | Missing a Javadoc comment. | 57 |
![]() |
sizes | LineLength | Line is longer than 80 characters (found 114). | 59 |
![]() |
javadoc | JavadocMethod | Missing a Javadoc comment. | 59 |
![]() |
misc | FinalParameters | Parameter patternConfigKey should be final. | 59 |
![]() |
coding | HiddenField | 'patternConfigKey' hides a field. | 59 |
![]() |
misc | FinalParameters | Parameter extensionKey should be final. | 59 |
![]() |
coding | HiddenField | 'extensionKey' hides a field. | 59 |
![]() |
misc | FinalParameters | Parameter defaultPattern should be final. | 59 |
![]() |
coding | HiddenField | 'defaultPattern' hides a field. | 59 |
![]() |
design | DesignForExtension | Class 'AbstractRegexExtensionExtractor' looks like designed for extension (can be subclassed), but the method 'getPattern' does not have javadoc that explains how to do that safely. If class is not designed for extension consider making the class 'AbstractRegexExtensionExtractor' final or making the method 'getPattern' static/final/abstract/empty, or adding allowed annotation for the method. | 65 |
![]() |
javadoc | JavadocMethod | Missing a Javadoc comment. | 65 |
![]() |
design | DesignForExtension | Class 'AbstractRegexExtensionExtractor' looks like designed for extension (can be subclassed), but the method 'process' does not have javadoc that explains how to do that safely. If class is not designed for extension consider making the class 'AbstractRegexExtensionExtractor' final or making the method 'process' static/final/abstract/empty, or adding allowed annotation for the method. | 69 |
![]() |
misc | FinalParameters | Parameter entry should be final. | 70 |
![]() |
sizes | LineLength | Line is longer than 80 characters (found 99). | 82 |
![]() |
design | DesignForExtension | Class 'AbstractRegexExtensionExtractor' looks like designed for extension (can be subclassed), but the method 'prepare' does not have javadoc that explains how to do that safely. If class is not designed for extension consider making the class 'AbstractRegexExtensionExtractor' final or making the method 'prepare' static/final/abstract/empty, or adding allowed annotation for the method. | 97 |
![]() |
misc | FinalParameters | Parameter configurationObject should be final. | 98 |
![]() |
design | DesignForExtension | Class 'AbstractRegexExtensionExtractor' looks like designed for extension (can be subclassed), but the method 'ensureTargetObject' does not have javadoc that explains how to do that safely. If class is not designed for extension consider making the class 'AbstractRegexExtensionExtractor' final or making the method 'ensureTargetObject' static/final/abstract/empty, or adding allowed annotation for the method. | 122 |
![]() |
javadoc | JavadocMethod | Missing a Javadoc comment. | 122 |
![]() |
misc | FinalParameters | Parameter activity should be final. | 123 |
![]() |
sizes | LineLength | Line is longer than 80 characters (found 92). | 124 |
![]() |
sizes | LineLength | Line is longer than 80 characters (found 87). | 127 |
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
![]() |
javadoc | JavadocStyle | First sentence should end with a period. | 27 |
![]() |
sizes | LineLength | Line is longer than 80 characters (found 115). | 28 |
![]() |
sizes | LineLength | Line is longer than 80 characters (found 112). | 31 |
![]() |
javadoc | JavadocVariable | Missing a Javadoc comment. | 33 |
![]() |
sizes | LineLength | Line is longer than 80 characters (found 92). | 35 |
![]() |
javadoc | JavadocVariable | Missing a Javadoc comment. | 35 |
![]() |
javadoc | JavadocVariable | Missing a Javadoc comment. | 37 |
![]() |
javadoc | JavadocVariable | Missing a Javadoc comment. | 38 |
![]() |
javadoc | JavadocVariable | Missing a Javadoc comment. | 39 |
![]() |
javadoc | JavadocMethod | Missing a Javadoc comment. | 41 |
![]() |
design | DesignForExtension | Class 'RegexHashtagExtractor' looks like designed for extension (can be subclassed), but the method 'getId' does not have javadoc that explains how to do that safely. If class is not designed for extension consider making the class 'RegexHashtagExtractor' final or making the method 'getId' static/final/abstract/empty, or adding allowed annotation for the method. | 45 |
![]() |
design | DesignForExtension | Class 'RegexHashtagExtractor' looks like designed for extension (can be subclassed), but the method 'prepareObject' does not have javadoc that explains how to do that safely. If class is not designed for extension consider making the class 'RegexHashtagExtractor' final or making the method 'prepareObject' static/final/abstract/empty, or adding allowed annotation for the method. | 50 |
![]() |
misc | FinalParameters | Parameter extracted should be final. | 51 |
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
![]() |
javadoc | JavadocStyle | First sentence should end with a period. | 27 |
![]() |
sizes | LineLength | Line is longer than 80 characters (found 121). | 28 |
![]() |
sizes | LineLength | Line is longer than 80 characters (found 126). | 31 |
![]() |
javadoc | JavadocVariable | Missing a Javadoc comment. | 33 |
![]() |
javadoc | JavadocVariable | Missing a Javadoc comment. | 35 |
![]() |
javadoc | JavadocVariable | Missing a Javadoc comment. | 36 |
![]() |
javadoc | JavadocVariable | Missing a Javadoc comment. | 37 |
![]() |
javadoc | JavadocVariable | Missing a Javadoc comment. | 38 |
![]() |
javadoc | JavadocMethod | Missing a Javadoc comment. | 40 |
![]() |
design | DesignForExtension | Class 'RegexMentionsExtractor' looks like designed for extension (can be subclassed), but the method 'getId' does not have javadoc that explains how to do that safely. If class is not designed for extension consider making the class 'RegexMentionsExtractor' final or making the method 'getId' static/final/abstract/empty, or adding allowed annotation for the method. | 44 |
![]() |
design | DesignForExtension | Class 'RegexMentionsExtractor' looks like designed for extension (can be subclassed), but the method 'prepareObject' does not have javadoc that explains how to do that safely. If class is not designed for extension consider making the class 'RegexMentionsExtractor' final or making the method 'prepareObject' static/final/abstract/empty, or adding allowed annotation for the method. | 49 |
![]() |
misc | FinalParameters | Parameter extracted should be final. | 50 |
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
![]() |
javadoc | JavadocStyle | First sentence should end with a period. | 27 |
![]() |
sizes | LineLength | Line is longer than 80 characters (found 111). | 28 |
![]() |
sizes | LineLength | Line is longer than 80 characters (found 108). | 31 |
![]() |
javadoc | JavadocVariable | Missing a Javadoc comment. | 33 |
![]() |
design | DesignForExtension | Class 'RegexUrlExtractor' looks like designed for extension (can be subclassed), but the method 'getId' does not have javadoc that explains how to do that safely. If class is not designed for extension consider making the class 'RegexUrlExtractor' final or making the method 'getId' static/final/abstract/empty, or adding allowed annotation for the method. | 35 |
![]() |
sizes | LineLength | Line is longer than 80 characters (found 113). | 40 |
![]() |
javadoc | JavadocVariable | Missing a Javadoc comment. | 42 |
![]() |
javadoc | JavadocVariable | Missing a Javadoc comment. | 60 |
![]() |
javadoc | JavadocMethod | Missing a Javadoc comment. | 62 |
![]() |
design | DesignForExtension | Class 'RegexUrlExtractor' looks like designed for extension (can be subclassed), but the method 'prepareObject' does not have javadoc that explains how to do that safely. If class is not designed for extension consider making the class 'RegexUrlExtractor' final or making the method 'prepareObject' static/final/abstract/empty, or adding allowed annotation for the method. | 66 |
![]() |
misc | FinalParameters | Parameter extracted should be final. | 67 |
![]() |
design | DesignForExtension | Class 'RegexUrlExtractor' looks like designed for extension (can be subclassed), but the method 'ensureTargetObject' does not have javadoc that explains how to do that safely. If class is not designed for extension consider making the class 'RegexUrlExtractor' final or making the method 'ensureTargetObject' static/final/abstract/empty, or adding allowed annotation for the method. | 71 |
![]() |
misc | FinalParameters | Parameter activity should be final. | 72 |
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
![]() |
misc | NewlineAtEndOfFile | File does not end with a newline. | |
![]() |
design | FinalClass | Class RegexUtils should be declared as final. | 36 |
![]() |
sizes | LineLength | Line is longer than 80 characters (found 85). | 38 |
![]() |
javadoc | JavadocVariable | Missing a Javadoc comment. | 38 |
![]() |
naming | ConstantName | Name 'patternCache' must match pattern '^[A-Z][A-Z0-9]*(_[A-Z0-9]+)*$'. | 38 |
![]() |
sizes | LineLength | Line is longer than 80 characters (found 81). | 39 |
![]() |
javadoc | JavadocVariable | Missing a Javadoc comment. | 39 |
![]() |
javadoc | JavadocMethod | Missing a Javadoc comment. | 41 |
![]() |
whitespace | WhitespaceAround | '{' is not followed by whitespace. | 41 |
![]() |
whitespace | WhitespaceAround | '}' is not preceded with whitespace. | 41 |
![]() |
sizes | LineLength | Line is longer than 80 characters (found 85). | 44 |
![]() |
sizes | LineLength | Line is longer than 80 characters (found 120). | 45 |
![]() |
sizes | LineLength | Line is longer than 80 characters (found 91). | 49 |
![]() |
misc | FinalParameters | Parameter pattern should be final. | 49 |
![]() |
misc | FinalParameters | Parameter content should be final. | 49 |
![]() |
sizes | LineLength | Line is longer than 80 characters (found 112). | 54 |
![]() |
sizes | LineLength | Line is longer than 80 characters (found 120). | 55 |
![]() |
sizes | LineLength | Line is longer than 80 characters (found 95). | 59 |
![]() |
misc | FinalParameters | Parameter pattern should be final. | 59 |
![]() |
misc | FinalParameters | Parameter content should be final. | 59 |
![]() |
sizes | LineLength | Line is longer than 80 characters (found 103). | 64 |
![]() |
javadoc | JavadocMethod | Missing a Javadoc comment. | 64 |
![]() |
misc | FinalParameters | Parameter pattern should be final. | 64 |
![]() |
misc | FinalParameters | Parameter content should be final. | 64 |
![]() |
misc | FinalParameters | Parameter capture should be final. | 64 |
![]() |
coding | AvoidInlineConditionals | Avoid inline conditionals. | 73 |
![]() |
javadoc | JavadocMethod | Missing a Javadoc comment. | 93 |
![]() |
misc | FinalParameters | Parameter patternString should be final. | 93 |