Branch Coverage

blib/lib/DTL/Fast/Context.pm
Criterion Covered Total %
branch 25 28 89.2


line true false branch
11 0 617 if ref $context ne 'HASH'
23 1010 253 if (ref $variable_path ne 'ARRAY') { }
37 1260 3 exists $namespace->{$variable_name} ? :
45 254 999 if defined $variable and scalar @$variable_path
63 3 336 if (&blessed($variable) and $variable->can($step)) { }
2 334 elsif (not defined $current_type) { }
214 120 elsif ($current_type eq 'HASH') { }
118 2 elsif ($current_type eq 'ARRAY' and $step =~ /^\-?\d+$/x) { }
130 4 2482 if ($key =~ /\./x) { }
136 1 3 unless defined $variable
142 1 2 if ($variable_type eq 'HASH') { }
2 0 elsif ($variable_type eq 'ARRAY' and $variable_name =~ /^\-?\d+$/x) { }
174 4 0 if (&blessed($source_object) and $source_object->can('get_render_error')) { }
206 1 2398 if scalar @{$self->{'ns'};} == 1