blib/lib/String/Wildcard/Bash.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 37 | 41 | 90.2 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
123 | 7 | 2 | 1 | $m{'bash_joker'} and $m{'bash_joker'} eq "?" |
133 | 7 | 2 | 1 | $m{'bash_joker'} and $m{'bash_joker'} eq "*" |
143 | 7 | 2 | 1 | $m{'bash_joker'} and $m{'bash_joker'} eq "**" |
223 | 0 | 4 | 2 | $p eq "**" and not $opt_globstar |
229 | 2 | 0 | 0 | @res and not $after_pathsep |
249 | 37 | 18 | 5 | defined $m{'literal'} && substr($m{'literal'}, -1) eq $opt_ps |
line | l | !l | condition |
---|---|---|---|
182 | 3 | 25 | $opts->{'brace'} // 1 |
183 | 10 | 18 | $opts->{'dotglob'} // 0 |
184 | 6 | 22 | $opts->{'globstar'} // 0 |
185 | 3 | 25 | $opts->{'path_separator'} // "/" |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
83 | 10 | 5 | 70 | $m{'bash_brace'} or $m{'bash_class'} |
5 | 8 | 62 | $m{'bash_brace'} or $m{'bash_class'} or $m{'bash_joker'} | |
159 | 3 | 1 | 3 | $m{'bash_joker'} eq "*" or $m{'bash_joker'} eq "**" |
223 | 25 | 0 | 6 | $p eq "*" or $p eq "**" and not $opt_globstar |
226 | 10 | 8 | 9 | $opt_dotglob || @res && !$after_pathsep |