line |
true |
false |
branch |
33
|
0 |
15 |
unless defined($self->{'msgid'} = delete $args->{'msgid'}) |
45
|
13 |
2 |
if defined $args->{'references'} |
61
|
2 |
1 |
unless @_ |
63
|
1 |
0 |
if (my $m = $self->{'msgstr'}) |
65
|
1 |
0 |
if defined $m and not ref $m |
76
|
27 |
13 |
unless ($self->{'plural'}) |
77
|
6 |
21 |
if @_ == 2 |
82
|
1 |
12 |
@_ ? : |
88
|
26 |
0 |
unless @_ |
97
|
0 |
22 |
ref $_[0] eq 'ARRAY' ? : |
98
|
15 |
7 |
unless defined $line |
104
|
7 |
15 |
if defined $comment |
111
|
26 |
0 |
unless @_ |
120
|
0 |
20 |
ref $_[0] eq 'ARRAY' ? : |
121
|
15 |
5 |
unless defined $line |
126
|
5 |
15 |
if defined $auto |
133
|
0 |
39 |
if (@_) |
145
|
0 |
52 |
unless @_ |
148
|
12 |
39 |
ref $_[0] eq 'ARRAY' ? : |
|
1 |
51 |
@_ > 1 ? : |
171
|
0 |
0 |
unless $keep->{$fn} |
178
|
12 |
1 |
unless $_[0]{'msgid'} eq '' |
181
|
29 |
0 |
@_ ? : |
186
|
0 |
2 |
if @_ == 1 and not ref $_[0] |
189
|
0 |
0 |
ref $_[0] eq 'ARRAY' ? : |
|
2 |
0 |
@_ > 1 ? : |
206
|
12 |
2 |
if ($flag eq 'fuzzy') { } |
|
0 |
2 |
elsif ($flag =~ /^no-(.*)-format$/) { } |
|
2 |
0 |
elsif ($flag =~ /^(.*)-format$/) { } |
230
|
61 |
118 |
if (s/^\#(.)\s?//) { } |
|
80 |
38 |
elsif (s/^\s*(\w+)\s+//) { } |
|
6 |
32 |
elsif (s/^\s*msgstr\[(\d+)\]\s*//) { } |
|
32 |
0 |
elsif (/^\s*\"/) { } |
231
|
7 |
54 |
if ($1 =~ /\s/) { } |
|
3 |
51 |
elsif ($1 eq '.') { } |
|
37 |
14 |
elsif ($1 eq ':') { } |
|
14 |
0 |
elsif ($1 eq ',') { } |
245
|
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') { } |
272
|
32 |
0 |
if (defined $last) { } |
285
|
0 |
40 |
unless defined $self->{'msgid'} |
297
|
1 |
24 |
if (defined $comment and length $comment) |
303
|
5 |
20 |
if (defined $auto and length $auto) |
310
|
24 |
1 |
$msgid eq '' || @refs ? : |
319
|
14 |
11 |
$self->{'fuzzy'} ? : |
322
|
0 |
0 |
$self->{'format'}{$_} ? : |
324
|
14 |
11 |
if @flags |
328
|
0 |
25 |
if (defined $msgctxt and length $msgctxt) |
334
|
19 |
6 |
ref $msgstr ? : |
336
|
7 |
18 |
if (defined $plural) { } |
343
|
0 |
7 |
if (defined $nplurals and @msgstr > $nplurals) |
355
|
0 |
18 |
if @msgstr > 1 |