Checkstyle Results

The following document contains the results of Checkstylerss feed

Summary

Files Infos Infos Warnings Warnings Errors Errors
75 0 261 0

Files

Files Infos Warnings Errors
daylightchart/LauncherMain.java 0 10 0
daylightchart/Main.java 0 1 0
daylightchart/daylightchart/calculation/DaylightBand.java 0 1 0
daylightchart/daylightchart/calculation/RiseSet.java 0 7 0
daylightchart/daylightchart/calculation/RiseSetUtility.java 0 17 0
daylightchart/daylightchart/calculation/RiseSetYearData.java 0 6 0
daylightchart/daylightchart/calculation/TwilightType.java 0 2 0
daylightchart/daylightchart/chart/ChartConfiguration.java 0 6 0
daylightchart/daylightchart/chart/ChartOrientation.java 0 1 0
daylightchart/daylightchart/chart/DaylightChart.java 0 16 0
daylightchart/daylightchart/chart/DaylightChartBand.java 0 2 0
daylightchart/daylightchart/chart/Messages.java 0 1 0
daylightchart/daylightchart/layout/ChartFileType.java 0 1 0
daylightchart/daylightchart/layout/DaylightChartReport.java 0 3 0
daylightchart/gui/DaylightChartGui.java 0 15 0
daylightchart/gui/LocationDialog.java 0 20 0
daylightchart/gui/LocationsList.java 0 5 0
daylightchart/gui/Messages.java 0 1 0
daylightchart/gui/OptionsDialog.java 0 8 0
daylightchart/gui/actions/LocationFileType.java 0 1 0
daylightchart/gui/actions/LocationsListOperation.java 0 4 0
daylightchart/gui/actions/OpenLocationsFileAction.java 0 2 0
daylightchart/gui/actions/OpenReportFileAction.java 0 1 0
daylightchart/gui/actions/ReportDesignFileType.java 0 1 0
daylightchart/gui/actions/SaveChartAction.java 0 1 0
daylightchart/gui/actions/SaveLocationsFileAction.java 0 1 0
daylightchart/gui/actions/SaveReportFileAction.java 0 1 0
daylightchart/gui/util/Actions.java 0 1 0
daylightchart/gui/util/BareBonesBrowserLaunch.java 0 4 0
daylightchart/gui/util/CloseTabIcon.java 0 1 0
daylightchart/gui/util/ExitAction.java 0 1 0
daylightchart/gui/util/GuiAction.java 0 2 0
daylightchart/options/BaseDataFile.java 0 3 0
daylightchart/options/BaseLocationsDataFile.java 0 13 0
daylightchart/options/BaseTypedFile.java 0 1 0
daylightchart/options/Options.java 0 7 0
daylightchart/options/OptionsDataFile.java 0 2 0
daylightchart/options/ReportDataFile.java 0 4 0
daylightchart/options/UserPreferences.java 0 7 0
daylightchart/options/chart/AxisOptions.java 0 19 0
daylightchart/options/chart/BaseChartOptions.java 0 4 0
daylightchart/options/chart/ChartOptions.java 0 6 0
daylightchart/options/chart/PlotOptions.java 0 10 0
daylightchart/options/chart/TitleOptions.java 0 7 0
daylightchart/sunchart/calculation/SunChartUtility.java 0 13 0
daylightchart/sunchart/calculation/SunChartYearData.java 0 1 0
daylightchart/sunchart/calculation/SunPosition.java 0 7 0
daylightchart/sunchart/calculation/SunPositions.java 0 1 0
daylightchart/sunchart/chart/SunChart.java 0 7 0
sf/util/CommandLineParser.java 0 3 0
sf/util/CommandLineUtility.java 0 2 0

Rules

Rules Violations Severity
IllegalImport 1 Warnings Warning
RedundantImport 0 Warnings Warning
UnusedImports 0 Warnings Warning
ExecutableStatementCount 4 Warnings Warning
FileLength
  • max : "500"
2 Warnings Warning
MethodLength
  • max : "50"
  • tokens : "METHOD_DEF"
  • countEmpty : "false"
