Branch Coverage

blib/lib/Test/Instruction.pm
Criterion Covered Total %
branch 21 64 32.8


line true false branch
49 0 20 if ($instruction->catch) { }
51 0 0 unless $instruction->exits->test
59 0 20 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 4 0 scalar @test == 1 ? :
269 0 0 scalar @test == 1 ? :
295 0 2 $instruction->args ? :
338 1 1 $instructions->build ? :
347 1 4 if (my $subtests = delete $instruction->{'instructions'})
360 0 1 unless instruction("instance", $new_instance, "test", $instruction->{'test'}, "expected", $instruction->{'expected'})
373 0 4 unless instruction("instance", $instance, %{$instruction;})
377 0 2 $test_info{'fail'} ? :
399 0 1 $build->args_list ? :
404 11 10 if ($instruction->meth) { }
5 5 elsif ($instruction->func) { }
5 0 elsif ($instruction->instance) { }
410 0 11 $instruction->args_list ? :
418 2 3 $instruction->args_list ? :