Branch Coverage

blib/lib/Test/Number/Delta.pm
Criterion Covered Total %
branch 42 42 100.0


line true false branch
125 1 12 if $found > 1
127 8 4 if ($found)
129 2 6 if $value == 0
131 3 3 if ($param eq 'within') { }
2 1 elsif ($param eq 'relative') { }
154 82 31 if (not defined $e) { }
155 24 7 abs $p > abs $q ? :
31 51 $Relative ? :
165 31 82 if (ref $p eq 'ARRAY' or ref $q eq 'ARRAY') { }
166 30 1 if (@$p == @$q) { }
169 27 26 scalar @indices ? :
171 11 42 unless ($ok)
188 27 55 unless ($ok)
194 60 53 scalar @indices ? :
199 19 52 unless $epsilon
202 50 2 $exp < 0 ? :
210 13 6 $Relative ? :
260 1 6 if not defined $epsilon or $epsilon == 0
271 4 31 if (@indices)
319 1 6 if not defined $epsilon or $epsilon == 0
332 6 19 defined $epsilon ? :