Checkstyle Results

The following document contains the results of Checkstylerss feed

Summary

Files Infos Infos Warnings Warnings Errors Errors
62 3 41 0

Rules

Rules Violations Severity
NewlineAtEndOfFile 0 Warnings Warning
Translation 0 Warnings Warning
RegexpHeader
  • headerFile: "target/checkstyle-header.txt"
16 Warnings Warning
JavadocStyle
  • checkEmptyJavadoc: "true"
0 Warnings Warning
JavadocType
  • authorFormat: "^[a-zA-Z\s]*\s[<>=\.a-z]*$"
  • versionFormat: "^\d+.\d+.[\d+|SNAPSHOT] \d\d\d\d-\d\d-\d\d$"
0 Warnings Warning
JavadocVariable 0 Infos Info
WriteTag 0 Warnings Warning
ConstantName 0 Warnings Warning
LocalFinalVariableName 0 Warnings Warning
LocalVariableName 0 Warnings Warning
MemberName
  • format: "^m_[a-zA-Z0-9]+$"
0 Warnings Warning
MethodName 0 Warnings Warning
PackageName
  • format: "name.angoca.db2sa(\.[a-z][a-zA-Z0-9]+)*$"
0 Warnings Warning
ParameterName 0 Warnings Warning
StaticVariableName
  • format: "^s_[a-zA-Z0-9]+$"
0 Warnings Warning
TypeName 0 Warnings Warning
AvoidStarImport 0 Warnings Warning
IllegalImport 0 Warnings Warning
RedundantImport 0 Warnings Warning
UnusedImports 0 Warnings Warning
AnonInnerLength 0 Warnings Warning
ExecutableStatementCount
  • tokens: "INSTANCE_INIT,STATIC_INIT,METHOD_DEF,CTOR_DEF"
0 Warnings Warning
FileLength 0 Warnings Warning
LineLength
  • max: "80"
  • tabWidth: "4"
  • ignorePattern: "^ \* URL:|<br\/>$|<br \/>$|^import |\{$|\/\/\$NON-NLS-"
1 Warnings Warning
MethodLength 0 Warnings Warning
ParameterNumber 0 Warnings Warning
EmptyForInitializerPad 0 Warnings Warning
EmptyForIteratorPad 0 Warnings Warning
MethodParamPad 0 Warnings Warning
NoWhitespaceBefore 0 Warnings Warning
OperatorWrap 0 Warnings Warning
ParenPad 0 Warnings Warning
TypecastParenPad 0 Warnings Warning
WhitespaceAfter 0 Warnings Warning
ModifierOrder 1 Warnings Warning
RedundantModifier 0 Warnings Warning
AvoidNestedBlocks 0 Warnings Warning
EmptyBlock 0 Warnings Warning
LeftCurly 0 Warnings Warning
NeedBraces 0 Warnings Warning
RightCurly 0 Warnings Warning
AvoidInlineConditionals 0 Warnings Warning
CovariantEquals 0 Warnings Warning
DefaultComesLast 0 Warnings Warning
DeclarationOrder 0 Warnings Warning
DoubleCheckedLocking 0 Warnings Warning
EmptyStatement 0 Warnings Warning
EqualsHashCode 0 Warnings Warning
ExplicitInitialization 0 Warnings Warning
FallThrough 0 Warnings Warning
FinalLocalVariable 0 Warnings Warning
HiddenField 0 Warnings Warning
IllegalInstantiation 0 Warnings Warning
IllegalCatch 2 Warnings Warning
IllegalThrows 0 Warnings Warning
IllegalToken 0 Warnings Warning
IllegalTokenText 0 Warnings Warning
IllegalType 3 Warnings Warning
InnerAssignment 0 Warnings Warning
JUnitTestCase 0 Warnings Warning
MagicNumber 0 Warnings Warning
MissingCtor 0 Warnings Warning
MissingSwitchDefault 0 Warnings Warning
ModifiedControlVariable 0 Warnings Warning
MultipleStringLiterals 8 Warnings Warning
MultipleVariableDeclarations 0 Warnings Warning
NestedIfDepth 6 Warnings Warning
NestedTryDepth 0 Warnings Warning
PackageDeclaration 0 Warnings Warning
ParameterAssignment 0 Warnings Warning
RedundantThrows
  • logLoadErrors: "true"
  • suppressLoadErrors: "true"
