Branch Coverage

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


line true false branch
23 2 22 if $string =~ m[\A($number)\s*\+/-\s*($number)\z]
33 74 27 unless 3 == grep({defined $_;} @_)
34 21 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]))