Checkstyle Results

The following document contains the results of Checkstylerss feed

Summary

FilesInfos InfosWarnings WarningsErrors Errors
3300251

Rules

RulesViolationsSeverity
FileLength0Errors Error
NewlineAtEndOfFile0Errors Error
AbstractClassName0Errors Error
AnnotationUseStyle0Errors Error
AnonInnerLength5Errors Error
ArrayTypeStyle0Errors Error
AvoidInlineConditionals1Errors Error
AvoidStaticImport0Errors Error
ClassDataAbstractionCoupling5Errors Error
ClassFanOutComplexity4Errors Error
ClassTypeParameterName0Errors Error
ConstantName8Errors Error
CovariantEquals1Errors Error
DeclarationOrder10Errors Error
DefaultComesLast0Errors Error
DescendantToken0Errors Error
DesignForExtension0Errors Error
DoubleCheckedLocking0Errors Error
EmptyBlock0Errors Error
EmptyForInitializerPad0Errors Error
EmptyForIteratorPad0Errors Error
EmptyStatement0Errors Error
EqualsAvoidNull0Errors Error
EqualsHashCode1Errors Error
ExecutableStatementCount12Errors Error
ExplicitInitialization2Errors Error
FallThrough0Errors Error
FinalClass0Errors Error
FinalLocalVariable4Errors Error
FinalParameters0Errors Error
GenericWhitespace0Errors Error
HiddenField
  • ignoreConstructorParameter: "true"
  • ignoreSetter: "true"
1Errors Error
HideUtilityClassConstructor0Errors Error
IllegalCatch2Errors Error
IllegalImport0Errors Error
IllegalInstantiation0Errors Error
IllegalThrows0Errors Error
IllegalTokenText0Errors Error
IllegalType1Errors Error
Indentation0Errors Error
InnerAssignment0Errors Error
InterfaceIsType0Errors Error
JUnitTestCase0Errors Error
JavaNCSS6Errors Error
LeftCurly0Errors Error
LocalFinalVariableName8Errors Error
LocalVariableName0Errors Error
MemberName5Errors Error
MethodName0Errors Error
MethodParamPad0Errors Error
MethodTypeParameterName0Errors Error
MissingDeprecated0Errors Error
MissingOverride0Errors Error
ModifierOrder0Errors Error
MultipleStringLiterals15Errors Error
MultipleVariableDeclarations0Errors Error
MutableException0Errors Error
NPathComplexity2Errors Error
NeedBraces0Errors Error
NoClone0Errors Error
NoFinalizer0Errors Error
NoWhitespaceBefore0Errors Error
OperatorWrap0Errors Error
OuterTypeNumber0Errors Error
PackageAnnotation0Errors Error
PackageDeclaration0Errors Error
PackageName0Errors Error
ParameterName10Errors Error
ParameterNumber0Errors Error
ParenPad0Errors Error
RedundantImport0Errors Error
RedundantModifier0Errors Error
RedundantThrows0Errors Error
RightCurly0Errors Error
StaticVariableName0Errors Error
SuperClone0Errors Error
SuperFinalize0Errors Error
SuppressWarnings0Errors Error
ThrowsCount1Errors Error
TodoComment0Errors Error
TypeName0Errors Error
TypecastParenPad0Errors Error
UncommentedMain
  • excludedClasses: "OpenLogViewer"
0Errors Error
UpperEll0Errors Error
VisibilityModifier0Errors Error
WhitespaceAfter0Errors Error
WhitespaceAround8Errors Error
InnerTypeLast0Errors Error
MethodCount0Errors Error
NestedForDepth0Errors Error
OneStatementPerLine0Errors Error
OuterTypeFilename0Errors Error
MagicNumber95Errors Error
UnusedImports0Errors Error
AvoidStarImport0Errors Error
NoWhitespaceAfter0Errors Error
BooleanExpressionComplexity0Errors Error
CyclomaticComplexity11Errors Error
MethodLength3Errors Error
MissingSwitchDefault0Errors Error
ModifiedControlVariable1Errors Error
NestedTryDepth0Errors Error
ParameterAssignment0Errors Error
SimplifyBooleanExpression0Errors Error
SimplifyBooleanReturn0Errors Error
StringLiteralEquality0Errors Error
LineLength
  • max: "160"
11Errors Error
NestedIfDepth
  • max: "2"
13Errors Error
ReturnCount5Errors Error

Details

org/diyefi/openlogviewer/OpenLogViewer.java

