blib/lib/Log/Report/Lexicon/PO.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 31 | 45 | 68.8 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
65 | 0 | 0 | 1 | defined $m and not ref $m |
159 | 1 | 3 | 0 | $_ =~ /$match/ and delete $refs->{$_} |
186 | 2 | 0 | 0 | @_ == 1 and not ref $_[0] |
297 | 24 | 0 | 1 | defined $comment and length $comment |
303 | 20 | 0 | 5 | defined $auto and length $auto |
314 | 20 | 0 | 31 | @refs and length($line) + length($refs[0]) < 80 |
328 | 25 | 0 | 0 | defined $msgctxt and length $msgctxt |
340 | 1 | 6 | 3 | defined $nplurals and @msgstr < $nplurals |
343 | 1 | 6 | 0 | defined $nplurals and @msgstr > $nplurals |
line | l | !l | condition |
---|---|---|---|
81 | 8 | 5 | shift() || 0 |
144 | 17 | 35 | $self->{'refs'} ||= {} |
219 | 40 | 0 | shift() || ' unknown location' |
309 | 21 | 4 | $self->{'msgid'} || '' |
333 | 12 | 13 | $self->{'msgstr'} || [] |
348 | 6 | 1 | $nplurals ||= 2 |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
310 | 4 | 20 | 1 | $msgid eq '' || @refs |
368 | 13 | 0 | 0 | $self->references || $self->msgstr(0) |