Branch Coverage

blib/lib/Language/FormulaEngine.pm
Criterion Covered Total %
branch 15 28 53.5


line true false branch
35 1 20 if ref $thing and ref($thing)->can($req_method)
38 0 0 $req_method eq 'get_function' && $thing =~ /^[0-9]+$/ ? :
0 0 ref $thing ? :
3 0 ref $thing eq 'HASH' ? :
17 3 !defined($thing) ? :
42 14 6 unless $class->can($req_method)
45 0 3 ref $thing eq 'ARRAY' ? :
17 3 !ref($thing) ? :
54 0 2 unless ($self->parser->parse($text))
55 0 0 unless $error_ref
71 0 126 unless $self->parser->parse($text)
74 126 0 if $vars and %$vars
81 0 129 unless $self->parser->parse($text)
84 0 129 unless $self->compiler->compile($self->parser->parse_tree)