| line |
true |
false |
branch |
|
36
|
0 |
15 |
unless eval "require $class" |
|
57
|
1 |
13 |
if ($escape_plugins) |
|
58
|
0 |
1 |
unless ref $escape_plugins eq 'ARRAY' |
|
66
|
1 |
1 |
if ref $sub eq 'CODE' |
|
96
|
0 |
0 |
ref $init{'throw'} eq 'CODE' ? : |
|
107
|
3 |
11 |
$init{'allow_maketext'} ? : |
|
|
4 |
10 |
$init{'allow_gettext'} ? : |
|
|
2 |
12 |
$init{'allow_formatter'} ? : |
|
|
5 |
9 |
$init{'allow_unescaped'} ? : |
|
188
|
66 |
29 |
if ($escape eq '0') |
|
198
|
23 |
0 |
if (exists $escape_sub_of{uc $escape}) |
|
205
|
55 |
0 |
if (exists $$arg_ref{'escape_ref'}) |
|
209
|
0 |
55 |
@unknown_escapes ? : |
|
217
|
0 |
24 |
unless @escapes |
|
240
|
6 |
0 |
defined $$arg_ref{$1} ? : |
|
250
|
0 |
178 |
unless defined $string |
|
268
|
18 |
110 |
if ($name eq 'ESCAPE') |
|
269
|
18 |
0 |
if (length $$attr_ref{$name}) |
|
274
|
23 |
105 |
if ($init{'allow_maketext'}) |
|
281
|
12 |
11 |
if ($is_maketext) |
|
284
|
0 |
12 |
if (exists $$data_ref{'maketext'}{'array'}[$index]) |
|
294
|
50 |
66 |
if ($init{'allow_gettext'}) |
|
301
|
16 |
34 |
if ($is_gettext) |
|
303
|
0 |
16 |
if (exists $$data_ref{'gettext'}{'hash'}{lc $key}) |
|
318
|
5 |
29 |
if ($is_plural) |
|
319
|
0 |
5 |
if (exists $$data_ref{'plural'}) |
|
334
|
5 |
24 |
if ($is_count) |
|
335
|
0 |
5 |
if (exists $$data_ref{'count'}) |
|
350
|
4 |
20 |
if ($is_context) |
|
351
|
0 |
4 |
if (exists $$data_ref{'context'}) |
|
361
|
16 |
70 |
if ($init{'allow_formatter'}) |
|
363
|
3 |
13 |
if ($name eq 'FORMATTER') |
|
364
|
0 |
3 |
if (exists $$data_ref{'formatter'}{'array'}) |
|
375
|
22 |
61 |
if ($init{'allow_unescaped'}) |
|
382
|
10 |
12 |
if ($is_unescaped) |
|
384
|
0 |
10 |
if (exists $$data_ref{'unescaped'}{'hash'}{lc $key}) |
|
396
|
0 |
11 |
exists $$attr_ref{'VALUE'} ? : |
|
|
11 |
44 |
exists $$attr_ref{'NAME'} ? : |
|
427
|
18 |
37 |
exists $$data_ref{'escape'} ? : |
|
433
|
0 |
55 |
if ($unknown_escapes) |
|
436
|
0 |
0 |
$is_plural ? : |
|
445
|
35 |
20 |
if (exists $$data_ref{'escape'} and not @{$$data_ref{'escape'}{'array'};}) |
|
461
|
33 |
132 |
if $$data{'is_variable'} |
|
463
|
0 |
132 |
unless defined $$data{'value'} |
|
471
|
151 |
124 |
unless exists $$data_ref{$key} |
|
479
|
99 |
11 |
unless exists $$data_ref{$key} |
|
494
|
92 |
18 |
unless exists $$data_ref{$key} |
|
512
|
35 |
20 |
unless exists $$data_ref{$key} |
|
540
|
173 |
0 |
$_ eq 'filename' || exists $data{$_} ? : |