Condition Coverage

blib/lib/ICC/Support/bern.pm
Criterion Covered Total %
condition 1 115 0.8


and 3 conditions

line !l l&&!r l&&r condition
37 1 0 0 @_ == 1 and ref $_[0] eq 'HASH'
183 0 0 0 @_ == 1 and ref $_[0] eq 'HASH'
216 0 0 0 ICC::Shared::is_num_vector($_[0]) and 1 <= @{$_[0];}
0 0 0 ICC::Shared::is_num_vector($_[0]) and 1 <= @{$_[0];} and 21 >= @{$_[0];}
248 0 0 0 ICC::Shared::is_num_vector($_[0]) and 1 <= @{$_[0];}
0 0 0 ICC::Shared::is_num_vector($_[0]) and 1 <= @{$_[0];} and 21 >= @{$_[0];}
295 0 0 0 @{$self->[1][$i];} > 1 and ($x0 = $self->[1][$i][0]) != ($x1 = $self->[1][$i][-1])
312 0 0 0 @{$self->[1][$i];} > 1 and $self->[1][$i][0] != $self->[1][$i][-1]
334 0 0 0 not ref $src and $src eq 'endpoints'
0 0 0 not ref $src and $src eq 'minmax'
361 0 0 0 4 == grep({&Scalar::Util::looks_like_number($_);} $x0, $x1, $y0, $y1) and $x0 != $x1
484 0 0 0 $n == int $n and $n >= 2
532 0 0 0 defined $p->[0] && !ref($p->[0])
620 0 0 0 $t > 0 and $t < 1
631 0 0 0 @s and not defined $self->[2][$i]
909 0 0 0 $in > $ys[$i - 1] and $in < $ys[$i]
0 0 0 $in < $ys[$i - 1] and $in > $ys[$i]
922 0 0 0 $xhi - $xlo > 0.001 and $loop++ < 15
949 0 0 0 abs $in - $yval > 1e-12 and $loop++ < 5
0 0 0 abs $in - $yval > 1e-12 and $loop++ < 5 and $slope = _drv($par, $xval)
1194 0 0 0 $hash->{'fix_hl'} && $so[0] == 0 && $so[1] == 1 && $outz->[0][0] > $outz->[1][0] ^ $p
1195 0 0 0 $hash->{'fix_sh'} && $so[-1] == $d && $so[-2] == $d - 1 && $$outz[$n - 1][0] < $$outz[$n - 2][0] ^ $p
1198 0 0 0 $d >= 4 and $fix_hl || $fix_sh
1271 0 0 0 ICC::Shared::is_vector($in) and 21 >= @{$in;}
0 0 0 &Scalar::Util::looks_like_number($in) and $in == int $in
0 0 0 &Scalar::Util::looks_like_number($in) and $in == int $in and $in > 0
0 0 0 &Scalar::Util::looks_like_number($in) and $in == int $in and $in > 0 and $in < 21
1300 0 0 0 ICC::Shared::is_vector($out) and 21 >= @{$out;}
0 0 0 &Scalar::Util::looks_like_number($out) and $out == int $out
0 0 0 &Scalar::Util::looks_like_number($out) and $out == int $out and $out > 0
0 0 0 &Scalar::Util::looks_like_number($out) and $out == int $out and $out > 0 and $out < 21
1326 0 0 0 defined($fit = $hash->{'fit'}) and @{$fit;}
1329 0 0 0 ICC::Shared::is_num_vector($fit->[0]) and 1 <= @{$fit->[0];}
1330 0 0 0 ICC::Shared::is_num_vector($fit->[1]) and 1 <= @{$fit->[1];}
1364 0 0 0 $n == int $n and $n >= 2

or 2 conditions

line l !l condition
94 0 0 $self->[0]{'curv_points'} // 4370
1361 0 0 $self->[0]{'curv_points'} // 4096

or 3 conditions

line l !l&&r !l&&!r condition
909 0 0 0 $in > $ys[$i - 1] and $in < $ys[$i] or $in < $ys[$i - 1] and $in > $ys[$i]
1198 0 0 0 $fix_hl || $fix_sh