/tmp/RWkZRrKKDT | |||
---|---|---|---|
Criterion | Covered | Total | % |
statement | 12 | 14 | 85.7 |
branch | n/a | ||
condition | n/a | ||
subroutine | 6 | 8 | 75.0 |
pod | n/a | ||
total | 18 | 22 | 81.8 |
line | stmt | bran | cond | sub | pod | time | code |
---|---|---|---|---|---|---|---|
1 | package OurTest1; | ||||||
2 | 3 | 3 | 11257368 | use Mite::Shim -role; | |||
3 | 31 | ||||||
3 | 275 | ||||||
3 | has [qw/ foo bar baz /] => ( is => 'ro' ); | ||||||
4 | |||||||
5 | 2 | 2 | 14 | sub get_foo { shift->foo } | |||
6 | 0 | 0 | 0 | sub get_bar { shift->bar } | |||
7 | 0 | 0 | 0 | sub get_baz { shift->baz } | |||
8 | |||||||
9 | package OurTest2; | ||||||
10 | 3 | 3 | 861 | use Mite::Shim -role; | |||
3 | 9 | ||||||
3 | 16 | ||||||
11 | with 'OurTest1'; | ||||||
12 | |||||||
13 | 2 | 2 | 8 | sub get_bar { 'bar' } | |||
14 | |||||||
15 | package OurTest3; | ||||||
16 | 3 | 3 | 295 | use Mite::Shim; | |||
3 | 6 | ||||||
3 | 16 | ||||||
17 | with 'OurTest2'; | ||||||
18 | |||||||
19 | 2 | 2 | 10 | sub get_baz { 'baz' } | |||
20 | |||||||
21 | 1; |