Branch Coverage

blib/lib/Number/Tolerant/Type/plus_or_minus_pct.pm
Criterion Covered Total %
branch 9 10 90.0


line true false branch
22 1 19 if $string =~ m[\A($number)\s*\+/-\s*($number)%\z]
32 57 44 unless 3 == grep({defined $_;} @_)
33 38 6 unless $_[1] eq 'plus_or_minus_pct'
35 0 6 unless defined(my $base = $self->normalize_number($_[0]))
36 1 5 unless defined(my $var = $self->normalize_number($_[2]))