line |
true |
false |
branch |
70
|
7 |
0 |
@_ ? :
|
|
0 |
7 |
if @_ < 1
|
|
7 |
0 |
$#_ >= 0 ? :
|
|
7 |
0 |
$#_ >= 1 ? :
|
71
|
0 |
7 |
if (scalar @args == 1 and ref $args[0] eq 'HASH') { }
|
79
|
7 |
0 |
@_ ? :
|
82
|
0 |
0 |
@_ ? :
|
|
0 |
0 |
if @_ != 1
|
|
0 |
0 |
$#_ >= 0 ? :
|
91
|
7 |
0 |
@_ ? :
|
|
0 |
7 |
$#_ == 0 && ref $_[0] eq 'HASH' ? :
|
|
7 |
0 |
exists $_{'plugin_name'} ? :
|
|
7 |
0 |
Type::Tiny::XS::Str($plugin_name) ? :
|
|
7 |
0 |
if (exists $_{'plugin_name'})
|
|
2 |
5 |
exists $_{'constructor_args'} ? :
|
|
7 |
0 |
ref $constructor_args eq 'HASH' ? :
|
|
3 |
4 |
exists $_{'transform_args'} ? :
|
|
7 |
0 |
ref $transform_args eq 'HASH' ? :
|
95
|
0 |
7 |
if $@
|
97
|
0 |
7 |
unless ($plugin_class->does('Stenciller::Transformer'))
|
103
|
7 |
0 |
@_ ? :
|
104
|
7 |
0 |
$self->is_utf8 ? :
|
119
|
268 |
8 |
if $environment ne 'next_stencil'
|
121
|
36 |
240 |
if (&any(sub {
$environment eq $_;
}
, 'header', 'next_stencil')) { }
|
|
56 |
184 |
elsif ($environment eq 'before_input') { }
|
|
56 |
128 |
elsif ($environment eq 'input') { }
|
|
53 |
75 |
elsif ($environment eq 'between') { }
|
|
56 |
19 |
elsif ($environment eq 'output') { }
|
|
19 |
0 |
elsif ($environment eq 'after_output') { }
|
122
|
21 |
15 |
unless $line =~ /$stencil_start/u
|
125
|
11 |
4 |
defined $possible_hash && $possible_hash =~ /\{.*\}/u ? :
|
130
|
3 |
12 |
exists $settings->{'name'} ? :
|
144
|
41 |
15 |
unless $line =~ /$input_start/u
|
148
|
41 |
15 |
unless $line =~ /$input_end/u
|
152
|
38 |
15 |
unless $line =~ /$output_start/u
|
156
|
41 |
15 |
unless $line =~ /$output_end/u
|
160
|
11 |
8 |
unless $line =~ /$stencil_start/u
|
166
|
0 |
7 |
if ($environment ne 'after_output')
|
172
|
15 |
0 |
@_ ? :
|
|
0 |
15 |
if @_ != 1
|
|
15 |
0 |
$#_ >= 0 ? :
|
|
15 |
0 |
Type::Tiny::XS::AUTO::TC5($stencil) ? :
|
|
15 |
0 |
if ($#_ >= 0)
|
173
|
0 |
15 |
unless &Stencil()->check($stencil)
|
174
|
0 |
15 |
if $stencil->skip
|
175
|
2 |
13 |
if not $stencil->has_input and $self->skip_if_input_empty
|
176
|
0 |
13 |
if not $stencil->has_output and $self->skip_if_output_empty
|
178
|
12 |
1 |
unless ($stencil->has_loop_values)
|
189
|
9 |
0 |
@_ ? :
|