0 Warnings Warning
RequireThis 0 Warnings Warning
ReturnCount 0 Warnings Warning
SimplifyBooleanExpression 0 Warnings Warning
SimplifyBooleanReturn 0 Warnings Warning
StringLiteralEquality 0 Warnings Warning
SuperClone 0 Warnings Warning
SuperFinalize 0 Warnings Warning
UnnecessaryParentheses 0 Warnings Warning
DesignForExtension 3 Infos Info
FinalClass 0 Warnings Warning
HideUtilityClassConstructor 0 Warnings Warning
InterfaceIsType 1 Warnings Warning
MutableException 0 Warnings Warning
ThrowsCount 0 Warnings Warning
VisibilityModifier 0 Warnings Warning
BooleanExpressionComplexity 0 Warnings Warning
ClassDataAbstractionCoupling 1 Warnings Warning
ClassFanOutComplexity 1 Warnings Warning
CyclomaticComplexity 1 Warnings Warning
JavaNCSS 0 Warnings Warning
NPathComplexity 0 Warnings Warning
ArrayTypeStyle 0 Warnings Warning
DescendantToken 0 Warnings Warning
FinalParameters 0 Warnings Warning
RequiredRegexp 0 Warnings Warning
TodoComment 0 Warnings Warning
TrailingComment
  • legalComment: "\$NON-NLS-"
0 Warnings Warning
UncommentedMain
  • excludedClasses: "\.Main$"
0 Warnings Warning
UpperEll 0 Warnings Warning
Regexp 0 Warnings Warning

Details

name/angoca/db2sa/Configurator.java

Violation Message Line
Warnings The String "Properties from: " appears 2 times in the file. 117
Warnings The String "Configurator." appears 3 times in the file. 131
Warnings The String "PROBLEM_READING_THE_CONFIGURATION_FILE." appears 2 times in the file. 132
Warnings The String "_LOADING_DEFAULT_PROPERTIES" appears 2 times in the file. 133

name/angoca/db2sa/Constants.java

Violation Message Line
Warnings interfaces should describe a type and hence have methods. 46

name/angoca/db2sa/Main.java

Violation Message Line
Warnings Declaring variables, return values or parameters of type 'AbstractInterfaceController' is not allowed. 85
Warnings Declaring variables, return values or parameters of type 'AbstractInterfaceController' is not allowed. 118
Warnings Declaring variables, return values or parameters of type 'AbstractInterfaceController' is not allowed. 127

name/angoca/db2sa/cli/exceptions/package-info.java

Violation Message Line
Warnings Line does not match expected header line of '^package [a-z][a-z0-9\.]+;$'. 29

name/angoca/db2sa/cli/jline/DB2Completor.java

Violation Message Line
Warnings 'static' modifier out of order with the JLS suggestions. 63
Warnings The String "Completor: buffer '{}', cursor: {}" appears 2 times in the file. 82

name/angoca/db2sa/cli/jline/package-info.java

Violation Message Line
Warnings Line does not match expected header line of '^package [a-z][a-z0-9\.]+;$'. 29

name/angoca/db2sa/cli/package-info.java

Violation Message Line
Warnings Line does not match expected header line of '^package [a-z][a-z0-9\.]+;$'. 29

name/angoca/db2sa/cli/system/SystemOutputWriter.java

Violation Message Line
Warnings Catching 'Exception' is not allowed. 66
Warnings Catching 'Exception' is not allowed. 80

name/angoca/db2sa/cli/system/package-info.java

Violation Message Line
Warnings Line does not match expected header line of '^package [a-z][a-z0-9\.]+;$'. 29

name/angoca/db2sa/core/ReturnOptions.java

