Condition Coverage

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


and 3 conditions

line !l l&&!r l&&r condition
40 1 0 0 @_ == 1 and ref $_[0] eq 'HASH'
186 0 0 0 @_ == 1 and ref $_[0] eq 'HASH'
219 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];}
251 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];}
298 0 0 0 @{$self->[1][$i];} > 1 and ($x0 = $self->[1][$i][0]) != ($x1 = $self->[1][$i][-1])
315 0 0 0 @{$self->[1][$i];} > 1 and $self->[1][$i][0] != $self->[1][$i][-1]
337 0 0 0 not ref $src and $src eq 'endpoints'
0 0 0 not ref $src and $src eq 'minmax'
364 0 0 0 4 == grep({&Scalar::Util::looks_like_number($_);} $x0, $x1, $y0, $y1) and $x0 != $x1
487 0 0 0 $n == int $n and $n >= 2
535 0 0 0 defined $p->[0] && !ref($p->[0])
623 0 0 0 $t > 0 and $t < 1
634 0 0 0 @s and not defined $self->[2][$i]
912 0 0 0 $in > $ys[$i - 1] and $in < $ys[$i]
0 0 0 $in < $ys[$i - 1] and $in > $ys[$i]
925 0 0 0 $xhi - $xlo > 0.001 and $loop++ < 15
952 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)
1197 0 0 0 $hash->{'fix_hl'} && $so[0] == 0 && $so[1] == 1 && $outz->[0][0] > $outz->[1][0] ^ $p
1198 0 0 0 $hash->{'fix_sh'} && $so[-1] == $d && $so[-2] == $d - 1 && $$outz[$n - 1][0] < $$outz[$n - 2][0] ^ $p
1201 0 0 0 $d >= 4 and $fix_hl || $fix_sh
1274 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
1303 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
1329 0 0 0 defined($fit = $hash->{'fit'}) and @{$fit;}
1332 0 0 0 ICC::Shared::is_num_vector($fit->[0]) and 1 <= @{$fit->[0];}
1333 0 0 0 ICC::Shared::is_num_vector($fit->[1]) and 1 <= @{$fit->[1];}
1367 0 0 0 $n == int $n and $n >= 2

or 2 conditions

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

or 3 conditions

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