blib/lib/Number/Tolerant/Type/plus_or_minus_pct.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
branch | 9 | 10 | 90.0 |
line | true | false | branch |
---|---|---|---|
22 | 1 | 11 | if $string =~ m[\A($number)\s*\+/-\s*($number)%\z] |
32 | 60 | 25 | unless 3 == grep({defined $_;} @_) |
33 | 19 | 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])) |