Branch Coverage

lib/Test/Class/Simple.pm
Criterion Covered Total %
branch 14 16 87.5


line true false branch
18 1 1 if (defined $module and $self->create_instance)
31 1 7 if (defined $hook and ref $hook eq 'CODE')
38 5 3 if (defined $instance and $instance->can($method) and not $self->run_on_module) { }
3 0 elsif (defined $module) { }
46 3 0 if (defined $call)
52 1 7 if (defined $exp and ref $exp eq 'CODE')
59 1 7 if (defined $hook and ref $hook eq 'CODE')
87 1 5 if (defined $set_value)