Ajust calcul if the size is too big than usual

master
Heuzef 3 years ago
parent a6507428ec
commit 31f24371b5
  1. 4
      Check.pm

@ -108,8 +108,8 @@ sub action
my $sizeConsistencyColor = "Tomato";
my $sizeConsistency = "<strong>ANOMALOUS</strong>";
# TOO BIG ? If the size is 6 times higher than usual :
if ( $new_size > ($new_size_q3 + ($new_size_q3 - $new_size_q1) ) * 1.5 and $new_size > $new_size_avg * 6 ) {
# TOO BIG ? If the size is 3 times higher than usual :
if ( $new_size > ($new_size_q3 + ($new_size_q3 - $new_size_q1) ) * 1.5 and $new_size > $new_size_avg * 3 ) {
$toobig = 1;
}

Loading…
Cancel
Save