Branch Coverage

blib/lib/DTL/Fast/Context.pm
Criterion Covered Total %
branch 30 32 93.7


line true false branch
13 0 619 if ref $context ne 'HASH'
18 2 617 exists $kwargs{'die_on_missing_path'} ? :
39 956 253 if (ref $variable_path ne 'ARRAY') { }
52 1206 3 exists $namespace->{$variable_name} ? :
60 258 941 if defined $variable and scalar @$variable_path
78 3 340 if (&blessed($variable) and $variable->can($step)) { }
6 334 elsif (not defined $current_type) { }
214 120 elsif ($current_type eq 'HASH') { }
118 2 elsif ($current_type eq 'ARRAY' and $step =~ /^\-?\d+$/x) { }
133 6 2 if ($self->should_die_on_missing_path) { }
159 4 2483 if ($key =~ /\./x) { }
165 1 3 unless defined $variable
171 1 2 if ($variable_type eq 'HASH') { }
2 0 elsif ($variable_type eq 'ARRAY' and $variable_name =~ /^\-?\d+$/x) { }
203 4 4 if (&blessed($source_object) and $source_object->can('get_render_error')) { }
235 1 2398 if scalar @{$self->{'ns'};} == 1