Condition Coverage

blib/lib/ICC/Shared.pm
Criterion Covered Total %
condition 1 168 0.6


and 3 conditions

line !l l&&!r l&&r condition
74 0 0 0 not ref $n and $n == int $n
0 0 0 not ref $n and $n == int $n and $n > 0
476 0 0 0 $h1 >= 164 && $h1 <= 345
939 0 0 0 $cct >= 4000 and $cct <= 25000
1002 0 0 0 abs $ix * $range_in->[2] - $range_in->[1] + $range_in->[0] < 1e-12 and $range_in->[2] > 0
1008 0 0 0 abs $ox * $range_out->[2] - $range_out->[1] + $range_out->[0] < 1e-12 and $range_out->[2] > 0
1139 0 0 0 $ix > 0 and abs $ix * $range_in->[2] - $range_in->[1] + $range_in->[0] < 1e-12
0 0 0 $ix > 0 and abs $ix * $range_in->[2] - $range_in->[1] + $range_in->[0] < 1e-12 and $range_in->[2] > 0
1145 0 0 0 $ox > 0 and abs $ox * $range_out->[2] - $range_out->[1] + $range_out->[0] < 1e-12
0 0 0 $ox > 0 and abs $ox * $range_out->[2] - $range_out->[1] + $range_out->[0] < 1e-12 and $range_out->[2] > 0
1271 0 0 0 abs $ix * $range_in->[2] - $range_in->[1] + $range_in->[0] < 1e-12 and $range_in->[2] > 0
1277 0 0 0 abs $ox * $range_out->[2] - $range_out->[1] + $range_out->[0] < 1e-12 and $range_out->[2] > 0
1456 0 0 0 $ix > 0 and abs $ix * $range_in->[2] - $range_in->[1] + $range_in->[0] < 1e-12
0 0 0 $ix > 0 and abs $ix * $range_in->[2] - $range_in->[1] + $range_in->[0] < 1e-12 and $range_in->[2] > 0
1462 0 0 0 $ox > 0 and abs $ox * $range_out->[2] - $range_out->[1] + $range_out->[0] < 1e-12
0 0 0 $ox > 0 and abs $ox * $range_out->[2] - $range_out->[1] + $range_out->[0] < 1e-12 and $range_out->[2] > 0
1674 0 0 0 abs $ix * $range_in->[2] - $range_in->[1] + $range_in->[0] < 1e-12 and $range_in->[2] > 0
1680 0 0 0 abs $ox * $range_out->[2] - $range_out->[1] + $range_out->[0] < 1e-12 and $range_out->[2] > 0
1841 0 0 0 $ix > 0 and abs $ix * $range_in->[2] - $range_in->[1] + $range_in->[0] < 1e-12
0 0 0 $ix > 0 and abs $ix * $range_in->[2] - $range_in->[1] + $range_in->[0] < 1e-12 and $range_in->[2] > 0
1847 0 0 0 $ox > 0 and abs $ox * $range_out->[2] - $range_out->[1] + $range_out->[0] < 1e-12
0 0 0 $ox > 0 and abs $ox * $range_out->[2] - $range_out->[1] + $range_out->[0] < 1e-12 and $range_out->[2] > 0
2038 0 0 0 $#{$_[0];} == 2 and $#{$_[1];} == 2
2193 0 0 0 @dsegs > 1 and $dsegs[-1] eq ''
2202 0 0 0 @jobs and ($i = $jobs[0] + 1) <= $#dsegs
2213 0 0 0 @jobs and ($i = $jobs[0] + 2) <= $#dsegs
2446 0 0 0 not @eval and $px[$i][1] - $px[$i][0] > 1
2473 0 0 0 ref $_[0] eq 'ARRAY' && @{$_[0];} == grep({&Scalar::Util::looks_like_number($_) unless not defined $_;} @{$_[0];})
2482 0 0 0 ref $_[0] eq 'ARRAY' && @{$_[0];} == grep({&Scalar::Util::looks_like_number($_);} @{$_[0];})
2491 0 0 0 (ref $_[0] eq 'ARRAY' || ref $_[0] eq 'Math::Matrix') && @{$_[0];} == grep({is_vector($_);} @{$_[0];})
2500 0 0 0 (ref $_[0] eq 'ARRAY' || ref $_[0] eq 'Math::Matrix') && @{$_[0];} == grep({is_num_vector($_);} @{$_[0];})
2515 0 0 0 @_ == 3 and 3 == grep({not ref $_;} @_)
0 0 0 @_ == 1 and ref $_[0] eq 'ARRAY' || UNIVERSAL::isa($_[0], 'Math::Matrix')
2556 0 0 0 @_ == 4 and ref $_[3] eq 'ARRAY'
0 0 0 @_ == 4 and ref $_[3] eq 'ARRAY' and 3 == grep({not ref $_;} @_)
0 0 0 @_ == 1 and ref $_[0] eq 'ARRAY' || UNIVERSAL::isa($_[0], 'Math::Matrix')
2591 0 0 0 @{$in;} == 3 and 3 == grep({not ref $_;} @{$in;})
2933 0 0 0 defined $low && defined $up
2945 0 0 0 defined $low and $self->[$i][$j] < $low
2946 0 0 0 defined $up and $self->[$i][$j] > $up
3051 0 0 0 @{$self;} == 3 and @{$self->[0];} == 3
3090 0 0 0 @{$self;} == 3 and @{$self->[0];} == 3

or 3 conditions

line l !l&&r !l&&!r condition
413 0 0 0 $x <= 0 or $y <= 0
0 0 0 $x <= 0 or $y <= 0 or $x <= 0
467 0 0 0 $_[2] || $_[1]
575 0 0 0 $_[2] || $a1p
581 0 0 0 $_[5] || $a2p
613 0 0 0 $C1p == 0 or $C2p == 0
2064 273 0 0 ref $v eq 'ARRAY' or UNIVERSAL::isa($v, 'Math::Matrix')
2102 0 0 0 ref $_[0] eq 'ARRAY' or UNIVERSAL::isa($_[0], 'Math::Matrix')
2309 0 0 0 not defined $_[0] or ref $_[0]
2515 0 0 0 ref $_[0] eq 'ARRAY' || UNIVERSAL::isa($_[0], 'Math::Matrix')
2556 0 0 0 ref $_[0] eq 'ARRAY' || UNIVERSAL::isa($_[0], 'Math::Matrix')
2931 0 0 0 not defined $low or &Scalar::Util::looks_like_number($low)
2932 0 0 0 not defined $up or &Scalar::Util::looks_like_number($up)
2933 0 0 0 not defined $low && defined $up or $up >= $low