Condition Coverage

blib/lib/HTML/Blitz/CodeGen.pm
Criterion Covered Total %
condition 36 83 43.3


and 3 conditions

line !l l&&!r l&&r condition
31 0 291 0 @_ > 1 and (@_ - 1) % 2
51 0 1 2 $model eq "JSON" and $op->{'type'} eq ":OP-COND"
77 0 1 2 $model eq "JSON" and $op->{'type'} eq ":OP-COND"
220 0 1183 0 @_ > 3 and (@_ - 3) % 2
306 0 0 5 $code->[0]{'type'} eq ":OP-RAW" and $self->{'code'}[-1]{'type'} eq ":OP-RAW"
343 0 234 0 @_ > 1 and (@_ - 1) % 2
412 0 0 3 $type eq "bool" and $$name eq "iter0"
450 238 7 0 @_ > 3 and (@_ - 3) % 2

or 2 conditions

line l !l condition
421 7 74 $gen_vars{$scope}{'typeof'} //= {}

or 3 conditions

line l !l&&r !l&&!r condition
47 1 2 9 $op->{'type'} eq ":OP-LOOP" or $op->{'type'} eq ":OP-COND"
76 1 2 9 $op->{'type'} eq ":OP-LOOP" or $op->{'type'} eq ":OP-COND"
282 7 0 0 $op->{'type'} eq ":OP-VAR" or $op->{'type'} eq ":OP-VAR-QQ"
7 0 0 $op->{'type'} eq ":OP-VAR" or $op->{'type'} eq ":OP-VAR-QQ" or $op->{'type'} eq ":OP-VAR-HTML"
0 0 0 $op->{'type'} eq ":OP-VAR" or $op->{'type'} eq ":OP-VAR-QQ" or $op->{'type'} eq ":OP-VAR-HTML" or $op->{'type'} eq ":OP-VAR-SCRIPT"
0 0 0 $op->{'type'} eq ":OP-VAR" or $op->{'type'} eq ":OP-VAR-QQ" or $op->{'type'} eq ":OP-VAR-HTML" or $op->{'type'} eq ":OP-VAR-SCRIPT" or $op->{'type'} eq ":OP-VAR-STYLE"
0 0 0 $op->{'type'} eq ":OP-CALL" or $op->{'type'} eq ":OP-CALL-QQ"
0 0 0 $op->{'type'} eq ":OP-CALL" or $op->{'type'} eq ":OP-CALL-QQ" or $op->{'type'} eq ":OP-MANGLE-ATTR"
0 0 0 $op->{'type'} eq ":OP-CALL" or $op->{'type'} eq ":OP-CALL-QQ" or $op->{'type'} eq ":OP-MANGLE-ATTR" or $op->{'type'} eq ":OP-CALL-SCRIPT"
0 0 0 $op->{'type'} eq ":OP-CALL" or $op->{'type'} eq ":OP-CALL-QQ" or $op->{'type'} eq ":OP-MANGLE-ATTR" or $op->{'type'} eq ":OP-CALL-SCRIPT" or $op->{'type'} eq ":OP-CALL-STYLE"
325 1179 29 0 $perl_esc{$1} // sprintf("\\x{%x}", ord $1)
344 0 234 0 $data_format eq "nested" or $data_format eq "sigil"
352 0 0 1170 $i >= @types or $t lt $types[$i]
390 8 23 0 $gen_vars{$var->[0]}{'html'}{$var->[1]} //= &$mk_varid("", $var)
394 4 10 0 $gen_vars{$var->[0]}{'html_qq'}{$var->[1]} //= &$mk_varid("qq", $var)
397 0 18 0 $gen_vars{$var->[0]}{'script'}{$var->[1]} //= &$mk_varid("script", $var)
400 0 1 0 $gen_vars{$var->[0]}{'style'}{$var->[1]} //= &$mk_varid("style", $var)
403 4 29 0 $gen_vars{$var->[0]}{'func'}{$var->[1]} //= &$mk_varid("fn", $var)
588 46 1 187 $need_err_callable || $need_assert_script || $need_assert_style