blib/lib/Bubblegum/Object/Role/Defined.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
statement | 10 | 10 | 100.0 |
branch | n/a | ||
condition | n/a | ||
subroutine | 4 | 4 | 100.0 |
pod | 0 | 1 | 0.0 |
total | 14 | 15 | 93.3 |
line | stmt | bran | cond | sub | pod | time | code |
---|---|---|---|---|---|---|---|
1 | package Bubblegum::Object::Role::Defined; | ||||||
2 | |||||||
3 | 37 | 37 | 18185 | use 5.10.0; | |||
37 | 96 | ||||||
37 | 1529 | ||||||
4 | 37 | 37 | 169 | use namespace::autoclean; | |||
37 | 51 | ||||||
37 | 213 | ||||||
5 | |||||||
6 | 37 | 37 | 2509 | use Bubblegum::Role 'with'; | |||
37 | 53 | ||||||
37 | 259 | ||||||
7 | |||||||
8 | with 'Bubblegum::Object::Role::Item'; | ||||||
9 | |||||||
10 | our $VERSION = '0.45'; # VERSION | ||||||
11 | |||||||
12 | sub defined { | ||||||
13 | 1 | 1 | 0 | 3 | return 1 | ||
14 | } | ||||||
15 | |||||||
16 | 1; |