Branch Coverage

blib/lib/Language/FormulaEngine/Namespace.pm
Criterion Covered Total %
branch 38 56 67.8


line true false branch
20 0 0 @_ == 1 && ref $_[0] eq 'HASH' ? :
29 0 130 @_ == 1 && ref $_[0] eq 'HASH' ? :
30 130 0 $attrs{'variables'} ? :
31 0 130 $attrs{'constants'} ? :
46 77 6 if exists $set->{$name}
48 0 6 if exists $set->{$name}
49 0 6 if $self->die_on_unknown_value
57 0 0 $is_pure_function{0 + $ref} ? :
63 372 0 if $n > @attr
73 233 0 keys %tmp ? :
75 256 0 ref $info ? :
84 20 0 $ev ? :
213 20 $fn ? :
88 217 16 $pure ? :
213 20 $fn ? :
35 198 $sm ? :
20 213 $ev ? :
57 176 $pl ? :
100 0 171 unless my $info = $self->get_function($name)
103 14 157 if (my $eval = $info->{'evaluator'}) { }
157 0 elsif (my $fn = $info->{'native'}) { }
130 11 4 unless $same
132 15 0 if (my $info = $self->get_function($call->function_name))
133 9 6 if (my $method = $info->{'simplify'}) { }
2 4 elsif ($const and $info->{'is_pure_function'}) { }
139 0 2 !defined($val) ? :
149 6 9 !defined($val) ? :
154 11 0 if (&Scalar::Util::looks_like_number($val) and 0 + $val eq $val) { }