|
|
|
@ -172,16 +172,21 @@ print("\n----------------\n"); |
|
|
|
|
|
|
|
|
|
print("\n----------------\n"); |
|
|
|
|
# TOO SMALL ? |
|
|
|
|
my $toosmall = "false"; |
|
|
|
|
# $json->{new_size} > $json->{new_size_q3} + $json->{new_size_q3} - $json->{new_size_q1}) * 1.5 |
|
|
|
|
# AND |
|
|
|
|
# $json->{new_size} > $json->{new_size_avg} * 6 |
|
|
|
|
|
|
|
|
|
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 ) { |
|
|
|
|
$toosmall = "false"; |
|
|
|
|
} |
|
|
|
|
else { |
|
|
|
|
$toosmall = "true"; |
|
|
|
|
} |
|
|
|
|
# TOO BIG ? |
|
|
|
|
my $toobig = "false"; |
|
|
|
|
# $json->{new_size} < $json->{new_size_q1} - $json->{new_size_q3} - $json->{new_size_q1}) * 1.5 |
|
|
|
|
# AND |
|
|
|
|
# $json->{new_size} < $json->{new_size_avg} / 3 |
|
|
|
|
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 ) { |
|
|
|
|
$toobig = "false"; |
|
|
|
|
} |
|
|
|
|
else { |
|
|
|
|
$toobig = "true"; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
print("Size Consistency : "); |
|
|
|
|
if ( $toosmall == "false" && $toobig == "false" ) { |
|
|
|
|