Checkstyle Results

The following document contains the results of Checkstylerss feed

Summary

Files Infos Infos Warnings Warnings Errors Errors
83 0 4 11

Rules

Rules Violations Severity
AnnotationUseStyle 0 Errors Error
MissingDeprecated 0 Errors Error
MissingOverride 0 Errors Error
PackageAnnotation 0 Errors Error
SuppressWarnings 0 Errors Error
EmptyBlock
  • option: "text"
0 Errors Error
LeftCurly
  • option: "nl"
1 Errors Error
NeedBraces 0 Errors Error
RightCurly
  • option: "alone"
0 Errors Error
AvoidNestedBlocks
  • allowInSwitchCase: "true"
0 Errors Error
VisibilityModifier
  • protectedAllowed: "true"
  • packageAllowed: "false"
0 Errors Error
FinalClass 0 Errors Error
InterfaceIsType 0 Errors Error
HideUtilityClassConstructor 0 Errors Error
MutableException 0 Errors Error
InnerTypeLast 0 Errors Error
CovariantEquals 0 Errors Error
EmptyStatement 0 Errors Error
EqualsAvoidNull 5 Errors Error
EqualsHashCode 0 Errors Error
HiddenField
  • ignoreConstructorParameter: "true"
  • ignoreSetter: "true"
4 Errors Error
InnerAssignment 0 Errors Error
MissingSwitchDefault 0 Errors Error
ModifiedControlVariable 0 Errors Error
RedundantThrows 0 Errors Error
SimplifyBooleanExpression 0 Errors Error
SimplifyBooleanReturn 0 Errors Error
StringLiteralEquality 0 Errors Error
NestedForDepth
  • max: "3"
0 Errors Error
NestedIfDepth
  • max: "5"
0 Errors Error
NestedTryDepth 0 Errors Error
SuperClone 0 Errors Error
NoFinalizer 0 Errors Error
IllegalCatch
  • illegalClassNames: "java.lang.Exception, java.lang.RuntimeException"
0 Errors Error
IllegalThrows 0 Errors Error
PackageDeclaration 0 Errors Error
DeclarationOrder 0 Errors Error
ParameterAssignment 0 Errors Error
DefaultComesLast 0 Errors Error
MissingCtor 0 Errors Error
FallThrough 0 Errors Error
MultipleVariableDeclarations 0 Errors Error
OneStatementPerLine 0 Errors Error
AvoidStarImport 1 Errors Error
IllegalImport 0 Errors Error
RedundantImport 0 Errors Error
UnusedImports 0 Errors Error
GenericWhitespace 0 Errors Error
EmptyForInitializerPad 0 Errors Error
EmptyForIteratorPad 0 Errors Error
MethodParamPad 0 Errors Error
NoWhitespaceAfter 0 Errors Error
NoWhitespaceBefore 0 Errors Error
LineLength
  • max: "100"
1 Warnings Warning
MethodLength 3 Warnings Warning
ParameterNumber 0 Warnings Warning
MethodCount
  • maxTotal: "30"
0 Warnings Warning
ModifierOrder 0 Errors Error
FileLength
  • max: "1000"
0 Warnings Warning
NewlineAtEndOfFile 0 Errors Error
JavadocPackage 0 Errors Error

Details

com/mattunderscore/http/headers/useragent/parser/AndroidPlatformParser.java

Violation Message Line
Errors String literal expressions should be on the left side of an equals comparison. 72

com/mattunderscore/http/headers/useragent/parser/ArchitectureParser.java

Violation Message Line
Errors '{' should be on a new line. 46

com/mattunderscore/http/headers/useragent/parser/BlackBerryPlatformParser.java

Violation Message Line
Errors String literal expressions should be on the left side of an equals comparison. 106

com/mattunderscore/http/headers/useragent/parser/BotParser.java

Violation Message Line
Warnings Method length is 217 lines (max allowed is 150). 50

com/mattunderscore/http/headers/useragent/parser/CachingUserAgentParser.java

Violation Message Line
Warnings Line is longer than 100 characters. 43

com/mattunderscore/http/headers/useragent/parser/DesktopBrowserParser.java

Violation Message Line
Warnings Method length is 185 lines (max allowed is 150). 63

com/mattunderscore/http/headers/useragent/parser/GenericPlatformParser.java

Violation Message Line
Errors String literal expressions should be on the left side of an equals comparison. 115

com/mattunderscore/http/headers/useragent/parser/IOSBrowserParser.java

Violation Message Line
Warnings Method length is 173 lines (max allowed is 150). 59
Errors String literal expressions should be on the left side of an equals comparison. 151

com/mattunderscore/http/headers/useragent/parser/IOSPlatformParser.java

Violation Message Line
Errors String literal expressions should be on the left side of an equals comparison. 127

com/mattunderscore/http/headers/useragent/parser/OSParser.java

Violation Message Line
Errors Using the '.*' form of import should be avoided - com.mattunderscore.http.headers.useragent.parser.ParsingUtils.*. 28

com/mattunderscore/http/headers/useragent/parser/ParsingState.java

Violation Message Line
Errors 'iPad' hides a field. 127
Errors 'iPod' hides a field. 137
Errors 'iPhone' hides a field. 147
Errors 'iPhoneSimulator' hides a field. 157