Branch Coverage

blib/lib/Text/Math/NumExp.pm
Criterion Covered Total %
branch 23 38 60.5


line true false branch
26 1 0 ref $text_or_ref ? :
58 0 9 unless $str =~ /\d/u
66 1 8 if $ne =~ s/^(?:[A-Za-z\s\-]|$punct)*\s+//u
77 0 9 if not $ne =~ /\)/u and $ne =~ s/^\(//u
81 7 2 unless $ne =~ /\(/u
83 2 7 if _ignore($ne, $options)
97 0 1 wantarray ? :
103 0 1 ref $text_or_ref ? :
110 6 0 if $text =~ s/\s+$//u
112 0 6 unless looks_like_number $value
120 0 1 wantarray ? :
126 0 9 if $ne =~ /^\s*$/u
129 0 9 unless $ne =~ /\d/u
131 2 7 if $$options{'ipat'} and $ne =~ /$$options{'ipat'}/u
132 0 7 if $$options{'ifunc'} and $$options{'ifunc'}($ne)
149 0 12 if looks_like_number $value
156 2 0 ref $text_or_ref ? :
170 2 0 if ($$options{'x'})
177 2 0 if (ref $text_or_ref) { }