8 Warnings Warning
AnonInnerLength
  • max : "10"
6 Warnings Warning
ParameterNumber
  • max : "5"
0 Warnings Warning
FinalClass 6 Warnings Warning
HideUtilityClassConstructor 2 Warnings Warning
InterfaceIsType 0 Warnings Warning
VisibilityModifier
  • packageAllowed : "true"
  • protectedAllowed : "true"
0 Warnings Warning
MutableException 0 Warnings Warning
ThrowsCount
  • max : "3"
0 Warnings Warning
AvoidInlineConditionals 0  Ignore
CovariantEquals 0 Warnings Warning
DeclarationOrder 0  Ignore
DefaultComesLast 0 Warnings Warning
DoubleCheckedLocking 0 Warnings Warning
EmptyStatement 0 Warnings Warning
EqualsHashCode 0 Warnings Warning
ExplicitInitialization 0 Warnings Warning
FallThrough 0 Warnings Warning
FinalLocalVariable
  • tokens : "PARAMETER_DEF"
18 Warnings Warning
HiddenField
  • ignoreConstructorParameter : "true"
  • ignoreSetter : "true"
14 Warnings Warning
IllegalCatch 16 Warnings Warning
IllegalInstantiation
  • classes : "java.lang.Boolean"
0 Warnings Warning
IllegalToken
  • tokens : "LITERAL_NATIVE,LITERAL_VOLATILE,PLUS_ASSIGN,MINUS_ASSIGN,STAR_ASSIGN,DIV_ASSIGN,MOD_ASSIGN,SR_ASSIGN,BSR_ASSIGN,SL_ASSIGN,SL,SR,BSR,BNOT"
2 Warnings Warning
IllegalTokenText
  • tokens : "NUM_INT,NUM_LONG"
  • format : "^0[^lx]"
  • ignoreCase : "true"
0 Warnings Warning
IllegalType 0 Warnings Warning
InnerAssignment 0 Warnings Warning
MagicNumber
  • ignoreNumbers : "0,1,-1,2,29"
  • tokens : "NUM_DOUBLE,NUM_FLOAT,NUM_INT"
52 Warnings Warning
MissingSwitchDefault 2 Warnings Warning
MultipleVariableDeclarations 0 Warnings Warning
NestedIfDepth
  • max : "3"
0 Warnings Warning
NestedTryDepth 0 Warnings Warning
PackageDeclaration 0 Warnings Warning
ParameterAssignment 0 Warnings Warning
RedundantThrows 0 Warnings Warning
ReturnCount
  • max : "3"
1 Warnings Warning
SimplifyBooleanExpression 0 Warnings Warning
SimplifyBooleanReturn 0 Warnings Warning
StringLiteralEquality 0 Warnings Warning
SuperClone 0 Warnings Warning
SuperFinalize 0 Warnings Warning
UnnecessaryParentheses 1 Warnings Warning
ArrayTypeStyle 0 Warnings Warning
FinalParameters 17 Warnings Warning
TodoComment 0 Warnings Warning
UncommentedMain
  • excludedClasses : "\.Main$|\.Version$"
4 Warnings Warning
UpperEll 0 Warnings Warning
BooleanExpressionComplexity
  • max : "7"
0 Warnings Warning
ClassDataAbstractionCoupling
  • max : "10"
5 Warnings Warning
ClassFanOutComplexity 5 Warnings Warning
CyclomaticComplexity 5 Warnings Warning
NPathComplexity 1 Warnings Warning
EmptyBlock 0 Warnings Warning
ModifierOrder 1 Warnings Warning
RedundantModifier 2 Warnings Warning
AvoidStarImport 0 Warnings Warning
ImportOrder 0  Ignore
UnusedImports 0  Ignore
JavaNCSS 2 Warnings Warning
TodoComment 0 Warnings Warning
AbstractClassName
  • format : "^Abstract.*$|^.*Factory$|^Base.*$"
