The code below SonarLint indicates that INDEX_FACTOR_UP is implied to be zero. It is not.
public class Test
{
private static final double INDEX_FACTOR_UP = .95;
public Test()
{
int index = 5;
int cacheEnd = 1;
Math.min(Math.max(100,
(int)((index - cacheEnd)/INDEX_FACTOR_UP)), 6);
}