| blib/lib/Log/Report/Lexicon/PO.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| condition | 31 | 45 | 68.8 |
| line | !l | l&&!r | l&&r | condition |
|---|---|---|---|---|
| 61 | 0 | 0 | 1 | defined $m and not ref $m |
| 155 | 1 | 3 | 0 | $_ =~ /$match/ and delete $refs->{$_} |
| 182 | 2 | 0 | 0 | @_ == 1 and not ref $_[0] |
| 293 | 24 | 0 | 1 | defined $comment and length $comment |
| 299 | 20 | 0 | 5 | defined $auto and length $auto |
| 310 | 20 | 0 | 31 | @refs and length($line) + length($refs[0]) < 80 |
| 324 | 25 | 0 | 0 | defined $msgctxt and length $msgctxt |
| 336 | 1 | 6 | 3 | defined $nplurals and @msgstr < $nplurals |
| 339 | 1 | 6 | 0 | defined $nplurals and @msgstr > $nplurals |
| line | l | !l | condition |
|---|---|---|---|
| 77 | 8 | 5 | shift() || 0 |
| 140 | 17 | 35 | $self->{'refs'} ||= {} |
| 215 | 40 | 0 | shift() || ' unkown location' |
| 305 | 21 | 4 | $self->{'msgid'} || '' |
| 329 | 12 | 13 | $self->{'msgstr'} || [] |
| 344 | 6 | 1 | $nplurals ||= 2 |
| line | l | !l&&r | !l&&!r | condition |
|---|---|---|---|---|
| 306 | 4 | 20 | 1 | $msgid eq '' || @refs |
| 364 | 13 | 0 | 0 | $self->references || $self->msgstr(0) |