0 Warnings Warning
ConstantName 12 Warnings Warning
LocalFinalVariableName 1 Warnings Warning
LocalVariableName 0 Warnings Warning
MemberName 0 Warnings Warning
MethodName 0 Warnings Warning
PackageName 0 Warnings Warning
ParameterName 0 Warnings Warning
StaticVariableName 0 Warnings Warning
TypeName 0 Warnings Warning
AvoidNestedBlocks 0 Warnings Warning
NeedBraces 0 Warnings Warning
JavadocMethod
  • allowMissingPropertyJavadoc : "true"
  • scope : "public"
10 Warnings Warning
JavadocStyle
  • excludeScope : "nothing"
  • scope : "public"
  • tokens : "INTERFACE_DEF,CLASS_DEF,METHOD_DEF,CTOR_DEF"
  • checkEmptyJavadoc : "true"
58 Warnings Warning
JavadocType
  • scope : "public"
3 Warnings Warning
StrictDuplicateCode 0  Ignore

Details

daylightchart/LauncherMain.java

Violation Message Line
Warnings Utility classes should not have a public or default constructor. 22
Warnings Name '_classpath' must match pattern '^[A-Z][A-Z0-9]*(_[A-Z0-9]+)*$'. 25
Warnings Uncommented main method found. 48
Warnings Using '+=' is not allowed. 78
Warnings Using '+=' is not allowed. 94
Warnings Catching 'Exception' is not allowed. 168
Warnings Parameter dir should be final. 189
Warnings Variable 'dir' should be declared final. 189
Warnings Parameter name should be final. 189
Warnings Variable 'name' should be declared final. 189

daylightchart/Main.java

Violation Message Line
Warnings Catching 'Exception' is not allowed. 112

daylightchart/daylightchart/calculation/DaylightBand.java

Violation Message Line
Warnings First sentence should end with a period. 85

daylightchart/daylightchart/calculation/RiseSet.java

Violation Message Line
Warnings Cyclomatic Complexity is 15 (max allowed is 10). 60
Warnings 'date' hides a field. 280
Warnings 'sunrise' hides a field. 295
Warnings 'sunset' hides a field. 295
Warnings 'date' hides a field. 300
Warnings '24D' is a magic number. 310
Warnings '24' is a magic number. 313

daylightchart/daylightchart/calculation/RiseSetUtility.java

Violation Message Line
Warnings File length is 546 lines (max allowed is 500). 1
Warnings Class Data Abstraction Coupling is 11 (max allowed is 10) classes [ArrayList, DaylightBand, DecimalFormat, File, FileWriter, LocalDate, Options, PrintWriter, RawRiseSet, RiseSet, RiseSetYearData]. 57
Warnings Class Fan-Out Complexity is 24 (max allowed is 20). 57
Warnings Name 'sunAlgorithm' must match pattern '^[A-Z][A-Z0-9]*(_[A-Z0-9]+)*$'. 63
Warnings Method length is 67 lines (max allowed is 50). 77
Warnings Uncommented main method found. 166
Warnings Cyclomatic Complexity is 19 (max allowed is 10). 227
Warnings Method length is 72 lines (max allowed is 50). 227
Warnings Return count is 4 (max allowed is 3). 330
Warnings '9' is a magic number. 341
Warnings '15' is a magic number. 351
Warnings Unnecessary parentheses around assignment right-hand side. 402
Warnings Cyclomatic Complexity is 12 (max allowed is 10). 453
Warnings Executable statement count is 35 (max allowed is 30). 453
Warnings Method length is 76 lines (max allowed is 50). 453
Warnings NPath Complexity is 336 (max allowed is 200). 453
Warnings '3' is a magic number. 465

daylightchart/daylightchart/calculation/RiseSetYearData.java

Violation Message Line
Warnings 'riseSets' hides a field. 128
Warnings 'twilights' hides a field. 129
Warnings 'twilight' hides a field. 133
Warnings 'bands' hides a field. 169
Warnings Parameter adjustedForDaylightSavings should be final. 207
Warnings Variable 'adjustedForDaylightSavings' should be declared final. 207

daylightchart/daylightchart/calculation/TwilightType.java

Violation Message Line
Warnings '-5D' is a magic number. 33
Warnings '6D' is a magic number. 33

