| blib/lib/Test/Expander.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| condition | 25 | 25 | 100.0 |
| line | !l | l&&!r | l&&r | condition |
|---|---|---|---|---|
| 100 | 3 | 18 | 1 | defined $CLASS and exists $options->{'-builtins'} |
| 228 | 2 | 2 | 17 | $CLASS and $METHOD |
| 2 | 2 | 15 | $CLASS and $METHOD and $METHOD_REF = $CLASS->can($METHOD) | |
| 420 | 2 | 1 | 1 | @$imports == 1 && $imports->[0] =~ /$Test::Expander::REGEX_VERSION_NUMBER/ |
| line | l | !l | condition |
|---|---|---|---|
| 128 | 1 | 1 | $args ||= [] |
| 272 | 1 | 1 | shift @$exports // "" |
| line | l | !l&&r | !l&&!r | condition |
|---|---|---|---|---|
| 401 | 3 | 2 | 10 | @subtest_names || @subtest_numbers |
| 10 | 2 | 3 | not @subtest_names || @subtest_numbers or grep {$name =~ /$_/;} @subtest_names | |
| 12 | 2 | 1 | not @subtest_names || @subtest_numbers or grep {$name =~ /$_/;} @subtest_names or grep {/^$number/;} @subtest_numbers |