| lib/Test/Class/Simple.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| condition | 20 | 20 | 100.0 |
| line | !l | l&&!r | l&&r | condition |
|---|---|---|---|---|
| 19 | 1 | 1 | 4 | defined $module and $self->create_instance |
| 32 | 12 | 1 | 1 | defined $hook and ref $hook eq 'CODE' |
| 39 | 6 | 1 | 7 | defined $instance and $instance->can($method) |
| 7 | 1 | 6 | defined $instance and $instance->can($method) and not $self->run_on_module | |
| 53 | 2 | 11 | 1 | defined $exp and ref $exp eq 'CODE' |
| 60 | 12 | 1 | 1 | defined $hook and ref $hook eq 'CODE' |
| line | l | !l | condition |
|---|---|---|---|
| 96 | 12 | 1 | $self->{'_run_on_module'} // 0 |