blib/lib/MouseX/NativeTraits/Str.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::Str; | ||||||
2 | 2 | 2 | 2714 | use Mouse::Role; | |||
2 | 1033 | ||||||
2 | 11 | ||||||
3 | |||||||
4 | with 'MouseX::NativeTraits'; | ||||||
5 | |||||||
6 | sub method_provider_class { | ||||||
7 | 6 | 6 | 1 | 555 | return 'MouseX::NativeTraits::MethodProvider::Str'; | ||
8 | } | ||||||
9 | |||||||
10 | sub helper_type { | ||||||
11 | 5 | 5 | 1 | 15 | return 'Str'; | ||
12 | } | ||||||
13 | |||||||
14 | 0 | 0 | sub _default_default{ '' } | ||||
15 | |||||||
16 | 2 | 2 | 682 | no Mouse::Role; | |||
2 | 6 | ||||||
2 | 45 | ||||||
17 | 1; | ||||||
18 | __END__ |