line |
true |
false |
branch |
29
|
0 |
15 |
unless defined($self->{'msgid'} = delete $args->{'msgid'}) |
41
|
13 |
2 |
if defined $args->{'references'} |
57
|
2 |
1 |
unless @_ |
59
|
1 |
0 |
if (my $m = $self->{'msgstr'}) |
61
|
1 |
0 |
if defined $m and not ref $m |
72
|
27 |
13 |
unless ($self->{'plural'}) |
73
|
6 |
21 |
if @_ == 2 |
78
|
1 |
12 |
@_ ? : |
84
|
26 |
0 |
unless @_ |
93
|
0 |
22 |
ref $_[0] eq 'ARRAY' ? : |
94
|
15 |
7 |
unless defined $line |
100
|
7 |
15 |
if defined $comment |
107
|
26 |
0 |
unless @_ |
116
|
0 |
20 |
ref $_[0] eq 'ARRAY' ? : |
117
|
15 |
5 |
unless defined $line |
122
|
5 |
15 |
if defined $auto |
129
|
0 |
39 |
if (@_) |
141
|
0 |
52 |
unless @_ |
144
|
12 |
39 |
ref $_[0] eq 'ARRAY' ? : |
|
1 |
51 |
@_ > 1 ? : |
167
|
0 |
0 |
unless $keep->{$fn} |
174
|
12 |
1 |
unless $_[0]{'msgid'} eq '' |
177
|
29 |
0 |
@_ ? : |
182
|
0 |
2 |
if @_ == 1 and not ref $_[0] |
185
|
0 |
0 |
ref $_[0] eq 'ARRAY' ? : |
|
2 |
0 |
@_ > 1 ? : |
202
|
12 |
2 |
if ($flag eq 'fuzzy') { } |
|
0 |
2 |
elsif ($flag =~ /^no-(.*)-format$/) { } |
|
2 |
0 |
elsif ($flag =~ /^(.*)-format$/) { } |
226
|
61 |
118 |
if (s/^\#(.)\s?//) { } |
|
80 |
38 |
elsif (s/^\s*(\w+)\s+//) { } |
|
6 |
32 |
elsif (s/^\s*msgstr\[(\d+)\]\s*//) { } |
|
32 |
0 |
elsif (/^\s*\"/) { } |
227
|
7 |
54 |
if ($1 =~ /\s/) { } |
|
3 |
51 |
elsif ($1 eq '.') { } |
|
37 |
14 |
elsif ($1 eq ':') { } |
|
14 |
0 |
elsif ($1 eq ',') { } |
241
|
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') { } |
268
|
32 |
0 |
if (defined $last) { } |
281
|
0 |
40 |
unless defined $self->{'msgid'} |
293
|
1 |
24 |
if (defined $comment and length $comment) |
299
|
5 |
20 |
if (defined $auto and length $auto) |
306
|
24 |
1 |
$msgid eq '' || @refs ? : |
315
|
14 |
11 |
$self->{'fuzzy'} ? : |
318
|
0 |
0 |
$self->{'format'}{$_} ? : |
320
|
14 |
11 |
if @flags |
324
|
0 |
25 |
if (defined $msgctxt and length $msgctxt) |
330
|
19 |
6 |
ref $msgstr ? : |
332
|
7 |
18 |
if (defined $plural) { } |
339
|
0 |
7 |
if (defined $nplurals and @msgstr > $nplurals) |
351
|
0 |
18 |
if @msgstr > 1 |