master
Heuzef 5 years ago
parent 21b0944a0d
commit c9dc059180
  1. 4
      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 {

Loading…
Cancel
Save