blib/lib/Regexp/Shellish.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 35 | 39 | 89.7 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
119 | 0 | 19 | 43 | @_ && ref $_[-1] eq 'HASH' |
151 | 12 | 87 | 4 | $pass_braces and $1 eq '{' |
12 | 83 | 4 | $pass_braces and $1 eq '}' | |
12 | 75 | 8 | $pass_braces and $brace_depth | |
87 | 6 | 2 | $pass_braces and $brace_depth and $1 eq ',' | |
5 | 84 | 4 | $pass_parens and index('()', $1) >= 0 | |
199 | 0 | 28 | 0 | @_ > 1 && ref $_[-1] eq 'HASH' |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
124 | 31 | 1 | 1 | !exists($$o{'star_star'}) || $$o{'star_star'} |
128 | 30 | 1 | 2 | !exists($$o{'dot_dot_dot'}) || $$o{'dot_dot_dot'} |
132 | 29 | 2 | 2 | !exists($$o{'case_sensitive'}) || $$o{'case_sensitive'} |
136 | 32 | 0 | 1 | !exists($$o{'anchors'}) || $$o{'anchors'} |
137 | 31 | 1 | 1 | !exists($$o{'parens'}) || $$o{'parens'} |
138 | 30 | 1 | 2 | !exists($$o{'braces'}) || $$o{'braces'} |