|
|
|
@ -83,6 +83,9 @@ print("Errors : $json->{errors}"); |
|
|
|
|
print("\n"); |
|
|
|
|
print("Size Consistency : "); |
|
|
|
|
|
|
|
|
|
print("\ntoobig : $toobig\n"); |
|
|
|
|
print("\ntoosmall : $toosmall\n"); |
|
|
|
|
|
|
|
|
|
# TOO BIG ? |
|
|
|
|
my $toobig = "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 ) { |
|
|
|
@ -91,6 +94,11 @@ if ( $json->{new_size} > $json->{new_size_q3} + $json->{new_size_q3} - $json->{n |
|
|
|
|
else { |
|
|
|
|
$toobig = "true"; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
print("\ntoobig : $toobig\n"); |
|
|
|
|
print("\ntoosmall : $toosmall\n"); |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# TOO SMALL ? |
|
|
|
|
my $toosmall = "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 ) { |
|
|
|
@ -100,6 +108,9 @@ else { |
|
|
|
|
$toosmall = "true"; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
print("\ntoobig : $toobig\n"); |
|
|
|
|
print("\ntoosmall : $toosmall\n"); |
|
|
|
|
|
|
|
|
|
# Print result |
|
|
|
|
if ( $toobig == "false" && $toosmall == "false" ) { |
|
|
|
|
print("Normal"); |
|
|
|
|