ViolationMessageLine
ErrorsClass Data Abstraction Coupling is 30 (max allowed is 7) classes [AbstractAction, ActionListener, ArrayList, BorderLayout, CSVFileFilter, CSVTypeLog, Dimension, EntireGraphingPanel, File, FileInputStream, FileOutputStream, FooterPanel, FreeEMSBin, FreeEMSBinFileFilter, FreeEMSFileFilter, FreeEMSLAFileFilter, JFileChooser, JMenu, JMenuBar, JMenuItem, JPanel, LogFileFilter, MSTypeFileFilter, MacOSAboutHandler, OptionFrameV2, Point, Properties, PropertiesPane, Runnable, WindowEvent].87
ErrorsClass Fan-Out Complexity is 50 (max allowed is 20).87
ErrorsName 'buildInfo' must match pattern '^[A-Z][A-Z0-9]*(_[A-Z0-9]+)*$'.92
ErrorsDeclaring variables, return values or parameters of type 'AbstractDecoder' is not allowed.126
ErrorsExecutable statement count is 74 (max allowed is 30).135
ErrorsMethod length is 153 lines (max allowed is 150).135
ErrorsNCSS for this method is 93 (max allowed is 50).135
ErrorsVariable 'preliminaryVersion' should be declared final.141
ErrorsAnonymous inner class length is 56 lines (max allowed is 20).295
ErrorsCyclomatic Complexity is 12 (max allowed is 10).297
ErrorsExecutable statement count is 31 (max allowed is 30).422
ErrorsCyclomatic Complexity is 14 (max allowed is 10).525

org/diyefi/openlogviewer/decoder/CSVTypeLog.java

ViolationMessageLine
ErrorsVariable 'finalAndInitialLength' should be declared final.90

org/diyefi/openlogviewer/decoder/FreeEMSBin.java

ViolationMessageLine
ErrorsName 'initialLength' must match pattern '^[A-Z][A-Z0-9]*(_[A-Z0-9]+)*$'.43
ErrorsName 'loadFactor' must match pattern '^[A-Z][A-Z0-9]*(_[A-Z0-9]+)*$'.44
ErrorsVariable 'firstTempClockStored' explicitly initialized to 'false' (default value for its type).72
ErrorsVariable 'firstClockInMilliSecondsStored' explicitly initialized to 'false' (default value for its type).77
ErrorsStatic variable definition in wrong order.80
ErrorsStatic variable definition in wrong order.91
ErrorsStatic variable definition in wrong order.102
ErrorsStatic variable definition in wrong order.113
ErrorsStatic variable definition in wrong order.124
ErrorsStatic variable definition in wrong order.144
Errors'100' is a magic number.146
Errors'-273.15' is a magic number.146
Errors'100' is a magic number.147
Errors'-273.15' is a magic number.147
Errors'640' is a magic number.148
Errors'32768' is a magic number.149
Errors'100' is a magic number.150
Errors'100' is a magic number.151
Errors'1000' is a magic number.152
Errors'100' is a magic number.153
Errors'-273.15' is a magic number.153
Errors'32768' is a magic number.154
Errors'100' is a magic number.155
Errors'512' is a magic number.164
Errors'512' is a magic number.165
Errors'32768' is a magic number.166
Errors'1250' is a magic number.169
Errors'100.0' is a magic number.170
Errors'16384.0' is a magic number.170
Errors'1250' is a magic number.171
Errors'1250' is a magic number.172
Errors'1250' is a magic number.173
Errors'1250' is a magic number.174
Errors'50' is a magic number.175
Errors'1250' is a magic number.176
ErrorsThe String "tempClock" appears 2 times in the file.179
ErrorsThe String "clockInMilliSeconds" appears 2 times in the file.203
Errors'8' is a magic number.204
Errors'32' is a magic number.235
Errors'if' is not followed by whitespace.247
Errors'{' is not preceded with whitespace.247
Errors'else' is not preceded with whitespace.249
Errors'}' is not followed by whitespace.249
Errors'if' is not followed by whitespace.249
Errors'{' is not preceded with whitespace.249
ErrorsCyclomatic Complexity is 19 (max allowed is 10).268
ErrorsExecutable statement count is 77 (max allowed is 30).268
ErrorsNCSS for this method is 94 (max allowed is 50).268
ErrorsNested if-else depth is 3 (max allowed is 2).310
ErrorsNested if-else depth is 4 (max allowed is 2).311
ErrorsNested if-else depth is 3 (max allowed is 2).325
ErrorsCatching 'Exception' is not allowed.362
ErrorsCyclomatic Complexity is 27 (max allowed is 10).396
ErrorsExecutable statement count is 62 (max allowed is 30).396
ErrorsNCSS for this method is 83 (max allowed is 50).396
ErrorsNPath Complexity is 6,096 (max allowed is 200).396
ErrorsReturn count is 3 (max allowed is 2).396
ErrorsName 'HEADER_HAS_LENGTH_INDEX' must match pattern '^[a-z][a-zA-Z0-9]*$'.397
ErrorsName 'HEADER_HAS_SEQUENCE_INDEX' must match pattern '^[a-z][a-zA-Z0-9]*$'.399
Errors'256' is a magic number.417
Errors'256' is a magic number.457
Errors'if' is not followed by whitespace.465
Errors'65536' is a magic number.466
Errors'1000d' is a magic number.472
ErrorsNested if-else depth is 3 (max allowed is 2).482
Errors'255' is a magic number.482
ErrorsNested if-else depth is 3 (max allowed is 2).487
Errors'1000' is a magic number.488
Errors'-1000d' is a magic number.488
Errors'8' is a magic number.522
Errors'16' is a magic number.522
Errors'32' is a magic number.522
Errors'256' is a magic number.554
ErrorsReturn count is 4 (max allowed is 2).567
Errors'0xFF' is a magic number.586

