blib/lib/Test2/Tools/xUnit.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
branch | 26 | 26 | 100.0 |
line | true | false | branch |
---|---|---|---|
36 | 5 | 16 | $caller[0]->can('new') ? : |
66 | 22 | 17 | if ($_ eq 'Test') { } |
2 | 15 | elsif ($_ eq 'BeforeEach') { } | |
2 | 13 | elsif ($_ eq 'AfterEach') { } | |
1 | 12 | elsif ($_ eq 'BeforeAll') { } | |
1 | 11 | elsif ($_ eq 'AfterAll') { } | |
3 | 8 | elsif (/^Skip(?:\((.+)\))?/u) { } | |
4 | 4 | elsif (/^Todo(?:\((.+)\))?/u) { } | |
110 | 30 | 3 | if ($method) |
115 | 2 | 28 | $class_method ? : |
124 | 1 | 32 | if ($orig) { } |
133 | 31 | 1 | unless @parents |
135 | 4 | 28 | if (my $subref = $parent->can('MODIFY_CODE_ATTRIBUTES')) |