Checkstyle Results

The following document contains the results of Checkstyle 9.3 with checkstyle.xml ruleset.

Summary

Files  Info  Warnings  Errors
14 0 0 78

Files

File  I  W  E
com/irurueta/statistics/BuildInfo.java 0 0 1
com/irurueta/statistics/ChiSqDist.java 0 0 8
com/irurueta/statistics/Erf.java 0 0 18
com/irurueta/statistics/Gamma.java 0 0 34
com/irurueta/statistics/GaussLegendreQuadrature.java 0 0 12
com/irurueta/statistics/NormalDist.java 0 0 5

Rules

Category Rule Violations Severity
coding MagicNumber 50  Error
MultipleStringLiterals 2  Error
indentation Indentation 23  Error
modifier RedundantModifier 3  Error

Details

com/irurueta/statistics/BuildInfo.java

Severity Category Rule Message Line
 Error modifier RedundantModifier Redundant 'final' modifier. 131

com/irurueta/statistics/ChiSqDist.java

Severity Category Rule Message Line
 Error coding MultipleStringLiterals The String "nu must be greater than 0.0" appears 2 times in the file. 136
 Error coding MagicNumber '-0.5' is a magic number. 226
 Error coding MagicNumber '0.5' is a magic number. 253
 Error coding MagicNumber '0.5' is a magic number. 253
 Error coding MagicNumber '0.5' is a magic number. 286
 Error coding MagicNumber '0.693147180559945309' is a magic number. 298
 Error coding MagicNumber '0.5' is a magic number. 298
 Error coding MagicNumber '0.5' is a magic number. 298

com/irurueta/statistics/Erf.java

Severity Category Rule Message Line
 Error indentation Indentation 'array initialization' child has incorrect indentation level 12, expected level should be one of the following: 8, 41, 44. 56
 Error indentation Indentation 'array initialization' child has incorrect indentation level 12, expected level should be one of the following: 8, 41, 44. 57
 Error indentation Indentation 'array initialization' child has incorrect indentation level 12, expected level should be one of the following: 8, 41, 44. 58
 Error indentation Indentation 'array initialization' child has incorrect indentation level 12, expected level should be one of the following: 8, 41, 44. 59
 Error indentation Indentation 'array initialization' child has incorrect indentation level 12, expected level should be one of the following: 8, 41, 44. 60
 Error indentation Indentation 'array initialization' child has incorrect indentation level 12, expected level should be one of the following: 8, 41, 44. 61
 Error indentation Indentation 'array initialization' child has incorrect indentation level 12, expected level should be one of the following: 8, 41, 44. 62
 Error coding MagicNumber '-100.0' is a magic number. 112
 Error coding MagicNumber '100.0' is a magic number. 115
 Error coding MagicNumber '-2.0' is a magic number. 118
 Error coding MagicNumber '-0.70711' is a magic number. 119
 Error coding MagicNumber '2.30753' is a magic number. 119
 Error coding MagicNumber '0.27061' is a magic number. 119
 Error coding MagicNumber '0.99229' is a magic number. 119
 Error coding MagicNumber '0.04481' is a magic number. 119
 Error coding MagicNumber '1.12837916709551257' is a magic number. 122
 Error coding MagicNumber '4.0' is a magic number. 160
 Error coding MagicNumber '0.5' is a magic number. 166

com/irurueta/statistics/Gamma.java

