Branch Coverage

blib/lib/DTL/Fast/Variable.pm
Criterion Covered Total %
branch 26 26 100.0


line true false branch
23 7 1766 if ($kwargs{'replacement'} and my $replacement = $kwargs{'replacement'}->get_replacement($variable_name))
36 2 1771 if ($variable_name =~ s/^\-//)
41 299 1474 if ($variable_name =~ /^(?
67 1407 elsif ($variable_name eq 'undef' or $variable_name eq 'None') { }
368 1039 elsif (&looks_like_number($variable_name)) { }
66 1 1038 if ($variable_name =~ /[^\w\-\.]/)
89 463 1309 if (scalar @filters)
105 6185 118 unless ($self->{'undef'})
111 4247 248 $self->{'direct_read'} ? :
1690 4495 $self->{'static'} ? :
119 2 6297 if ($self->{'sign'} == -1 and &looks_like_number($value))
128 467 5832 if $self->{'filter_manager'}{'filters_number'}
134 2283 4010 !($global_safe || $self->{'filter_manager'}{'safe'}) ? :