daylightchart/daylightchart/chart/ChartConfiguration.java

Violation Message Line
Warnings Name 'chartDimension' must match pattern '^[A-Z][A-Z0-9]*(_[A-Z0-9]+)*$'. 40
Warnings Name 'monthsFormat' must match pattern '^[A-Z][A-Z0-9]*(_[A-Z0-9]+)*$'. 43
Warnings Name 'daylightColor' must match pattern '^[A-Z][A-Z0-9]*(_[A-Z0-9]+)*$'. 46
Warnings Name 'twilightColor' must match pattern '^[A-Z][A-Z0-9]*(_[A-Z0-9]+)*$'. 48
Warnings Name 'nightColor' must match pattern '^[A-Z][A-Z0-9]*(_[A-Z0-9]+)*$'. 50
Warnings Name 'chartFont' must match pattern '^[A-Z][A-Z0-9]*(_[A-Z0-9]+)*$'. 53

daylightchart/daylightchart/chart/ChartOrientation.java

Violation Message Line
Warnings Missing a Javadoc comment. 54

daylightchart/daylightchart/chart/DaylightChart.java

Violation Message Line
Warnings Class Data Abstraction Coupling is 14 (max allowed is 10) classes [BasicStroke, Date, DateAxis, DateTickUnit, Day, DaylightChartBand, DaylightChartLegendItemSource, IntervalMarker, LegendTitle, Options, RectangleInsets, StandardXYItemRenderer, TextTitle, XYPlot]. 68
Warnings Class Fan-Out Complexity is 25 (max allowed is 20). 68
Warnings '18' is a magic number. 122
Warnings '5.0' is a magic number. 197
Warnings '5.0' is a magic number. 197
Warnings '5.0' is a magic number. 197
Warnings '5.0' is a magic number. 197
Warnings '18' is a magic number. 226
Warnings '12' is a magic number. 229
Warnings '12' is a magic number. 260
Warnings '70' is a magic number. 262
Warnings '70' is a magic number. 262
Warnings '12' is a magic number. 289
Warnings '1900' is a magic number. 294
Warnings '11' is a magic number. 295
Warnings '31' is a magic number. 295

daylightchart/daylightchart/chart/DaylightChartBand.java

Violation Message Line
Warnings '0.1f' is a magic number. 79
Warnings '0.8f' is a magic number. 89

daylightchart/daylightchart/chart/Messages.java

Violation Message Line
Warnings Class Messages should be declared as final. 33

daylightchart/daylightchart/layout/ChartFileType.java

Violation Message Line
Warnings Missing a Javadoc comment. 6

daylightchart/daylightchart/layout/DaylightChartReport.java

Violation Message Line
Warnings Class Fan-Out Complexity is 23 (max allowed is 20). 67
Warnings Variable 'e' should be declared final. 140
Warnings Method length is 63 lines (max allowed is 50). 156

daylightchart/gui/DaylightChartGui.java

Violation Message Line
Warnings Class Data Abstraction Coupling is 26 (max allowed is 10) classes [AboutAction, ChartOptionsAction, ChartPanel, CloseCurrentTabAction, DaylightChartReport, ExitAction, File, ImageIcon, ItemListener, JCheckBoxMenuItem, JMenu, JMenuBar, JSplitPane, JToolBar, LocationsList, LocationsTabbedPane, OnlineHelpAction, OpenLocationTabAction, OpenLocationsFileAction, OpenReportFileAction, OptionsAction, PrintChartAction, ResetAllAction, SaveChartAction, SaveLocationsFileAction, SaveReportFileAction]. 73
Warnings Class Fan-Out Complexity is 34 (max allowed is 20). 73
Warnings 'static' modifier out of order with the JLS suggestions. 78
Warnings Executable statement count is 33 (max allowed is 30). 107
Warnings Parameter location should be final. 186
Warnings Variable 'location' should be declared final. 186
Warnings Javadoc has empty description section. 263
Warnings Parameter location should be final. 276
Warnings Variable 'location' should be declared final. 276
Warnings Parameter selectedLocation should be final. 287
Warnings Variable 'selectedLocation' should be declared final. 287
Warnings Parameter editedLocation should be final. 287
Warnings Variable 'editedLocation' should be declared final. 287
Warnings Executable statement count is 31 (max allowed is 30). 335
Warnings 'slimUi' hides a field. 426

