Condition Coverage

blib/lib/App/sh2p/Parser.pm
Criterion Covered Total %
condition 0 99 0.0


and 3 conditions

line !l l&&!r l&&r condition
218 0 0 0 $qs and $char eq ']'
0 0 0 $br and $char eq '}'
257 0 0 0 $qp and $char eq ')'
266 0 0 0 $char eq '#' and not $variable
270 0 0 0 $char =~ /\s/ and not $comment
0 0 0 $char eq ';' and not $comment
0 0 0 $char eq '<' and not $comment
0 0 0 $char eq '>' and not $comment
296 0 0 0 defined $tokens[$index] and $tokens[$index] ne '>'
339 0 0 0 not $nested and $first =~ /^([\"]?)\$[A-Z0-9#\@*{}\[\]]+\1/i
370 0 0 0 exists $ioperator{$token} and $nested < 2
0 0 0 exists $ibuiltins{$token} and $nested < 2
0 0 0 exists $perl_builtins{$token} and $nested < 2
408 0 0 0 !@out || $out[-1][0] eq 'BREAK' and not $nested
0 0 0 !@out || $out[-1][0] eq 'BREAK' and not $nested and not is_break($first_char)
0 0 0 $first_char eq '$' and $token =~ /^\$[A-Z0-9\#\@\*\?\{\}\[\]]+$/i
0 0 0 exists $ioperator{$two_chars} and $nested
0 0 0 exists $ioperator{$first_char} and $nested
0 0 0 $token =~ /\[|\*|\?/ and not query_in_quotes()
414 0 0 0 $two_chars eq '${' and !@out || $out[-1][0] eq 'BREAK'
0 0 0 $two_chars eq '${' and !@out || $out[-1][0] eq 'BREAK' and not $nested
0 0 0 $two_chars eq '${' and !@out || $out[-1][0] eq 'BREAK' and not $nested and not is_break($first_char)
425 0 0 0 $first_char eq '"' and !@out || $out[-1][0] eq 'BREAK'
0 0 0 $first_char eq '"' and !@out || $out[-1][0] eq 'BREAK' and not $nested
0 0 0 $first_char eq '"' and !@out || $out[-1][0] eq 'BREAK' and not $nested and not is_break($first_char)
637 0 0 0 $types[0][0] eq 'EXTERNAL' and $i < $#args

or 3 conditions

line l !l&&r !l&&!r condition
265 0 0 0 $q || $qq || $qx || $qp || $qs || $br
408 0 0 0 !@out || $out[-1][0] eq 'BREAK'
414 0 0 0 !@out || $out[-1][0] eq 'BREAK'
425 0 0 0 !@out || $out[-1][0] eq 'BREAK'
542 0 0 0 not defined $next_type or $next_type ne 'BUILTIN'
547 0 0 0 $$rtok[$i] eq '<' or $$rtok[$i] eq '>'
0 0 0 $$rtok[$i] eq '<' or $$rtok[$i] eq '>' or $$rtok[$i] eq '>>'