Branch Coverage

blib/lib/Moonshine/Test.pm
Criterion Covered Total %
branch 49 60 81.6


line true false branch
227 3 83 if ($instruction{'catch'}) { }
229 3 0 unless exists $instruction{'test'}
238 1 85 unless (exists $instruction{'test'})
253 2 1 exists $instruction{'key'} ? :
265 2 1 exists $instruction{'key'} ? :
275 4 1 exists $instruction{'key'} ? :
284 5 1 exists $instruction{'index'} ? :
296 2 1 exists $instruction{'index'} ? :
308 2 1 exists $instruction{'index'} ? :
320 1 0 exists $instruction{'index'} ? :
332 2 1 exists $instruction{'index'} ? :
344 2 1 exists $instruction{'index'} ? :
356 2 1 exists $instruction{'index'} ? :
368 1 0 exists $instruction{'index'} ? :
381 2 1 exists $instruction{'key'} ? :
393 2 1 exists $instruction{'key'} ? :
403 2 1 exists $instruction{'key'} ? :
426 2 0 defined $expected[0] ? :
576 0 7 $instruction{'build'} ? :
585 2 38 if (my $subtests = delete $test->{'subtest'})
598 0 2 unless moon_test_one("instance", $new_instance, "test", $test->{'test'}, "expected", $test->{'expected'})
614 0 38 unless moon_test_one("instance", $instance, %{$test;})
618 0 7 $test_info{'fail'} ? :
642 0 3 $instruction{'args'} ? :
687 79 19 if (my $func = $instruction->{'func'}) { }
6 13 elsif (my $meth = $instruction->{'meth'}) { }
12 1 elsif (exists $instruction->{'instance'}) { }
699 0 76 defined $instruction->{'args_list'} ? :
76 3 defined $instruction->{'args'} ? :
707 0 6 defined $instruction->{'args_list'} ? :