Branch Coverage

blib/lib/Language/P/Toy/Opcodes.pm
Criterion Covered Total %
branch 50 110 45.4


line true false branch
20 0 2607 unless defined $Language::P::Toy::Opcodes::{"o_$name"}
23 0 2607 unless defined $fun
34 2846 2860 $op ? :
36 2667 3039 if $cxt and $cxt != 1
130 0 180 if $@
150 0 30 if $@
200 8428 32 if ($$op{'count'}) { }
225 6 8 if ($cxt == 2) { }
5 3 elsif ($cxt == 4) { }
3 0 elsif ($cxt == 8) { }
256 2829 17 if ($cxt == 4) { }
4 13 elsif ($cxt == 8) { }
13 0 elsif ($cxt == 2) { }
257 2827 2 if ($rv->get_count > 0) { }
348 88 89 $v1 == $$op{'value'} ? :
355 0 0 !$v1->as_boolean_int ? :
362 17 3 $v1->as_boolean_int ? :
369 2 7 !defined($v1) ? :
375 46 2 $vl->as_float == $vr->as_float ? :
1313 1321 $vl->as_float >= $vr->as_float ? :
6 22 $vl->as_float > $vr->as_float ? :
5 2 $vl->as_float <= $vr->as_float ? :
39 10 $vl->as_float < $vr->as_float ? :
0 0 $vl->as_integer == $vr->as_integer ? :
0 0 $vl->as_integer >= $vr->as_integer ? :
0 0 $vl->as_integer > $vr->as_integer ? :
0 0 $vl->as_integer <= $vr->as_integer ? :
0 0 $vl->as_integer < $vr->as_integer ? :
2 0 $vl->as_string eq $vr->as_string ? :
0 0 $vl->as_string ne $vr->as_string ? :
443 360 240 $$op{'new_type'} eq 'int' ? :
447 0 0 $vl->as_float == $vr->as_float ? :
0 0 $vl->as_float == $vr->as_float ? :
0 0 $vl->as_float >= $vr->as_float ? :
0 0 $vl->as_float > $vr->as_float ? :
0 0 $vl->as_float <= $vr->as_float ? :
0 0 $vl->as_float <= $vr->as_float ? :
0 0 $vl->as_float < $vr->as_float ? :
0 0 $vl->as_float != $vr->as_float ? :
0 0 $vl->as_integer == $vr->as_integer ? :
0 0 $vl->as_integer == $vr->as_integer ? :
88 89 $vl->as_integer >= $vr->as_integer ? :
0 0 $vl->as_integer > $vr->as_integer ? :
0 0 $vl->as_integer <= $vr->as_integer ? :
0 0 $vl->as_integer <= $vr->as_integer ? :
0 0 $vl->as_integer < $vr->as_integer ? :
0 0 $vl->as_integer != $vr->as_integer ? :
0 0 $vl->as_string eq $vr->as_string ? :
0 0 $vl->as_string eq $vr->as_string ? :
0 0 $vl->as_string ne $vr->as_string ? :
0 0 $vl->as_string ne $vr->as_string ? :
731 6 9 $defined ? :
748 6 0 if (my $closed_values = $sub->closed)
782 9 3 if $saved
802 7 2 $iter->next ? :