line |
true |
false |
branch |
68
|
5 |
0 |
@_ ? :
|
|
0 |
5 |
if @_ < 1
|
|
5 |
0 |
$#_ >= 0 ? :
|
|
5 |
0 |
$#_ >= 1 ? :
|
69
|
0 |
5 |
if (scalar @args == 1 and ref $args[0] eq 'HASH') { }
|
77
|
5 |
0 |
@_ ? :
|
80
|
0 |
0 |
@_ ? :
|
|
0 |
0 |
if @_ != 1
|
|
0 |
0 |
$#_ >= 0 ? :
|
89
|
4 |
0 |
@_ ? :
|
|
0 |
4 |
$#_ == 0 && ref $_[0] eq 'HASH' ? :
|
|
4 |
0 |
exists $_{'plugin_name'} ? :
|
|
4 |
0 |
Type::Tiny::XS::Str($plugin_name) ? :
|
|
4 |
0 |
if (exists $_{'plugin_name'})
|
|
0 |
4 |
exists $_{'constructor_args'} ? :
|
|
4 |
0 |
ref $constructor_args eq 'HASH' ? :
|
|
2 |
2 |
exists $_{'transform_args'} ? :
|
|
4 |
0 |
ref $transform_args eq 'HASH' ? :
|
93
|
0 |
4 |
if $@
|
95
|
0 |
4 |
unless ($plugin_class->does('Stenciller::Transformer'))
|
101
|
5 |
0 |
@_ ? :
|
102
|
5 |
0 |
$self->is_utf8 ? :
|
117
|
197 |
6 |
if $environment ne 'next_stencil'
|
119
|
28 |
175 |
if (&any(sub {
$environment eq $_;
}
, 'header', 'next_stencil')) { }
|
|
42 |
133 |
elsif ($environment eq 'before_input') { }
|
|
40 |
93 |
elsif ($environment eq 'input') { }
|
|
40 |
53 |
elsif ($environment eq 'between') { }
|
|
40 |
13 |
elsif ($environment eq 'output') { }
|
|
13 |
0 |
elsif ($environment eq 'after_output') { }
|
120
|
17 |
11 |
unless $line =~ /$stencil_start/u
|
123
|
8 |
3 |
defined $possible_hash && $possible_hash =~ /{.*}/u ? :
|
133
|
0 |
11 |
exists $$settings{'name'} ? :
|
138
|
31 |
11 |
unless $line =~ /$input_start/u
|
142
|
29 |
11 |
unless $line =~ /$input_end/u
|
146
|
29 |
11 |
unless $line =~ /$output_start/u
|
150
|
29 |
11 |
unless $line =~ /$output_end/u
|
154
|
7 |
6 |
unless $line =~ /$stencil_start/u
|
160
|
0 |
5 |
if ($environment ne 'after_output')
|
166
|
11 |
0 |
@_ ? :
|
|
0 |
11 |
if @_ != 1
|
|
11 |
0 |
$#_ >= 0 ? :
|
|
11 |
0 |
Type::Tiny::XS::AUTO::TC5($stencil) ? :
|
|
11 |
0 |
if ($#_ >= 0)
|
167
|
0 |
11 |
unless &Stencil()->check($stencil)
|
168
|
0 |
11 |
if $stencil->skip
|
169
|
2 |
9 |
if not $stencil->has_input and $self->skip_if_input_empty
|
170
|
0 |
9 |
if not $stencil->has_output and $self->skip_if_output_empty
|
172
|
9 |
0 |
unless ($stencil->has_loop_values)
|
183
|
4 |
0 |
@_ ? :
|