Condition Coverage

blib/lib/ICC/Support/spline.pm
Criterion Covered Total %
condition 1 175 0.5


and 3 conditions

line !l l&&!r l&&r condition
42 1 0 0 @_ == 1 and ref $_[0] eq 'HASH'
74 0 0 0 @{$inv->[1];} == 2 and @{$inv->[2];} > 2
196 0 0 0 $in < $self->[2][0] and $self->[3][0] > 0
0 0 0 $in > $self->[2][0] and $self->[3][0] < 0
215 0 0 0 $in >= $self->[4][$i][0] and $in <= $self->[4][$i][1]
247 0 0 0 $in > $self->[2][-1] and $self->[3][-1] > 0
0 0 0 $in < $self->[2][-1] and $self->[3][-1] < 0
412 0 0 0 @_ == 1 and ref $_[0] eq 'HASH'
445 0 0 0 ICC::Shared::is_num_vector($_[0]) and 2 <= @{$_[0];}
480 0 0 0 ICC::Shared::is_num_vector($_[0]) and 2 <= @{$_[0];}
530 0 0 0 @{$$self[$i + 1];} > 1 and ($x0 = $$self[$i + 1][0]) != ($x1 = $$self[$i + 1][-1])
533 0 0 0 $i and defined $self->[0]{'hl_retention'}
550 0 0 0 @{$$self[$i + 1];} > 1 and $$self[$i + 1][0] != $$self[$i + 1][-1]
572 0 0 0 not ref $src and $src eq 'endpoints'
0 0 0 not ref $src and $src eq 'minmax'
611 0 0 0 4 == grep({&Scalar::Util::looks_like_number($_);} $x0, $x1, $y0, $y1) and $x0 != $x1
657 0 0 0 not $i and defined($val = $self->[0]{'hl_retention'})
665 0 0 0 $i and defined($val = $self->[0]{'hl_original'})
673 0 0 0 $i and defined($val = $self->[0]{'sh_original'})
766 0 0 0 $self->[0]{'type'} && $self->[0]{'type'} eq 'akima'
783 0 0 0 $n == int $n and $n >= 2
831 0 0 0 defined $p->[0] && !ref($p->[0])
1530 0 0 0 $i and $self->[3][$i] == 0
1579 0 0 0 abs $a < 1e-15 and abs $b < 1e-15
1750 0 0 0 abs $A < 5e-15 and abs $B < 5e-15
0 0 0 abs $A < 5e-15 and abs $B < 5e-15 and abs $C < 5e-15
0 0 0 abs $A < 5e-15 and abs $B < 5e-15
2090 0 0 0 ICC::Shared::is_num_vector($in) and 2 <= @{$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
2119 0 0 0 ICC::Shared::is_num_vector($out) and 2 <= @{$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
2159 0 0 0 &Scalar::Util::looks_like_number($damp) and $damp >= 0
2185 0 0 0 &Scalar::Util::looks_like_number($fix) && $fix >= -1 && $fix <= 1
2191 0 0 0 $pok and $fok
0 0 0 $pok and $fok and $fix < 0 || grep({$_ <= $limit;} monotonic($self, 'output'))
2202 0 0 0 &Scalar::Util::looks_like_number($fix) && $fix >= -1 && $fix <= 1
2208 0 0 0 $pok and $fok
0 0 0 $pok and $fok and $fix < 0 || grep({$_ >= $limit;} monotonic($self, 'output'))
2229 0 0 0 $n == int $n and $n >= 2

or 2 conditions

line l !l condition
123 0 0 $self->[0]{'curv_points'} // 4096
2226 0 0 $self->[0]{'curv_points'} // 4096

or 3 conditions

line l !l&&r !l&&!r condition
196 0 0 0 $in < $self->[2][0] and $self->[3][0] > 0 or $in > $self->[2][0] and $self->[3][0] < 0
247 0 0 0 $in > $self->[2][-1] and $self->[3][-1] > 0 or $in < $self->[2][-1] and $self->[3][-1] < 0
321 0 0 0 not defined $self->[5] or $#{$$self[5];} != $#{$$self[2];}
448 0 0 0 @{$_[0];} == 2 or @{$_[0];} == @{$self->[2];}
483 0 0 0 @{$self->[1];} == 2 or @{$_[0];} == @{$self->[1];}
766 0 0 0 $flag or defined($self->[0]{'type'} && $self->[0]{'type'} eq 'akima')
922 0 0 0 not defined $self->[0]{'type'} or $self->[0]{'type'} eq 'natural'
1040 0 0 0 $s // $self->[1][$i + 1] - $self->[1][$i]
1111 0 0 0 not defined $self->[0]{'type'} or $self->[0]{'type'} eq 'natural'
1233 0 0 0 $s // $self->[1][$i + 1] - $self->[1][$i]
1830 0 0 0 $dscr > 0 or abs Im($sol) < 1e-15
1976 0 0 0 @new or $self->[2][$i] <= $hi
2056 0 0 0 @new or $self->[2][$i] >= $lo
2167 0 0 0 @{$self->[1];} == 2 or @{$self->[1];} == @{$self->[2];}
2191 0 0 0 $fix < 0 || grep({$_ <= $limit;} monotonic($self, 'output'))
2208 0 0 0 $fix < 0 || grep({$_ >= $limit;} monotonic($self, 'output'))