Condition Coverage

blib/lib/CodeGen/Cpppp/Template.pm
Criterion Covered Total %
condition 28 53 52.8


and 3 conditions

line !l l&&!r l&&r condition
98 10 0 14 @args == 1 && ref $args[0]
212 10 5 5 defined $1 and length $1 > $maxdigit
253 11 108 0 @out == 1 and ref $out[0] eq "ARRAY"
254 131 0 0 ref $_ eq "CODE" and $_ = &$_($self, $out)
268 0 6 5 $self->{'autostatementline'} and $last_char eq '{' || $last_char eq ';'
6 2 3 $self->{'autostatementline'} and $last_char eq '{' || $last_char eq ';' and substr($text, $s->{'pos'} + $s->{'len'}, 1) eq ";"
0 8 0 $self->{'autocomma'} and $last_char eq ',' || $last_char eq '(' || $last_char eq '{'
0 0 0 $self->{'autoindent'} and not $inline
0 0 0 $self->{'autoindent'} and not $inline and not $join_sep =~ /\n/u
272 0 0 3 not $inline and substr($text, $s->{'pos'} + $s->{'len'}, 2) eq ";\n"
301 0 6 108 $self->{'autoindent'} and $indent

or 2 conditions

line l !l condition
230 17 20 $self->{'current_out'} //= ""

or 3 conditions

line l !l&&r !l&&!r condition
134 0 0 0 $$params{$p . $k} // $params->{$k}
224 0 0 0 ord $_ > 126 || ord $_ < 33
241 11 9 0 $colmarker{$s->{'colgroup'}} //= _colmarker($s->{'colgroup'})
268 3 2 6 $last_char eq '{' || $last_char eq ';'
6 2 0 $last_char eq ',' || $last_char eq '(' || $last_char eq '{'
288 2 0 6 not @out or $out[0] =~ /^\s*,/u