Branch Coverage

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


line true false branch
21 7 1766 if ($kwargs{'replacement'} and my $replacement = $kwargs{'replacement'}->get_replacement($variable_name))
34 2 1771 if ($variable_name =~ s/^\-//)
39 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)) { }
64 1 1038 if ($variable_name =~ /[^\w\-\.]/)
87 463 1309 if (scalar @filters)
103 6266 118 unless ($self->{'undef'})
109 4305 248 $self->{'direct_read'} ? :
1713 4553 $self->{'static'} ? :
117 2 6378 if ($self->{'sign'} == -1 and &looks_like_number($value))
126 467 5913 if $self->{'filter_manager'}{'filters_number'}
130 2306 4068 !($global_safe || $self->{'filter_manager'}{'safe'}) ? :