Checkstyle Results

The following document contains the results of Checkstylerss feed

Summary

FilesInfos infoWarnings warningErrors error
1830810

Rules

RulesViolationsSeverity
SuppressionFilter
  • file: "/home/berger/workspace/jeuclid-stable/jeuclid-core/../checkstyle_filter.xml"
0error Error
SuppressionCommentFilter0error Error
FileContentsHolder0error Error
JavadocType
  • scope: "protected"
  • versionFormat: "\$Revision: .* \$"
0error Error
JavadocMethod
  • scope: "protected"
  • allowUndeclaredRTE: "true"
0error Error
JavadocVariable
  • scope: "protected"
0error Error
JavadocStyle
  • scope: "protected"
0error Error
RegexpHeader
  • header
    1: \/\*
    2:  * Copyright \d\d\d\d( - \d\d\d\d)? JEuclid, http://jeuclid.sf.net
    3:  *
    4:  * Licensed under the Apache License, Version 2.0 \(the "License"\);
    5:  * you may not use this file except in compliance with the License.
    6:  * You may obtain a copy of the License at
    7:  *
    8:  * http://www.apache.org/licenses/LICENSE-2.0
    9:  *
    10:  * Unless required by applicable law or agreed to in writing, software
    11:  * distributed under the License is distributed on an "AS IS" BASIS,
    12:  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
    13:  * See the License for the specific language governing permissions and
    14:  * limitations under the License.
    15:  */
    16: 
    17: /\* .*\$Id: .*\$ \*/
    18: 
    19: 
0error Error
AbstractClassName0error Error
ConstantName0error Error
LocalFinalVariableName1error Error
LocalVariableName0error Error
MemberName0error Error
MethodName0error Error
PackageName0error Error
ParameterName0error Error
StaticVariableName0error Error
TypeName0error Error
UnusedImports0error Error
RedundantImport0error Error
ImportOrder
  • ordered: "true"
  • separated: "true"
  • groups: "java,javax,net,org,com"
0error Error
IllegalImport0error Error
AvoidStarImport0error Error
AnonInnerLength0error Error
ExecutableStatementCount3error Error
FileLength0error Error
LineLength0 Ignore
MethodLength1error Error
ParameterNumber0error Error
EmptyForInitializerPad0error Error
EmptyForIteratorPad0error Error
NoWhitespaceAfter0 Ignore
NoWhitespaceBefore0error Error
OperatorWrap0error Error
MethodParamPad0error Error
ParenPad0error Error
TabCharacter0error Error
TypecastParenPad0error Error
WhitespaceAfter0error Error
WhitespaceAround
  • tokens: "ASSIGN,BAND,BAND_ASSIGN,BOR,BOR_ASSIGN,BSR,BSR_ASSIGN,BXOR,BXOR_ASSIGN,COLON,DIV,DIV_ASSIGN,EQUAL,GE,GT,LAND,LCURLY,LE,LITERAL_ASSERT,LITERAL_CATCH,LITERAL_DO,LITERAL_ELSE,LITERAL_FINALLY,LITERAL_FOR,LITERAL_IF,LITERAL_RETURN,LITERAL_SYNCHRONIZED,LITERAL_TRY,LITERAL_WHILE,LOR,LT,MINUS,MINUS_ASSIGN,MOD,MOD_ASSIGN,NOT_EQUAL,PLUS,PLUS_ASSIGN,QUESTION,RCURLY,SL,SLIST,SL_ASSIGN,SR,SR_ASSIGN,STAR,STAR_ASSIGN,LITERAL_ASSERT,TYPE_EXTENSION_AND"
