Branch Coverage

blib/lib/Test/Instruction.pm
Criterion Covered Total %
branch 20 62 32.2


line true false branch
49 0 14 if ($instruction->catch) { }
51 0 0 unless $instruction->exits->test
59 0 14 unless ($instruction->test)
70 0 0 unless $instruction->key
82 0 0 unless $instruction->key
95 0 0 unless $instruction->key
106 0 0 unless defined $instruction->index
118 0 0 unless defined $instruction->index
129 0 0 unless defined $instruction->index
142 0 0 unless defined $instruction->index
154 0 0 unless defined $instruction->index
167 0 0 unless defined $instruction->index
178 0 0 unless defined $instruction->index
191 0 0 unless defined $instruction->index
203 0 0 unless $instruction->key
215 0 0 unless $instruction->key
226 0 0 unless $instruction->key
257 1 0 defined $instruction->expected ? :
261 3 0 scalar @test == 1 ? :
269 0 0 scalar @test == 1 ? :
321 1 1 $instructions->build ? :
330 1 4 if (my $subtests = delete $instruction->{'instructions'})
343 0 1 unless instruction("instance", $new_instance, "test", $instruction->{'test'}, "expected", $instruction->{'expected'})
356 0 4 unless instruction("instance", $instance, %{$instruction;})
360 0 2 $test_info{'fail'} ? :
382 0 1 $build->args_list ? :
387 6 9 if ($instruction->meth) { }
5 4 elsif ($instruction->func) { }
4 0 elsif ($instruction->instance) { }
393 0 6 $instruction->args_list ? :
401 2 3 $instruction->args_list ? :