Branch Coverage

blib/lib/Math/Expression/Evaluator.pm
Criterion Covered Total %
branch 36 40 90.0


line true false branch
324 3 17 if (defined $first)
325 2 1 if (ref $first) { }
327 1 1 if @_
371 358 507 if (ref $ast) { }
374 358 0 if (my $fun = $dispatch{$op}) { }
432 0 6 unless (is_lvalue($lvalue))
473 2 41 unless $$self{'_user_dispatch_table'}
478 41 2 if (my $fun = $dispatch_table{$name}) { }
489 25 6 if (exists $$self{'temp_vars'}{$var}) { }
3 3 elsif (exists $$self{'variables'}{$var}) { }
502 268 40 defined $ast ? :
503 208 100 unless ref $ast
518 5 12 unless ref $ast
519 8 4 if ($$ast[0] eq '$') { }
533 125 136 unless ref $ast
556 136 0 if ($do) { }
586 7 37 if ($$self{'_user_dispatch_table'}{$name})
592 36 1 if ($do) { }
607 35 38 unless $$self{'_user_dispatch_table'}
622 0 72 if $@