Branch Coverage

blib/lib/Test/Class/Moose/Role/Executor.pm
Criterion Covered Total %
branch 77 88 87.5


line true false branch
67 0 19 if $self->test_configuration->statistics
84 29 2 unless my(@bad) = grep({not $_->isa("Test::Class::Moose");} @_)
88 1 1 if @bad > 1
89 1 1 @bad > 1 ? :
1 1 @bad > 1 ? :
94 1 1 @bad > 1 ? :
143 2 43 unless (@test_instances)
158 3 40 if @test_instances > 1
171 6 40 unless $instance_report->passed
184 40 6 unless $in_subtest
213 3 43 if $self->test_configuration->set_process_name
225 0 46 unless (@test_methods)
237 2 44 unless ($self->run_test_control_method($test_instance, "test_startup", $instance_report))
247 4 40 if (my $message = $test_instance->test_skip)
252 1 3 if ($test_instance->run_control_methods_on_skip)
253 0 1 unless $self->_run_shutdown($test_instance, $instance_report)
271 7 103 unless $method_report->passed
279 0 40 if ($self->test_configuration->show_timing)
291 41 0 if $self->run_test_control_method($test_instance, "test_shutdown", $instance_report)
305 0 187 $self->test_configuration->randomize ? :
316 4 183 if (my $include = $self->test_configuration->include)
319 4 183 if (my $exclude = $self->test_configuration->exclude)
323 66 121 ref $thing ? :
334 12 175 if (my $include = $self->test_configuration->include_tags)
338 18 58 if ("Test::Class::Moose::AttributeRegistry"->method_has_tag($class, $method, $tag))
349 8 179 if (my $exclude = $self->test_configuration->exclude_tags)
353 8 17 if ("Test::Class::Moose::AttributeRegistry"->method_has_tag($class, $method, $tag))
378 12 293 if $self->test_configuration->set_process_name
381 0 305 unless $TEST_CONTROL_METHODS{$phase}
384 218 87 $report_object->isa('Test::Class::Moose::Report::Method') ? :
409 1 303 unless $count == $ctx->hub->count
429 3 107 if $self->test_configuration->set_process_name
461 3 107 if (my $message = $test_instance->test_skip)
479 0 110 if ($self->test_configuration->show_timing)
486 103 7 $p ? :
488 108 2 if (not $skipped or $test_instance->run_control_methods_on_skip)
489 0 108 unless $self->run_test_control_method($test_instance, "test_teardown", $method_report)
499 8 102 unless $num_tests and not $method_report->is_skipped
502 91 11 unless $method_report->has_plan
511 5 34 if (my $classes = $self->test_configuration->test_classes)
512 5 0 if @{$classes;}
518 34 3584 if $class eq "Test::Class::Moose"
519 178 3406 if $class->isa("Test::Class::Moose")
522 0 34 if ($self->test_configuration->randomize_classes)