blib/lib/Number/Tolerant/Type/plus_or_minus.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
branch | 9 | 10 | 90.0 |
line | true | false | branch |
---|---|---|---|
23 | 2 | 13 | if $string =~ m[\A($number)\s*\+/-\s*($number)\z] |
33 | 61 | 24 | unless 3 == grep({defined $_;} @_) |
34 | 18 | 6 | unless $_[1] eq "plus_or_minus" |
36 | 0 | 6 | unless defined(my $base = $self->normalize_number($_[0])) |
37 | 1 | 5 | unless defined(my $var = $self->normalize_number($_[2])) |