daylightchart/gui/LocationDialog.java

Violation Message Line
Warnings Class LocationDialog should be declared as final. 73
Warnings Class Data Abstraction Coupling is 13 (max allowed is 10) classes [AbstractAction, Color, DefaultFormBuilder, DialogButtonListener, FocusListener, FormLayout, JButton, JComboBox, JTextField, Location, PointLocation, TimeZoneDisplay, Vector]. 73
Warnings Class Fan-Out Complexity is 25 (max allowed is 20). 73
Warnings Executable statement count is 46 (max allowed is 30). 177
Warnings NCSS for this method is 62 (max allowed is 50). 177
Warnings Anonymous inner class length is 33 lines (max allowed is 10). 203
Warnings Parameter e should be final. 205
Warnings Variable 'e' should be declared final. 205
Warnings Parameter event should be final. 209
Warnings Variable 'event' should be declared final. 209
Warnings '10' is a magic number. 245
Warnings '10' is a magic number. 245
Warnings '10' is a magic number. 245
Warnings '10' is a magic number. 245
Warnings '3' is a magic number. 256
Warnings Parameter actionEvent should be final. 301
Warnings Variable 'actionEvent' should be declared final. 301
Warnings '255' is a magic number. 432
Warnings '255' is a magic number. 432
Warnings '204' is a magic number. 432

daylightchart/gui/LocationsList.java

Violation Message Line
Warnings '20' is a magic number. 88
Warnings Anonymous inner class length is 19 lines (max allowed is 10). 90
Warnings Anonymous inner class length is 16 lines (max allowed is 10). 110
Warnings Anonymous inner class length is 18 lines (max allowed is 10). 127
Warnings 'locations' hides a field. 147

daylightchart/gui/Messages.java

Violation Message Line
Warnings Class Messages should be declared as final. 33

daylightchart/gui/OptionsDialog.java

Violation Message Line
Warnings Class OptionsDialog should be declared as final. 60
Warnings '10' is a magic number. 175
Warnings '10' is a magic number. 175
Warnings '10' is a magic number. 175
Warnings '10' is a magic number. 175
Warnings '3' is a magic number. 189
Warnings Parameter actionEvent should be final. 219
Warnings Variable 'actionEvent' should be declared final. 219

daylightchart/gui/actions/LocationFileType.java

Violation Message Line
Warnings Missing a Javadoc comment. 6

daylightchart/gui/actions/LocationsListOperation.java

Violation Message Line
Warnings Method length is 106 lines (max allowed is 50). 97
Warnings NCSS for this method is 64 (max allowed is 50). 97
Warnings Anonymous inner class length is 108 lines (max allowed is 10). 101
Warnings Cyclomatic Complexity is 12 (max allowed is 10). 103

daylightchart/gui/actions/OpenLocationsFileAction.java

Violation Message Line
Warnings Method length is 52 lines (max allowed is 50). 72
Warnings Catching 'RuntimeException' is not allowed. 120

daylightchart/gui/actions/OpenReportFileAction.java

Violation Message Line
Warnings Catching 'RuntimeException' is not allowed. 104

daylightchart/gui/actions/ReportDesignFileType.java

Violation Message Line
Warnings Missing a Javadoc comment. 6

daylightchart/gui/actions/SaveChartAction.java

Violation Message Line
Warnings Catching 'Exception' is not allowed. 100

daylightchart/gui/actions/SaveLocationsFileAction.java

Violation Message Line
Warnings Catching 'Exception' is not allowed. 90

daylightchart/gui/actions/SaveReportFileAction.java

Violation Message Line
Warnings Catching 'Exception' is not allowed. 89

daylightchart/gui/util/Actions.java

Violation Message Line
Warnings Class Actions should be declared as final. 42

daylightchart/gui/util/BareBonesBrowserLaunch.java

