blib/lib/Test2/Event/Note.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
statement | 14 | 14 | 100.0 |
branch | 2 | 2 | 100.0 |
condition | n/a | ||
subroutine | 6 | 6 | 100.0 |
pod | 1 | 2 | 50.0 |
total | 23 | 24 | 95.8 |
line | stmt | bran | cond | sub | pod | time | code |
---|---|---|---|---|---|---|---|
1 | package Test2::Event::Note; | ||||||
2 | 54 | 54 | 448 | use strict; | |||
54 | 50 | ||||||
54 | 1169 | ||||||
3 | 54 | 54 | 165 | use warnings; | |||
54 | 45 | ||||||
54 | 1811 | ||||||
4 | |||||||
5 | our $VERSION = '0.000042'; | ||||||
6 | |||||||
7 | 54 | 54 | 160 | use base 'Test2::Event'; | |||
54 | 40 | ||||||
54 | 3031 | ||||||
8 | 54 | 54 | 196 | use Test2::Util::HashBase qw/message/; | |||
54 | 48 | ||||||
54 | 231 | ||||||
9 | |||||||
10 | sub init { | ||||||
11 | 31 | 100 | 31 | 0 | 98 | $_[0]->{+MESSAGE} = 'undef' unless defined $_[0]->{+MESSAGE}; | |
12 | } | ||||||
13 | |||||||
14 | 2 | 2 | 1 | 9 | sub summary { $_[0]->{+MESSAGE} } | ||
15 | |||||||
16 | 1; | ||||||
17 | |||||||
18 | __END__ |