lib/Test/Class/Simple.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 14 | 20 | 70.0 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
18 | 0 | 1 | 1 | defined $module and $self->create_instance |
31 | 7 | 0 | 1 | defined $hook and ref $hook eq 'CODE' |
38 | 3 | 0 | 5 | defined $instance and $instance->can($method) |
3 | 0 | 5 | defined $instance and $instance->can($method) and not $self->run_on_module | |
52 | 0 | 7 | 1 | defined $exp and ref $exp eq 'CODE' |
59 | 7 | 0 | 1 | defined $hook and ref $hook eq 'CODE' |
line | l | !l | condition |
---|---|---|---|
91 | 1 | 5 | $self->{'_run_on_module'} // 0 |