Violation Message Line
Warnings Utility classes should not have a public or default constructor. 30
Warnings Name 'errMsg' must match pattern '^[A-Z][A-Z0-9]*(_[A-Z0-9]+)*$'. 33
Warnings Method length is 53 lines (max allowed is 50). 43
Warnings Catching 'Exception' is not allowed. 92

daylightchart/gui/util/CloseTabIcon.java

Violation Message Line
Warnings Anonymous inner class length is 17 lines (max allowed is 10). 104

daylightchart/gui/util/ExitAction.java

Violation Message Line
Warnings First sentence should end with a period. 42

daylightchart/gui/util/GuiAction.java

Violation Message Line
Warnings Catching 'Exception' is not allowed. 93
Warnings First sentence should end with a period. 100

daylightchart/options/BaseDataFile.java

Violation Message Line
Warnings Parameter data should be final. 128
Warnings 'data' hides a field. 128
Warnings Variable 'data' should be declared final. 128

daylightchart/options/BaseLocationsDataFile.java

Violation Message Line
Warnings Parameter settingsDirectory should be final. 85
Warnings Variable 'settingsDirectory' should be declared final. 85
Warnings Parameter resource should be final. 86
Warnings Variable 'resource' should be declared final. 86
Warnings Parameter fileType should be final. 87
Warnings Variable 'fileType' should be declared final. 87
Warnings switch without "default" clause. 108
Warnings Catching 'Exception' is not allowed. 127
Warnings Cyclomatic Complexity is 12 (max allowed is 10). 136
Warnings Method length is 54 lines (max allowed is 50). 136
Warnings switch without "default" clause. 144
Warnings Catching 'Exception' is not allowed. 164
Warnings Catching 'Exception' is not allowed. 217

daylightchart/options/BaseTypedFile.java

Violation Message Line
Warnings Javadoc has empty description section. 146

daylightchart/options/Options.java

Violation Message Line
Warnings Javadoc has empty description section. 90
Warnings Javadoc has empty description section. 98
Warnings Javadoc has empty description section. 143
Warnings Javadoc has empty description section. 151
Warnings Javadoc has empty description section. 177
Warnings Javadoc has empty description section. 205
Warnings Missing a Javadoc comment. 231

daylightchart/options/OptionsDataFile.java

Violation Message Line
Warnings Catching 'Exception' is not allowed. 104
Warnings Catching 'Exception' is not allowed. 162

daylightchart/options/ReportDataFile.java

Violation Message Line
Warnings Parameter fileType should be final. 84
Warnings Variable 'fileType' should be declared final. 84
Warnings Catching 'Exception' is not allowed. 127
Warnings Catching 'Exception' is not allowed. 181

daylightchart/options/UserPreferences.java

Violation Message Line
Warnings Name 'scratchDirectory' must match pattern '^[A-Z][A-Z0-9]*(_[A-Z0-9]+)*$'. 39
Warnings Missing a Javadoc comment. 77
Warnings Missing a Javadoc comment. 111
Warnings Uncommented main method found. 124
Warnings Missing a Javadoc comment. 130
Warnings Missing a Javadoc comment. 135
Warnings Missing a Javadoc comment. 140

daylightchart/options/chart/AxisOptions.java

Violation Message Line
Warnings Import from illegal package - sun.reflect.generics.reflectiveObjects.NotImplementedException. 32
Warnings Javadoc has empty description section. 68
Warnings Javadoc has empty description section. 76
Warnings Javadoc has empty description section. 84
Warnings Javadoc has empty description section. 92
Warnings Javadoc has empty description section. 100
Warnings Javadoc has empty description section. 108
Warnings Javadoc has empty description section. 116
Warnings Javadoc has empty description section. 124
Warnings Javadoc has empty description section. 132
Warnings Javadoc has empty description section. 140
Warnings Javadoc has empty description section. 149
Warnings Javadoc has empty description section. 158
Warnings Javadoc has empty description section. 167
Warnings Javadoc has empty description section. 176
Warnings Javadoc has empty description section. 185
Warnings Javadoc has empty description section. 194
Warnings Javadoc has empty description section. 203
Warnings Javadoc has empty description section. 212

