Branch Coverage

blib/lib/Stenciller/Transformer.pm
Criterion Covered Total %
branch 31 56 55.3


line true false branch
17 4 0 @_ ? :
0 4 if @_ != 2
4 0 $#_ >= 0 ? :
4 0 Type::Tiny::XS::AUTO::TC2($stenciller) ? :
4 0 if ($#_ >= 0)
4 0 $#_ >= 1 ? :
4 0 ref $transform_args eq 'HASH' ? :
4 0 if ($#_ >= 1)
19 4 0 unless $$transform_args{'skip_header_lines'}
23 8 0 @_ ? :
0 8 if @_ != 2
8 0 $#_ >= 0 ? :
8 0 defined $index && $index =~ /\A-?[0-9]+\z/u ? :
8 0 if ($#_ >= 0)
8 0 $#_ >= 1 ? :
8 0 ref $transform_args eq 'HASH' ? :
8 0 if ($#_ >= 1)
24 2 6 if exists $$transform_args{'stencils'} and -1 == &first_index(sub { $_ == $index; } , @{$$transform_args{'stencils'};})
28 6 0 @_ ? :
0 6 if @_ != 2
6 0 $#_ >= 0 ? :
6 0 Type::Tiny::XS::AUTO::TC3($stencil) ? :
6 0 if ($#_ >= 0)
6 0 $#_ >= 1 ? :
6 0 ref $transform_args eq 'HASH' ? :
6 0 if ($#_ >= 1)
29 3 3 unless exists $$transform_args{'require_in_extra'}
34 1 2 unless defined $stencil->get_extra_setting($wanted_key)