|
|
|
@ -86,19 +86,19 @@ print("Size Consistency : "); |
|
|
|
|
# TOO BIG ? |
|
|
|
|
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 = "0"; |
|
|
|
|
$toobig = "1"; |
|
|
|
|
} |
|
|
|
|
else { |
|
|
|
|
$toobig = "1"; |
|
|
|
|
$toobig = "0"; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
# TOO SMALL ? |
|
|
|
|
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 = "0"; |
|
|
|
|
$toosmall = "1"; |
|
|
|
|
} |
|
|
|
|
else { |
|
|
|
|
$toosmall = "1"; |
|
|
|
|
$toosmall = "0"; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
# Print result |
|
|
|
|