Condition Coverage

blib/lib/App/sh2p/Compound.pm
Criterion Covered Total %
condition 0 54 0.0


and 3 conditions

line !l l&&!r l&&r condition
145 0 0 0 $i < $#tokens and not $tokens[$i + 1] =~ /^($specials)\(/
148 0 0 0 not &identify_ksh_boolean(\$tokens[$i], \$types[$i]) and $i < $#tokens
292 0 0 0 $i < $#tokens and not $tokens[$i + 1] =~ /^($specials)\(/
295 0 0 0 not &identify_sh_boolean(\$tokens[$i], \$types[$i]) and $i < $#tokens
334 0 0 0 defined $rest and $rest
504 0 0 0 $chars[$i] eq ']' and $inside_br
0 0 0 $chars[$i] eq '!' and $inside_br
0 0 0 $chars[$i] eq '!' and $inside_br and $chars[$i - 1] eq '['
519 0 0 0 defined $minimal and $minimal
533 0 0 0 defined $nested and $nested
601 0 0 0 $rest[$i] eq ';' and $rest[$i + 1] eq ';'
871 0 0 0 $cmd and $tokens[0] ne 'test'
0 0 0 $cmd and $tokens[0] ne 'test' and $types[0][0] eq 'EXTERNAL' || $types[0][0] eq 'BUILTIN' || $types[0][0] eq 'PERL_BUILTIN'

or 3 conditions

line l !l&&r !l&&!r condition
162 0 0 0 $char eq '+' or $char eq '?'
0 0 0 $char eq '+' or $char eq '?' or $char eq '*'
268 0 0 0 is_break($rest[$i]) or $rest[$i] eq ';'
856 0 0 0 is_break($statements[$i]) or $statements[$i] eq ';'
871 0 0 0 $types[0][0] eq 'EXTERNAL' || $types[0][0] eq 'BUILTIN' || $types[0][0] eq 'PERL_BUILTIN'