org/diyefi/openlogviewer/decoder/LogField.java

ViolationMessageLine
ErrorsName 'divideByOne' must match pattern '^[A-Z][A-Z0-9]*(_[A-Z0-9]+)*$'.26
ErrorsName 'addToZero' must match pattern '^[A-Z][A-Z0-9]*(_[A-Z0-9]+)*$'.27
ErrorsName 'ID' must match pattern '^[a-z][a-zA-Z0-9]*$'.29
ErrorsName 'ID' must match pattern '^[a-z][a-zA-Z0-9]*$'.41
ErrorsName 'ID' must match pattern '^[a-z][a-zA-Z0-9]*$'.44
ErrorsName 'ID' must match pattern '^[a-z][a-zA-Z0-9]*$'.47
ErrorsName 'ID' must match pattern '^[a-z][a-zA-Z0-9]*$'.51
ErrorsName 'ID' must match pattern '^[a-z][a-zA-Z0-9]*$'.54
ErrorsName 'ID' must match pattern '^[a-z][a-zA-Z0-9]*$'.58
ErrorsThe String "ID is null, needs to be a valid string!" appears 2 times in the file.65
ErrorsCyclomatic Complexity is 12 (max allowed is 10).75
ErrorsName 'ID' must match pattern '^[a-z][a-zA-Z0-9]*$'.75
Errors'8' is a magic number.88
Errors'16' is a magic number.90
Errors'32' is a magic number.92

org/diyefi/openlogviewer/filefilters/FreeEMSFileFilter.java

ViolationMessageLine
ErrorsReturn count is 4 (max allowed is 2).47

org/diyefi/openlogviewer/filefilters/MSTypeFileFilter.java

ViolationMessageLine
ErrorsReturn count is 6 (max allowed is 2).46

org/diyefi/openlogviewer/genericlog/GenericDataElement.java

ViolationMessageLine
ErrorsReturn count is 3 (max allowed is 2).173
ErrorsThrows count is 2 (max allowed is 1).174

org/diyefi/openlogviewer/genericlog/GenericLog.java

ViolationMessageLine
ErrorsName 'tempResetKey' must match pattern '^[A-Z][A-Z0-9]*(_[A-Z0-9]+)*$'.40
ErrorsName 'elapsedTimeKey' must match pattern '^[A-Z][A-Z0-9]*(_[A-Z0-9]+)*$'.41
ErrorsExecutable statement count is 31 (max allowed is 30).132

org/diyefi/openlogviewer/graphing/EntireGraphingPanel.java

ViolationMessageLine
ErrorsNCSS for this method is 67 (max allowed is 50).794

org/diyefi/openlogviewer/graphing/GraphPositionPanel.java

ViolationMessageLine
Errors'2.5' is a magic number.62
ErrorsCyclomatic Complexity is 12 (max allowed is 10).96
Errors'6' is a magic number.132
ErrorsCyclomatic Complexity is 14 (max allowed is 10).144
ErrorsExecutable statement count is 32 (max allowed is 30).144
ErrorsNested if-else depth is 3 (max allowed is 2).172
Errors'3' is a magic number.255
Errors'3' is a magic number.259

org/diyefi/openlogviewer/graphing/InfoPanel.java

