Branch Coverage

blib/lib/Language/FormulaEngine.pm
Criterion Covered Total %
branch 14 24 58.3


line true false branch
35 1 17 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' ? :
14 3 !defined($thing) ? :
42 11 6 unless $class->can($req_method)
45 0 3 ref $thing eq 'ARRAY' ? :
14 3 !ref($thing) ? :
54 0 126 unless $self->parser->parse($text)
57 126 0 if $vars and %$vars
64 0 129 unless $self->parser->parse($text)
67 0 129 unless $self->compiler->compile($self->parser->parse_tree)