Condition Coverage

blib/lib/App/sh2p/Handlers.pm
Criterion Covered Total %
condition 0 42 0.0


and 3 conditions

line !l l&&!r l&&r condition
51 0 0 0 not defined $special_var and Register_variable($name)
565 0 0 0 $tok eq ')' and $g_unterminated_backtick
0 0 0 $tok =~ /^#/ and App::sh2p::Utils::new_line()
0 0 0 $tok =~ /^(.*)\`\s*(.*)\s*\`(.*)/ and substr($tok, 0, 1) ne '"'
619 0 0 0 $preamble eq $rest and $rest eq '"' || $rest eq q[']
707 0 0 0 $chars[$i] eq '"' and not query_in_quotes()
829 0 0 0 not $shell and @perlbi = App::sh2p::Parser::get_perl_builtin($cmd[0])

or 3 conditions

line l !l&&r !l&&!r condition
94 0 0 0 substr($tok, 0, 1) eq '#' or is_break($tok)
318 0 0 0 $type eq '>' or $type eq '>>'
409 0 0 0 $idx eq '*' or $idx eq '@'
619 0 0 0 $rest eq '"' || $rest eq q[']
846 0 0 0 $char eq q['] or $char eq '"'
1024 0 0 0 $context eq 'if' or $context eq 'while'
1060 0 0 0 $token =~ /^[-+]?\d+$/ or $token =~ /^\".*\"$/