blib/lib/MouseX/NativeTraits/Counter.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
statement | 8 | 9 | 88.8 |
branch | n/a | ||
condition | n/a | ||
subroutine | 4 | 5 | 80.0 |
pod | 2 | 2 | 100.0 |
total | 14 | 16 | 87.5 |
line | stmt | bran | cond | sub | pod | time | code |
---|---|---|---|---|---|---|---|
1 | package MouseX::NativeTraits::Counter; | ||||||
2 | 4 | 4 | 5795 | use Mouse::Role; | |||
4 | 2045 | ||||||
4 | 28 | ||||||
3 | |||||||
4 | with 'MouseX::NativeTraits'; | ||||||
5 | |||||||
6 | sub method_provider_class { | ||||||
7 | 9 | 9 | 1 | 542 | return 'MouseX::NativeTraits::MethodProvider::Counter'; | ||
8 | } | ||||||
9 | |||||||
10 | sub helper_type { | ||||||
11 | 8 | 8 | 1 | 25 | return 'Int'; | ||
12 | } | ||||||
13 | |||||||
14 | 0 | 0 | sub _default_default { 0 } | ||||
15 | |||||||
16 | 4 | 4 | 1426 | no Mouse::Role; | |||
4 | 8 | ||||||
4 | 31 | ||||||
17 | 1; | ||||||
18 | __END__ |