Severity Category Rule Message Line
 Error indentation Indentation 'array initialization' child has incorrect indentation level 12, expected level should be one of the following: 8, 41, 44. 62
 Error indentation Indentation 'array initialization' child has incorrect indentation level 12, expected level should be one of the following: 8, 41, 44. 63
 Error indentation Indentation 'array initialization' child has incorrect indentation level 12, expected level should be one of the following: 8, 41, 44. 64
 Error indentation Indentation 'array initialization' child has incorrect indentation level 12, expected level should be one of the following: 8, 41, 44. 65
 Error coding MagicNumber '5.24218750000000000' is a magic number. 122
 Error coding MagicNumber '0.5' is a magic number. 123
 Error coding MagicNumber '0.999999999999997092' is a magic number. 124
 Error coding MagicNumber '14' is a magic number. 125
 Error coding MagicNumber '2.5066282746310005' is a magic number. 128
 Error coding MagicNumber '171' is a magic number. 150
 Error coding MagicNumber '0.5' is a magic number. 201
 Error coding MagicNumber '0.5' is a magic number. 206
 Error coding MagicNumber '11.5' is a magic number. 408
 Error coding MagicNumber '6.0' is a magic number. 408
 Error coding MagicNumber '7.5' is a magic number. 410
 Error coding MagicNumber '5.0' is a magic number. 410
 Error coding MagicNumber '100.' is a magic number. 452
 Error coding MagicNumber '100.' is a magic number. 452
 Error coding MagicNumber '0.5' is a magic number. 460
 Error coding MagicNumber '-2.' is a magic number. 461
 Error coding MagicNumber '2.30753' is a magic number. 462
 Error coding MagicNumber '0.27061' is a magic number. 462
 Error coding MagicNumber '0.99229' is a magic number. 462
 Error coding MagicNumber '0.04481' is a magic number. 462
 Error coding MagicNumber '0.5' is a magic number. 463
 Error coding MagicNumber '1.e-3' is a magic number. 466
 Error coding MagicNumber '9.' is a magic number. 466
 Error coding MagicNumber '3.' is a magic number. 466
 Error coding MagicNumber '3' is a magic number. 466
 Error coding MagicNumber '0.253' is a magic number. 468
 Error coding MagicNumber '0.12' is a magic number. 468
 Error coding MagicNumber '12' is a magic number. 475
 Error coding MagicNumber '0.5' is a magic number. 486
 Error coding MagicNumber '0.5' is a magic number. 488

com/irurueta/statistics/GaussLegendreQuadrature.java

Severity Category Rule Message Line
 Error indentation Indentation 'array initialization' child has incorrect indentation level 12, expected level should be one of the following: 8, 31, 34. 31
 Error indentation Indentation 'array initialization' child has incorrect indentation level 12, expected level should be one of the following: 8, 31, 34. 32
 Error indentation Indentation 'array initialization' child has incorrect indentation level 12, expected level should be one of the following: 8, 31, 34. 33
 Error indentation Indentation 'array initialization' child has incorrect indentation level 12, expected level should be one of the following: 8, 31, 34. 34
 Error indentation Indentation 'array initialization' child has incorrect indentation level 12, expected level should be one of the following: 8, 31, 34. 35
 Error indentation Indentation 'array initialization' child has incorrect indentation level 12, expected level should be one of the following: 8, 31, 34. 36
 Error indentation Indentation 'array initialization' child has incorrect indentation level 12, expected level should be one of the following: 8, 31, 34. 42
 Error indentation Indentation 'array initialization' child has incorrect indentation level 12, expected level should be one of the following: 8, 31, 34. 43
 Error indentation Indentation 'array initialization' child has incorrect indentation level 12, expected level should be one of the following: 8, 31, 34. 44
 Error indentation Indentation 'array initialization' child has incorrect indentation level 12, expected level should be one of the following: 8, 31, 34. 45
 Error indentation Indentation 'array initialization' child has incorrect indentation level 12, expected level should be one of the following: 8, 31, 34. 46
 Error indentation Indentation 'array initialization' child has incorrect indentation level 12, expected level should be one of the following: 8, 31, 34. 47

com/irurueta/statistics/NormalDist.java

Severity Category Rule Message Line
 Error coding MultipleStringLiterals The String "standard deviation must be greater than zero" appears 2 times in the file. 227
 Error coding MagicNumber '-0.5' is a magic number. 296
 Error coding MagicNumber '0.5' is a magic number. 317
 Error modifier RedundantModifier Redundant 'final' modifier. 485
 Error modifier RedundantModifier Redundant 'final' modifier. 493