ViolationMessageLine
ErrorsCyclomatic Complexity is 11 (max allowed is 10).66
ErrorsExecutable statement count is 38 (max allowed is 30).66
Errors'3' is a magic number.87
Errors'4' is a magic number.116

org/diyefi/openlogviewer/graphing/SingleGraphPanel.java

ViolationMessageLine
ErrorsCyclomatic Complexity is 45 (max allowed is 10).116
ErrorsExecutable statement count is 75 (max allowed is 30).116
ErrorsMethod length is 152 lines (max allowed is 150).116
ErrorsNCSS for this method is 100 (max allowed is 50).116
ErrorsNPath Complexity is 38,020 (max allowed is 200).116
ErrorsLine is longer than 160 characters.141
ErrorsLine is longer than 160 characters.190
ErrorsLine is longer than 160 characters.234
ErrorsLine is longer than 160 characters.239
ErrorsLine is longer than 160 characters.246
ErrorsLine is longer than 160 characters.247
ErrorsLine is longer than 160 characters.251
ErrorsLine is longer than 160 characters.252
ErrorsCyclomatic Complexity is 24 (max allowed is 10).475
ErrorsExecutable statement count is 82 (max allowed is 30).475
ErrorsMethod length is 165 lines (max allowed is 150).475
ErrorsNCSS for this method is 94 (max allowed is 50).475
Errors'3' is a magic number.485
ErrorsNested if-else depth is 3 (max allowed is 2).530
ErrorsNested if-else depth is 4 (max allowed is 2).534
ErrorsNested if-else depth is 4 (max allowed is 2).538
ErrorsNested if-else depth is 4 (max allowed is 2).543
ErrorsNested if-else depth is 4 (max allowed is 2).547
ErrorsNested if-else depth is 3 (max allowed is 2).554

org/diyefi/openlogviewer/optionpanel/OptionFrameV2.java

ViolationMessageLine
ErrorsClass Data Abstraction Coupling is 11 (max allowed is 7) classes [ActionListener, ActiveHeaderLabel, ArrayList, ContainerListener, Dimension, JButton, JLayeredPane, JPanel, JScrollPane, ModifyGraphPane, MouseMotionAdapter].60
ErrorsClass Fan-Out Complexity is 22 (max allowed is 20).60
ErrorsAnonymous inner class length is 28 lines (max allowed is 20).114
Errors'1280' is a magic number.176
ErrorsCyclomatic Complexity is 11 (max allowed is 10).208
ErrorsName 'GCB' must match pattern '^[a-z][a-zA-Z0-9]*$'.215
ErrorsControl variable 'i' is modified.223
ErrorsInstance variable definition in wrong order.257
ErrorsAnonymous inner class length is 31 lines (max allowed is 20).257
ErrorsName 'GCB' must match pattern '^[a-z][a-zA-Z0-9]*$'.262
Errors'16' is a magic number.266
ErrorsNested if-else depth is 3 (max allowed is 2).272
ErrorsName 'GCB' must match pattern '^[a-z][a-zA-Z0-9]*$'.289
ErrorsExecutable statement count is 35 (max allowed is 30).302
ErrorsName 'GDE' must match pattern '^[a-z][a-zA-Z0-9]*$'.324
ErrorsName 'GDE' must match pattern '^[a-z][a-zA-Z0-9]*$'.357
ErrorsName 'GDE' must match pattern '^[a-z][a-zA-Z0-9]*$'.376
ErrorsName 'AHL' must match pattern '^[a-z][a-zA-Z0-9]*$'.377
ErrorsExecutable statement count is 33 (max allowed is 30).427
Errors'10' is a magic number.431
Errors'100' is a magic number.432
Errors'20' is a magic number.435
Errors'10' is a magic number.437
Errors'100' is a magic number.438
Errors'20' is a magic number.438
Errors'40' is a magic number.442
Errors'60' is a magic number.446
Errors'100' is a magic number.450
Errors'60' is a magic number.450
Errors'80' is a magic number.454
Errors'500' is a magic number.467
Errors'180' is a magic number.467
Errors'210' is a magic number.467
Errors'133' is a magic number.467
ErrorsName 'GDE' must match pattern '^[a-z][a-zA-Z0-9]*$'.507
ErrorsAnonymous inner class length is 57 lines (max allowed is 20).513
Errors'16' is a magic number.517
Errors'18' is a magic number.519
ErrorsName 'GCB' must match pattern '^[a-z][a-zA-Z0-9]*$'.537
ErrorsName 'GCB' must match pattern '^[a-z][a-zA-Z0-9]*$'.543
Errors'GDE' hides a field.588
ErrorsName 'GDE' must match pattern '^[a-z][a-zA-Z0-9]*$'.588
ErrorsName 'GCB' must match pattern '^[a-z][a-zA-Z0-9]*$'.671