daylightchart/options/chart/BaseChartOptions.java

Violation Message Line
Warnings Name 'chart' must match pattern '^[A-Z][A-Z0-9]*(_[A-Z0-9]+)*$'. 46
Warnings 'chart' hides a field. 50
Warnings 'chart' hides a field. 64
Warnings 'chart' hides a field. 107

daylightchart/options/chart/ChartOptions.java

Violation Message Line
Warnings Javadoc has empty description section. 70
Warnings Javadoc has empty description section. 78
Warnings Javadoc has empty description section. 86
Warnings Javadoc has empty description section. 94
Warnings Javadoc has empty description section. 102
Warnings Javadoc has empty description section. 111

daylightchart/options/chart/PlotOptions.java

Violation Message Line
Warnings Javadoc has empty description section. 112
Warnings Javadoc has empty description section. 120
Warnings Javadoc has empty description section. 128
Warnings Javadoc has empty description section. 136
Warnings Javadoc has empty description section. 144
Warnings Javadoc has empty description section. 152
Warnings Javadoc has empty description section. 160
Warnings Javadoc has empty description section. 169
Warnings Javadoc has empty description section. 178
Warnings Javadoc has empty description section. 187

daylightchart/options/chart/TitleOptions.java

Violation Message Line
Warnings Javadoc has empty description section. 74
Warnings Javadoc has empty description section. 82
Warnings Javadoc has empty description section. 90
Warnings Expected @param tag for 'showTitle'. 103
Warnings Javadoc has empty description section. 108
Warnings Javadoc has empty description section. 117
Warnings Javadoc has empty description section. 126

daylightchart/sunchart/calculation/SunChartUtility.java

Violation Message Line
Warnings Class Data Abstraction Coupling is 11 (max allowed is 10) classes [ArrayList, DecimalFormat, Equinox, File, FileWriter, LocalDate, LocalDateTime, PrintWriter, SunChartYearData, SunPosition, SunPositions]. 52
Warnings Name 'sunAlgorithm' must match pattern '^[A-Z][A-Z0-9]*(_[A-Z0-9]+)*$'. 58
Warnings '24' is a magic number. 80
Warnings Uncommented main method found. 103
Warnings '12' is a magic number. 147
Warnings '3' is a magic number. 152
Warnings '6' is a magic number. 155
Warnings '9' is a magic number. 158
Warnings '12' is a magic number. 161
Warnings '15' is a magic number. 165
Warnings Parameter equinox3 should be final. 173
Warnings Variable 'equinox3' should be declared final. 173
Warnings '3' is a magic number. 190

daylightchart/sunchart/calculation/SunChartYearData.java

Violation Message Line
Warnings Javadoc has empty description section. 64

daylightchart/sunchart/calculation/SunPosition.java

Violation Message Line
Warnings Expected @param tag for 'dateTime'. 36
Warnings Expected @param tag for 'solarEphemerides'. 37
Warnings Javadoc has empty description section. 64
Warnings Javadoc has empty description section. 72
Warnings Javadoc has empty description section. 80
Warnings Javadoc has empty description section. 88
Warnings Javadoc has empty description section. 136

daylightchart/sunchart/calculation/SunPositions.java

Violation Message Line
Warnings Javadoc has empty description section. 64

daylightchart/sunchart/chart/SunChart.java

Violation Message Line
Warnings '18' is a magic number. 103
Warnings '12' is a magic number. 120
Warnings '12' is a magic number. 129
Warnings '5.0' is a magic number. 173
Warnings '5.0' is a magic number. 173
Warnings '5.0' is a magic number. 173
Warnings '5.0' is a magic number. 173

sf/util/CommandLineParser.java

Violation Message Line
Warnings File length is 611 lines (max allowed is 500). 1
Warnings Redundant 'final' modifier. 321
Warnings Redundant 'final' modifier. 323

sf/util/CommandLineUtility.java

Violation Message Line
Warnings Class CommandLineUtility should be declared as final. 36
Warnings Name 'OPTION_LOG_LEVEL' must match pattern '^[a-z][a-zA-Z0-9]*$'. 73