Branch Coverage

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


line true false branch
20 7 0 @_ ? :
0 7 if @_ != 2
7 0 $#_ >= 0 ? :
7 0 Type::Tiny::XS::AUTO::TC2($stenciller) ? :
7 0 if ($#_ >= 0)
7 0 $#_ >= 1 ? :
7 0 ref $transform_args eq 'HASH' ? :
7 0 if ($#_ >= 1)
22 7 0 unless $$transform_args{'skip_header_lines'}
26 17 0 @_ ? :
0 17 if @_ != 2
17 0 $#_ >= 0 ? :
17 0 defined $index && $index =~ /\A-?[0-9]+\z/u ? :
17 0 if ($#_ >= 0)
17 0 $#_ >= 1 ? :
17 0 ref $transform_args eq 'HASH' ? :
17 0 if ($#_ >= 1)
27 7 10 if exists $transform_args->{'stencils'} and -1 == &first_index(sub { $_ == $index; } , @{$$transform_args{'stencils'};})
31 10 0 @_ ? :
0 10 if @_ != 2
10 0 $#_ >= 0 ? :
10 0 Type::Tiny::XS::AUTO::TC3($stencil) ? :
10 0 if ($#_ >= 0)
10 0 $#_ >= 1 ? :
10 0 ref $transform_args eq 'HASH' ? :
10 0 if ($#_ >= 1)
32 7 3 unless exists $transform_args->{'require_in_extra'}
37 1 2 unless defined $stencil->get_extra_setting($wanted_key)