org/diyefi/openlogviewer/propertypanel/PropertiesPane.java

ViolationMessageLine
ErrorsClass Data Abstraction Coupling is 19 (max allowed is 7) classes [ActionListener, ArrayList, BorderLayout, BufferedWriter, Color, Dimension, File, FileReader, FileWriter, FlowLayout, JButton, JMenu, JMenuBar, JMenuItem, JPanel, JScrollPane, PropertyPanel, Scanner, SingleProperty].65
ErrorsClass Fan-Out Complexity is 24 (max allowed is 20).65
ErrorsName 'OLVProperties' must match pattern '^[a-z][a-zA-Z0-9]*$'.72
Errors'350' is a magic number.83
Errors'500' is a magic number.83
Errors'550' is a magic number.84
Errors'500' is a magic number.84
Errors'400' is a magic number.92
ErrorsThe String "OLVProperties.olv" appears 2 times in the file.122
ErrorsCatching 'Exception' is not allowed.137
Errors'500' is a magic number.178
Errors'32' is a magic number.178
Errors'3' is a magic number.222
Errors'4' is a magic number.223
Errors'5' is a magic number.224
Errors'6' is a magic number.225
Errors'60' is a magic number.292
Errors'60' is a magic number.327
ErrorsClass Data Abstraction Coupling is 8 (max allowed is 7) classes [Dimension, FlowLayout, JCheckBox, JComboBox, JLabel, JPanel, JTextField, MouseListener].336
ErrorsExecutable statement count is 39 (max allowed is 30).346
Errors'10' is a magic number.348
Errors'500' is a magic number.350
Errors'50' is a magic number.350
Errors'15' is a magic number.357
Errors'20' is a magic number.357
Errors'50' is a magic number.360
Errors'20' is a magic number.360
Errors'50' is a magic number.363
Errors'20' is a magic number.363
Errors'30' is a magic number.367
Errors'20' is a magic number.367
Errors'60' is a magic number.375
Errors'20' is a magic number.375
ErrorsAnonymous inner class length is 28 lines (max allowed is 20).378

org/diyefi/openlogviewer/propertypanel/SingleProperty.java

ViolationMessageLine
ErrorsDefinition of 'equals()' without corresponding definition of 'hashCode()'.139
Errorscovariant equals without overriding equals(java.lang.Object).139

org/diyefi/openlogviewer/subframes/AboutFrame.java

ViolationMessageLine
ErrorsClass Data Abstraction Coupling is 13 (max allowed is 7) classes [BorderLayout, BoxLayout, Date, Dimension, HyperlinkListener, ImageIcon, JEditorPane, JLabel, JPanel, JTextPane, SimpleAttributeSet, SimpleDateFormat, StringBuilder].55
ErrorsClass Fan-Out Complexity is 22 (max allowed is 20).55
ErrorsName 'bytesPerMegaByte' must match pattern '^[A-Z][A-Z0-9]*(_[A-Z0-9]+)*$'.56
ErrorsStatic variable definition in wrong order.64
ErrorsStatic variable definition in wrong order.76
Errors'synchronized' is not followed by whitespace.85
ErrorsConstructor definition in wrong order.94
ErrorsLine is longer than 160 characters.160
ErrorsThe String "'>" appears 3 times in the file.166
ErrorsLine is longer than 160 characters.181
ErrorsLine is longer than 160 characters.182
ErrorsThe String "os.name" appears 2 times in the file.182
ErrorsThe String " " appears 4 times in the file.182
ErrorsThe String "os.arch" appears 2 times in the file.182
ErrorsThe String "os.version" appears 2 times in the file.182
ErrorsThe String "java.version" appears 2 times in the file.183
ErrorsThe String " on a " appears 2 times in the file.183
ErrorsThe String "java.vm.version" appears 2 times in the file.183
ErrorsThe String " VM" appears 2 times in the file.183
ErrorsThe String "MB" appears 3 times in the file.207
ErrorsThe String "MB/" appears 2 times in the file.210

org/diyefi/openlogviewer/utils/Utilities.java

ViolationMessageLine
ErrorsVariable 'is' should be declared final.52
ErrorsVariable 'data' should be declared final.54
Errors'8192' is a magic number.54
ErrorsAvoid inline conditionals.66