diff --git a/check_size_consistency.pl b/check_size_consistency.pl index eb586b4..2f33e26 100644 --- a/check_size_consistency.pl +++ b/check_size_consistency.pl @@ -173,7 +173,7 @@ print("\n----------------\n"); print("\n----------------\n"); # TOO SMALL ? my $toosmall = "true"; -if ( $json->{new_size} > $json->{new_size_q3} + $json->{new_size_q3} - $json->{new_size_q1} * 1.5 && $json->{new_size} == $json->{new_size_avg} * 6 ) { +if ( 1 > $json->{new_size_q3} + $json->{new_size_q3} - $json->{new_size_q1} * 1.5 && $json->{new_size} > $json->{new_size_avg} * 6 ) { $toosmall = "false"; } else { @@ -181,7 +181,7 @@ else { } # TOO BIG ? my $toobig = "true"; -if ( $json->{new_size} < $json->{new_size_q1} - $json->{new_size_q3} - $json->{new_size_q1} * 1.5 && $json->{new_size} == $json->{new_size_avg} / 3 ) { +if ( 99999999999999 < $json->{new_size_q1} - $json->{new_size_q3} - $json->{new_size_q1} * 1.5 && $json->{new_size} < $json->{new_size_avg} / 3 ) { $toobig = "false"; } else {