| line |
true |
false |
branch |
|
31
|
12 |
45 |
ref $_[0] eq 'ARRAY' ? : |
|
43
|
0 |
15 |
unless defined($self->{'msgid'} = delete $args->{'msgid'}) |
|
55
|
13 |
2 |
if defined $args->{'references'} |
|
71
|
2 |
1 |
unless @_ |
|
73
|
1 |
0 |
if (my $m = $self->{'msgstr'}) |
|
75
|
1 |
0 |
if defined $m and not ref $m |
|
86
|
27 |
13 |
unless ($self->{'plural'}) |
|
87
|
6 |
21 |
if @_ == 2 |
|
92
|
1 |
12 |
if (@_) { } |
|
98
|
26 |
0 |
unless @_ |
|
110
|
0 |
7 |
unless defined $line |
|
116
|
7 |
15 |
if defined $comment |
|
123
|
26 |
0 |
unless @_ |
|
139
|
5 |
15 |
if defined $auto |
|
146
|
0 |
39 |
if (@_) |
|
159
|
39 |
13 |
@_ == 1 && defined $_[0] && ref $_[0] ne 'ARRAY' ? : |
|
181
|
0 |
0 |
unless $keep->{$fn} |
|
188
|
12 |
1 |
unless $_[0]{'msgid'} eq "" |
|
191
|
29 |
0 |
if (@_) { } |
|
196
|
0 |
2 |
if @_ == 1 and not ref $_[0] |
|
199
|
0 |
2 |
ref $_[0] eq 'HASH' ? : |
|
217
|
12 |
2 |
if ($flag eq 'fuzzy') { } |
|
|
0 |
2 |
elsif ($flag =~ /^no-(.*)-format$/) { } |
|
|
2 |
0 |
elsif ($flag =~ /^(.*)-format$/) { } |
|
243
|
61 |
118 |
if (s/^\#(.)\s?//) { } |
|
|
80 |
38 |
elsif (s/^\s*(\w+)\s+//) { } |
|
|
6 |
32 |
elsif (s/^\s*msgstr\[(\d+)\]\s*//) { } |
|
|
32 |
0 |
elsif (/^\s*\"/) { } |
|
244
|
7 |
54 |
if ($1 =~ /\s/) { } |
|
|
3 |
51 |
elsif ($1 eq '.') { } |
|
|
37 |
14 |
elsif ($1 eq ':') { } |
|
|
14 |
0 |
elsif ($1 eq ',') { } |
|
257
|
40 |
40 |
if ($cmd eq 'msgid') { } |
|
|
2 |
38 |
elsif ($cmd eq 'msgid_plural') { } |
|
|
38 |
0 |
elsif ($cmd eq 'msgstr') { } |
|
|
0 |
0 |
elsif ($cmd eq 'msgctxt') { } |
|
283
|
32 |
0 |
if (defined $last) { } |
|
294
|
0 |
40 |
unless defined $self->{'msgid'} |
|
306
|
1 |
24 |
if (defined $comment and length $comment) |
|
312
|
5 |
20 |
if (defined $auto and length $auto) |
|
319
|
24 |
1 |
$msgid eq '' || @refs ? : |
|
327
|
14 |
11 |
$self->{'fuzzy'} ? : |
|
330
|
0 |
0 |
$self->{'format'}{$_} ? : |
|
332
|
14 |
11 |
if @flags |
|
336
|
0 |
25 |
if (defined $msgctxt and length $msgctxt) |
|
342
|
19 |
6 |
ref $msgstr ? : |
|
344
|
7 |
18 |
if (defined $plural) { } |
|
350
|
0 |
7 |
if (defined $nplurals and @msgstr > $nplurals) |
|
361
|
0 |
18 |
if @msgstr > 1 |