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 79 31 if (not defined $e) { }
155 22 6 abs $p > abs $q ? :
28 51 $Relative ? :
165 30 80 if (ref $p eq 'ARRAY' or ref $q eq 'ARRAY') { }
166 29 1 if (@$p == @$q) { }
169 27 25 scalar @indices ? :
171 11 41 unless ($ok)
188 27 53 unless ($ok)
194 59 51 scalar @indices ? :
198 19 52 unless my $epsilon = shift()
202 50 2 $exp < 0 ? :
210 13 6 $Relative ? :
260 1 6 if not defined $epsilon or $epsilon == 0
271 4 29 if (@indices)
319 1 6 if not defined $epsilon or $epsilon == 0
332 6 19 defined $epsilon ? :