Apache Commons logo Commons Math

FindBugs Bug Detector Report

The following document contains the results of FindBugs

FindBugs Version is 3.0.1

Threshold is

Effort is min

Summary

Classes Bugs Errors Missing Classes
919 4 0 0

Files

Class Bugs
org.apache.commons.math4.stat.descriptive.rank.Percentile 2
org.apache.commons.math4.stat.descriptive.rank.Percentile$EstimationType 1
org.apache.commons.math4.stat.descriptive.rank.Percentile$EstimationType$8 1

org.apache.commons.math4.stat.descriptive.rank.Percentile

Bug Category Details Line Priority
Nullcheck of sampleWeights at line 495 of value previously dereferenced in org.apache.commons.math4.stat.descriptive.rank.Percentile.evaluate(double[], double[], int, int, double) CORRECTNESS RCN_REDUNDANT_NULLCHECK_WOULD_HAVE_BEEN_A_NPE 491 Medium
Nullcheck of values at line 495 of value previously dereferenced in org.apache.commons.math4.stat.descriptive.rank.Percentile.evaluate(double[], double[], int, int, double) CORRECTNESS RCN_REDUNDANT_NULLCHECK_WOULD_HAVE_BEEN_A_NPE 491 Medium

org.apache.commons.math4.stat.descriptive.rank.Percentile$EstimationType

Bug Category Details Line Priority
Computation of average could overflow in org.apache.commons.math4.stat.descriptive.rank.Percentile$EstimationType.searchSk(double, double[], int, int) STYLE IM_AVERAGE_COMPUTATION_COULD_OVERFLOW 1363 Medium

org.apache.commons.math4.stat.descriptive.rank.Percentile$EstimationType$8

Bug Category Details Line Priority
Test for floating point equality in org.apache.commons.math4.stat.descriptive.rank.Percentile$EstimationType$8.evaluate(double[], double[], double) STYLE FE_FLOATING_POINT_EQUALITY 1169 High