Branch Coverage

blib/lib/Math/Inequalities/Parser.pm
Criterion Covered Total %
branch 21 22 95.4


line true false branch
14 4 43 if ($string =~ /^\s*(\d+)\s*<\s*n\s*<\s*(\d+)\s*$/) { }
8 35 elsif ($string =~ /^\s*(\d+)\s*<(=)?\s*n/) { }
8 27 elsif ($string =~ /^\s*(\d+)\s*>(=)?\s*n\s*$/) { }
8 19 elsif ($string =~ /^\s*n\s*>(=)?\s*(\d+)\s*$/) { }
8 11 elsif ($string =~ /^\s*n\s*<(=)?\s*(\d+)\s*$/) { }
4 7 elsif ($string =~ /^\s*(\d+)\s*$/) { }
0 9 elsif (length $string and not $string =~ /^\s+$/) { }
18 4 4 $2 ? :
21 4 4 $2 ? :
24 4 4 $1 ? :
27 4 4 $1 ? :