0error Error
ModifierOrder0error Error
RedundantModifier0error Error
AvoidNestedBlocks0error Error
EmptyBlock0error Error
LeftCurly0error Error
NeedBraces0error Error
RightCurly0error Error
AvoidInlineConditionals3error Error
CovariantEquals0error Error
DefaultComesLast0error Error
DeclarationOrder4error Error
DoubleCheckedLocking0error Error
EmptyStatement0error Error
EqualsHashCode0error Error
ExplicitInitialization0error Error
FallThrough0error Error
FinalLocalVariable1error Error
HiddenField0error Error
IllegalInstantiation0error Error
IllegalCatch3error Error
IllegalThrows0error Error
IllegalToken0 Ignore
IllegalTokenText0error Error
IllegalType1error Error
InnerAssignment1error Error
JUnitTestCase0error Error
MagicNumber1error Error
MissingCtor0error Error
MissingSwitchDefault0error Error
ModifiedControlVariable1error Error
MultipleStringLiterals6error Error
MultipleVariableDeclarations1error Error
NestedIfDepth7error Error
NestedTryDepth
  • max: "2"
0error Error
PackageDeclaration0error Error
ParameterAssignment9error Error
RedundantThrows6error Error
RequireThis0error Error
ReturnCount3error Error
SimplifyBooleanExpression0error Error
SimplifyBooleanReturn0error Error
StringLiteralEquality0error Error
SuperClone0error Error
SuperFinalize0error Error
ArrayTrailingComma0error Error
UnnecessaryParentheses2error Error
DesignForExtension0 Ignore
FinalClass0error Error
HideUtilityClassConstructor0error Error
InterfaceIsType0error Error
MutableException0error Error
ThrowsCount
  • max: "3"
0error Error
VisibilityModifier2error Error
BooleanExpressionComplexity0error Error
ClassDataAbstractionCoupling2error Error
ClassFanOutComplexity2error Error
CyclomaticComplexity3error Error
JavaNCSS3error Error
NPathComplexity3error Error
Regexp0error Error
UpperEll0error Error
TodoComment0 Ignore
RequiredRegexp0error Error
FinalParameters12error Error
DescendantToken0error Error
ArrayTypeStyle0error Error
Translation0error Error
NewlineAtEndOfFile0error Error

Details

net/sourceforge/jeuclid/elements/AbstractJEuclidElement.java

ViolationMessageLine
warningEach variable declaration must be in its own statement.464
warningNested if-else depth is 2 (max allowed is 1).467
warningControl variable 'elementIndex' is modified.470

net/sourceforge/jeuclid/parser/Parser.java

ViolationMessageLine
warningClass Data Abstraction Coupling is 8 (max allowed is 7) classes [FilterInputStream, ResourceEntityResolver, ZipInputStream, StreamSource, ErrorHandler, DOMResult, InputSource, BufferedInputStream].57
warningClass Fan-Out Complexity is 24 (max allowed is 20).57

net/sourceforge/jeuclid/elements/presentation/table/Mtable.java

