Branch Coverage

blib/lib/Regexp/Shellish.pm
Criterion Covered Total %
branch 31 34 91.1


line true false branch
119 43 19 @_ && ref $_[-1] eq 'HASH' ? :
122 29 33 if ref $re eq 'Regexp'
124 32 1 !exists($$o{'star_star'}) || $$o{'star_star'} ? :
128 31 2 !exists($$o{'dot_dot_dot'}) || $$o{'dot_dot_dot'} ? :
132 31 2 !exists($$o{'case_sensitive'}) || $$o{'case_sensitive'} ? :
151 3 117 if ($1 eq '?') { }
4 113 elsif ($1 eq '*') { }
6 107 elsif ($1 eq '**') { }
4 103 elsif ($1 eq '...') { }
4 99 elsif ($pass_braces and $1 eq '{') { }
4 95 elsif ($pass_braces and $1 eq '}') { }
2 93 elsif ($pass_braces and $brace_depth and $1 eq ',') { }
4 89 elsif ($pass_parens and index('()', $1) >= 0) { }
168 0 4 unless $brace_depth--
182 0 33 if $brace_depth
184 32 1 $anchors ? :
199 0 28 @_ > 1 && ref $_[-1] eq 'HASH' ? :