Violation Message Line
Warnings Nested if-else depth is 2 (max allowed is 1). 102

name/angoca/db2sa/core/executer/Executer.java

Violation Message Line
Warnings Nested if-else depth is 2 (max allowed is 1). 158

name/angoca/db2sa/core/executer/package-info.java

Violation Message Line
Warnings Line does not match expected header line of '^package [a-z][a-z0-9\.]+;$'. 29

name/angoca/db2sa/core/lexical/ImplLexicalAnalyzer.java

Violation Message Line
Warnings Line is longer than 80 characters. 153

name/angoca/db2sa/core/lexical/exceptions/package-info.java

Violation Message Line
Warnings Line does not match expected header line of '^package [a-z][a-z0-9\.]+;$'. 29

name/angoca/db2sa/core/lexical/package-info.java

Violation Message Line
Warnings Line does not match expected header line of '^package [a-z][a-z0-9\.]+;$'. 29

name/angoca/db2sa/core/package-info.java

Violation Message Line
Warnings Line does not match expected header line of '^package [a-z][a-z0-9\.]+;$'. 29

name/angoca/db2sa/core/syntax/ImplSyntaxAnalyzer.java

Violation Message Line
Warnings Cyclomatic Complexity is 12 (max allowed is 10). 183
Warnings Nested if-else depth is 2 (max allowed is 1). 210

name/angoca/db2sa/core/syntax/graph/GraphConstructor.java

Violation Message Line
Warnings Class Data Abstraction Coupling is 11 (max allowed is 7) classes [DuplicateNodeException, EndingNodeNotDefinedException, EndingToken, GrammarFileException, GraphToken, HashMap, HelpToken, InvalidGraphException, LicenseToken, StartingNodeNotDefinedException, StartingToken]. 82
Warnings Class Fan-Out Complexity is 24 (max allowed is 20). 82
Warnings The String "token" appears 2 times in the file. 189
Warnings Nested if-else depth is 2 (max allowed is 1). 204
Warnings The String "id" appears 2 times in the file. 224
Warnings Nested if-else depth is 2 (max allowed is 1). 337
Warnings The String "GraphConstructor" appears 2 times in the file. 394

name/angoca/db2sa/core/syntax/graph/GraphToken.java

Violation Message Line
Infos Method 'equals' is not designed for extension - needs to be abstract, final or empty. 225
Warnings Nested if-else depth is 2 (max allowed is 1). 237
Infos Method 'hashCode' is not designed for extension - needs to be abstract, final or empty. 270
Infos Method 'toString' is not designed for extension - needs to be abstract, final or empty. 293

name/angoca/db2sa/core/syntax/graph/exception/package-info.java

Violation Message Line
Warnings Line does not match expected header line of '^package [a-z][a-z0-9\.]+;$'. 29

name/angoca/db2sa/core/syntax/graph/package-info.java

Violation Message Line
Warnings Line does not match expected header line of '^package [a-z][a-z0-9\.]+;$'. 29

name/angoca/db2sa/core/syntax/package-info.java

Violation Message Line
Warnings Line does not match expected header line of '^package [a-z][a-z0-9\.]+;$'. 29

name/angoca/db2sa/exceptions/package-info.java

Violation Message Line
Warnings Line does not match expected header line of '^package [a-z][a-z0-9\.]+;$'. 29

name/angoca/db2sa/messages/package-info.java

Violation Message Line
Warnings Line does not match expected header line of '^package [a-z][a-z0-9\.]+;$'. 29

name/angoca/db2sa/package-info.java

Violation Message Line
Warnings Line does not match expected header line of '^package [a-z][a-z0-9\.]+;$'. 29

name/angoca/db2sa/readers/exceptions/package-info.java

Violation Message Line
Warnings Line does not match expected header line of '^package [a-z][a-z0-9\.]+;$'. 29

name/angoca/db2sa/readers/package-info.java

Violation Message Line
Warnings Line does not match expected header line of '^package [a-z][a-z0-9\.]+;$'. 29