|
|
|
@ -87,12 +87,12 @@ print("\ntoobig : $toobig\n"); |
|
|
|
|
print("\ntoosmall : $toosmall\n"); |
|
|
|
|
|
|
|
|
|
# TOO BIG ? |
|
|
|
|
my $toobig = "true"; |
|
|
|
|
my $toobig = "1"; |
|
|
|
|
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 ) { |
|
|
|
|
$toobig = "false"; |
|
|
|
|
$toobig = "0"; |
|
|
|
|
} |
|
|
|
|
else { |
|
|
|
|
$toobig = "true"; |
|
|
|
|
$toobig = "1"; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
print("\ntoobig : $toobig\n"); |
|
|
|
@ -100,19 +100,19 @@ print("\ntoosmall : $toosmall\n"); |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# TOO SMALL ? |
|
|
|
|
my $toosmall = "true"; |
|
|
|
|
my $toosmall = "1"; |
|
|
|
|
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 ) { |
|
|
|
|
$toosmall = "false"; |
|
|
|
|
$toosmall = "0"; |
|
|
|
|
} |
|
|
|
|
else { |
|
|
|
|
$toosmall = "true"; |
|
|
|
|
$toosmall = "1"; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
print("\ntoobig : $toobig\n"); |
|
|
|
|
print("\ntoosmall : $toosmall\n"); |
|
|
|
|
|
|
|
|
|
# Print result |
|
|
|
|
if ( $toobig eq "false" && $toosmall eq "false" ) { |
|
|
|
|
if ( $toobig == "0" && $toosmall == "0" ) { |
|
|
|
|
print("Normal"); |
|
|
|
|
} |
|
|
|
|
else { |
|
|
|
|