ViolationMessageLine
warningClass Fan-Out Complexity is 23 (max allowed is 20).49
warningThe String "0.8em" appears 2 times in the file.133
warningThe String "baseline" appears 2 times in the file.257
warningThe String "axis" appears 2 times in the file.259
warningThe String "right" appears 2 times in the file.263
warningThe String "auto" appears 2 times in the file.288
warningCyclomatic Complexity is 20 (max allowed is 10).355
warningExecutable statement count is 58 (max allowed is 30).355
warningNCSS for this method is 70 (max allowed is 50).355
warningNPath Complexity is 4,312 (max allowed is 200).355
warningParameter posX should be final.356
warningParameter posY should be final.356
warningAssignment of parameter 'posX' is not allowed.358
warningAssignment of parameter 'posY' is not allowed.359
warningAvoid inline conditionals.374
warningAssignment of parameter 'posY' is not allowed.385
warningAssignment of parameter 'posY' is not allowed.393
warningAssignment of parameter 'posY' is not allowed.418
warningAssignment of parameter 'posY' is not allowed.423
warningReturn count is 4 (max allowed is 2).576
warningAvoid inline conditionals.583
warningReturn count is 4 (max allowed is 2).596
warningAvoid inline conditionals.604
warningCatching 'Exception' is not allowed.680
warningUnnecessary parentheses around assignment right-hand side.757
warningStatic variable definition in wrong order.767
warningStatic variable definition in wrong order.772
warningStatic variable definition in wrong order.777
warningCyclomatic Complexity is 37 (max allowed is 10).786
warningExecutable statement count is 90 (max allowed is 30).786
warningMethod length is 199 lines (max allowed is 150).786
warningNCSS for this method is 111 (max allowed is 50).786
warningNPath Complexity is 207,872 (max allowed is 200).786
warningName 'MAX_WIDTH_IN_COLUMN' must match pattern '^[a-z][a-zA-Z0-9]*$'.789
warning'3' is a magic number.801
warningCatching 'Exception' is not allowed.817
warningNested if-else depth is 2 (max allowed is 1).859
warningNested if-else depth is 2 (max allowed is 1).863
warningNested if-else depth is 2 (max allowed is 1).872
warningNested if-else depth is 3 (max allowed is 1).885
warningNested if-else depth is 3 (max allowed is 1).892
warningCatching 'Exception' is not allowed.917
warningUnnecessary parentheses around assignment right-hand side.972
warningReturn count is 3 (max allowed is 2).1126
warningParameter index should be final.1430
warningRedundant throws: 'DOMException' is unchecked exception.1430
warningParameter index should be final.1436
warningParameter index should be final.1442
warningRedundant throws: 'DOMException' is unchecked exception.1443
warningParameter index should be final.1449
warningRedundant throws: 'DOMException' is unchecked exception.1450
warningParameter index should be final.1456
warningParameter newRow should be final.1457
warningRedundant throws: 'DOMException' is unchecked exception.1457
warningParameter index should be final.1463
warningRedundant throws: 'DOMException' is unchecked exception.1463
warningParameter index should be final.1469
warningParameter newRow should be final.1470
warningRedundant throws: 'DOMException' is unchecked exception.1470

net/sourceforge/jeuclid/font/DefaultFontFactory.java

ViolationMessageLine
warningStatic variable definition in wrong order.43

net/sourceforge/jeuclid/elements/support/text/StringUtil.java

ViolationMessageLine
warningClass Data Abstraction Coupling is 9 (max allowed is 7) classes [CodePointAndVariant, Font, HashMap, AttributedString, FontRenderContext, TextLayout, MathVariant, Vector, StringBuilder].46
warningVariable 'antialiasing' should be declared final.165

net/sourceforge/jeuclid/elements/presentation/general/Mfenced.java

ViolationMessageLine
warningNested if-else depth is 2 (max allowed is 1).163

net/sourceforge/jeuclid/elements/presentation/table/Maligngroup.java

ViolationMessageLine
warningVariable 'width' must be private and have accessor methods.53

net/sourceforge/jeuclid/elements/presentation/table/Mlabeledtr.java

ViolationMessageLine
warningVariable 'labelIgnored' must be private and have accessor methods.44

net/sourceforge/jeuclid/DOMBuilder.java

ViolationMessageLine
warningCyclomatic Complexity is 20 (max allowed is 10).120
warningExecutable statement count is 35 (max allowed is 30).120
warningNCSS for this method is 51 (max allowed is 50).120
warningNPath Complexity is 2,304 (max allowed is 200).120
warningParameter alignmentScope should be final.121
warningInner assignments should be avoided.128
warningDeclaring variables, return values or parameters of type 'AbstractJEuclidElement' is not allowed.134
warningAssignment of parameter 'alignmentScope' is not allowed.139
warningThe String "scriptsizemultiplier" appears 2 times in the file.141
warningAssignment of parameter 'alignmentScope' is not allowed.174
warningAssignment of parameter 'alignmentScope' is not allowed.195