Checkstyle Results

The following document contains the results of Checkstylerss feed

Summary

FilesInfos infoWarnings warningErrors error
251236

Rules

RulesViolationsSeverity
PackageHtml1warning Warning
JavadocType0warning Warning
JavadocMethod4warning Warning
JavadocVariable0warning Warning
JavadocStyle
  • checkEmptyJavadoc: "true"
0warning Warning
AbstractClassName
  • format: "^[A-Z][a-zA-Z0-9]*$"
0warning Warning
ConstantName
  • format: "^[A-Z](_?[A-Z0-9]+)*$"
0warning Warning
LocalFinalVariableName
  • format: "^[a-z][a-zA-Z0-9]*$"
0warning Warning
LocalVariableName
  • format: "^[a-z][a-zA-Z0-9]*$"
0warning Warning
MemberName
  • format: "^[a-z][a-zA-Z0-9]*$"
0warning Warning
MethodName
  • format: "^[a-z][a-zA-Z0-9]*$"
0warning Warning
PackageName
  • format: "^[a-z]+(\.[a-z_][a-z_0-9]*)*$"
0warning Warning
ParameterName
  • format: "^[a-z][a-zA-Z0-9]*$"
0warning Warning
StaticVariableName
  • format: "^[a-z][a-zA-Z0-9]*$"
0warning Warning
TypeName
  • format: "^[A-Z][a-zA-Z0-9]*$"
0warning Warning
AvoidStarImport0error Error
IllegalImport
  • illegalPkgs: "sun"
0warning Warning
RedundantImport1error Error
UnusedImports29error Error
MethodParamPad0warning Warning
NoWhitespaceAfter0warning Warning
NoWhitespaceBefore0warning Warning
OperatorWrap0warning Warning
ParenPad0warning Warning
TabCharacter2error Error
TypecastParenPad0warning Warning
WhitespaceAfter
  • tokens: "COMMA, SEMI"
0warning Warning
WhitespaceAround5warning Warning
ModifierOrder0error Error
EmptyBlock
  • option: "text"
0error Error
LeftCurly
  • option: "nl"
0error Error
NeedBraces0error Error
RightCurly
  • option: "alone"
0warning Warning
AvoidNestedBlocks
  • allowInSwitchCase: "true"
0warning Warning
AvoidInlineConditionals0warning Warning
CovariantEquals0warning Warning
DeclarationOrder0warning Warning
DefaultComesLast0error Error
DoubleCheckedLocking0error Error
EmptyStatement0error Error
EqualsHashCode0warning Warning
ExplicitInitialization0info Info
HiddenField0info Info
IllegalCatch1warning Warning
IllegalType0warning Warning
InnerAssignment0warning Warning
JUnitTestCase0error Error
MagicNumber0error Error
MissingCtor1warning Warning
MissingSwitchDefault0warning Warning
MultipleVariableDeclarations0info Info
ParameterAssignment0warning Warning
PackageDeclaration0error Error
SimplifyBooleanExpression0warning Warning
SimplifyBooleanReturn0warning Warning
StringLiteralEquality0warning Warning
SuperClone0warning Warning
SuperFinalize0warning Warning
FinalClass0warning Warning
HideUtilityClassConstructor0error Error
InterfaceIsType0warning Warning
MutableException0error Error
VisibilityModifier
  • packageAllowed: "true"
  • publicMemberPattern: "^serialVersionUID$"
  • protectedAllowed: "true"
0warning Warning
BooleanExpressionComplexity2info Info
ClassDataAbstractionCoupling0info Info
ClassFanOutComplexity0info Info
CyclomaticComplexity1info Info
NPathComplexity0info Info
ArrayTypeStyle
  • javaStyle: "true"
0warning Warning
Indentation
  • basicOffset: "4"
  • caseIndent: "4"
  • braceAdjustment: "0"
0warning Warning
GenericIllegalRegexp
  • format: "System\.out\.print"
4error Error
GenericIllegalRegexp
  • format: "System\.err\.print"
4error Error
GenericIllegalRegexp
  • format: "\.printStackTrace"
4error Error
TodoComment2info Info
UpperEll0warning Warning

Details

uk/co/exemel/watchdog/agent/instrumentation/Instrumentor.java

ViolationMessageLine
errorUnused import - java.io.ByteArrayInputStream.19
errorUnused import - java.io.IOException.20
errorUnused import - java.util.ArrayList.25
errorUnused import - java.util.Collection.26
errorUnused import - java.util.Iterator.27
errorUnused import - org.apache.bcel.Constants.29
errorUnused import - org.apache.bcel.classfile.ClassParser.30
errorUnused import - org.apache.bcel.classfile.JavaClass.31
errorUnused import - org.apache.bcel.classfile.Method.32
errorUnused import - org.apache.bcel.generic.ALOAD.33
errorUnused import - org.apache.bcel.generic.ASTORE.34
errorUnused import - org.apache.bcel.generic.ATHROW.35
errorUnused import - org.apache.bcel.generic.ArrayType.36
errorUnused import - org.apache.bcel.generic.BasicType.37
errorUnused import - org.apache.bcel.generic.ClassGen.38
errorUnused import - org.apache.bcel.generic.ConstantPoolGen.39
errorUnused import - org.apache.bcel.generic.InstructionFactory.40
errorUnused import - org.apache.bcel.generic.InstructionHandle.41
errorUnused import - org.apache.bcel.generic.InstructionList.42
errorUnused import - org.apache.bcel.generic.JSR.43
errorUnused import - org.apache.bcel.generic.MethodGen.44
errorUnused import - org.apache.bcel.generic.RET.45
errorUnused import - org.apache.bcel.generic.RETURN.46
errorUnused import - org.apache.bcel.generic.Type.47
errorUnused import - org.apache.bcel.verifier.VerificationResult.48
errorUnused import - org.apache.bcel.verifier.Verifier.49
errorUnused import - org.apache.bcel.verifier.VerifierFactory.50
errorRedundant import from the same package - uk.co.exemel.watchdog.agent.instrumentation.InstrumentorUtils.51
errorUnused import - uk.co.exemel.watchdog.agent.timers.TimerManager.52
errorUnused import - uk.co.exemel.watchdog.agent.timings.MethodTiming.53
warningClass should define a constructor.67
warningMissing a Javadoc comment.69
infoComment matches to-do format 'TODO:'.72
errorLine matches the illegal pattern 'System\.out\.print'.73
warningMissing a Javadoc comment.77
errorLine matches the illegal pattern 'System\.out\.print'.79
warningMissing a Javadoc comment.83
warning'<' is not preceded with whitespace.83
warning'<' is not followed by whitespace.83
warning'?' is not preceded with whitespace.83
warning'>' is not preceded with whitespace.83
warning'?' is not followed by whitespace.83
errorLine matches the illegal pattern 'System\.out\.print'.89
warningCatching 'RuntimeException' is not allowed.95
errorLine matches the illegal pattern '\.printStackTrace'.97
infoCyclomatic Complexity is 22 (max allowed is 10).102
warningMissing a Javadoc comment.102
infoComment matches to-do format 'TODO:'.104
errorLine contains a tab character.104
errorLine contains a tab character.105
infoBoolean expression complexity is 8 (max allowed is 3).106
infoBoolean expression complexity is 11 (max allowed is 3).120

uk/co/exemel/watchdog/agent/instrumentation/package.html

ViolationMessageLine
warningMissing package documentation file.0