lib/Test/Classy/Util.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
statement | 11 | 11 | 100.0 |
branch | n/a | ||
condition | n/a | ||
subroutine | 5 | 5 | 100.0 |
pod | n/a | ||
total | 16 | 16 | 100.0 |
line | stmt | bran | cond | sub | pod | time | code |
---|---|---|---|---|---|---|---|
1 | package Test::Classy::Util; | ||||||
2 | |||||||
3 | 8 | 8 | 39 | use strict; | |||
8 | 12 | ||||||
8 | 367 | ||||||
4 | 8 | 8 | 34 | use warnings; | |||
8 | 9 | ||||||
8 | 317 | ||||||
5 | 8 | 8 | 49 | use Test::More (); | |||
8 | 9 | ||||||
8 | 458 | ||||||
6 | |||||||
7 | sub _current_test { | ||||||
8 | 31 | 31 | 123 | return Test::More->builder->current_test; | |||
9 | } | ||||||
10 | |||||||
11 | sub _planned { | ||||||
12 | 9 | 9 | 66 | return Test::More->builder->has_plan; | |||
13 | } | ||||||
14 | |||||||
15 | 1; | ||||||
16 | |||||||
17 | __END__ |