Branch Coverage

blib/lib/Test/Tolerant.pm
Criterion Covered Total %
branch 9 14 64.2


line true false branch
63 1 3 if (&blessed($spec) and $spec->isa('Number::Tolerant')) { }
1 2 elsif (ref $spec and not &blessed($spec) and &reftype($spec) eq 'ARRAY') { }
2 0 elsif (not ref $spec) { }
71 0 4 unless defined $want
73 1 3 if $Test->ok($have == $want, $desc)
77 0 0 $cmp == 1 ? :
3 0 $cmp == -1 ? :