blib/lib/Inline/denter.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 11 | 46 | 23.9 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
36 | 0 | 0 | 95 | $o->{'level'} == 0 and $o->{'content'} =~ /^(\w+)\s*$comma\s*(.*)$/ |
96 | 0 | 0 | 0 | not $o->{'done'} and $o->{'lines'}[0] ne $marker |
124 | 0 | 0 | 95 | defined $key and defined $value |
139 | 0 | 0 | 0 | not $o->{'done'} and $o->{'lines'}[0] ne $marker |
229 | 0 | 0 | 26 | ref $_ eq 'HASH' and not /=/ |
231 | 0 | 0 | 0 | ref $_ eq 'ARRAY' and not /=/ |
233 | 0 | 0 | 0 | ref $_ eq 'SCALAR' and not /=/ |
line | l | !l | condition |
---|---|---|---|
33 | 0 | 19 | $o->{'line'} ||= 1 |
62 | 0 | 76 | $2 || '' |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
229 | 26 | 0 | 0 | ref $_ eq 'HASH' and not /=/ or /=HASH/ |
231 | 0 | 0 | 0 | ref $_ eq 'ARRAY' and not /=/ or /=ARRAY/ |
233 | 0 | 0 | 0 | ref $_ eq 'SCALAR' and not /=/ or /=SCALAR/ |
243 | 0 | 0 | 247 | $data =~ /^[\s\%\@\$\\?\"]|\s$/ or $data =~ /\Q$o->{'comma'}\E/ |
0 | 0 | 247 | $data =~ /^[\s\%\@\$\\?\"]|\s$/ or $data =~ /\Q$o->{'comma'}\E/ or $data =~ /[\x00-\x1f]/ | |
0 | 13 | 234 | $data =~ /^[\s\%\@\$\\?\"]|\s$/ or $data =~ /\Q$o->{'comma'}\E/ or $data =~ /[\x00-\x1f]/ or $data eq '' | |
272 | 0 | 0 | 156 | $key =~ /\n/ or $key =~ /\Q$o->{'comma'}\E/ |