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 | 57 | 57 | 492 | use strict; | |||
57 | 47 | ||||||
57 | 1208 | ||||||
3 | 57 | 57 | 165 | use warnings; | |||
57 | 59 | ||||||
57 | 1682 | ||||||
4 | |||||||
5 | our $VERSION = '0.000044'; | ||||||
6 | |||||||
7 | 57 | 57 | 188 | use base 'Test2::Event'; | |||
57 | 58 | ||||||
57 | 3418 | ||||||
8 | 57 | 57 | 233 | use Test2::Util::HashBase qw/message/; | |||
57 | 58 | ||||||
57 | 276 | ||||||
9 | |||||||
10 | sub init { | ||||||
11 | 31 | 100 | 31 | 0 | 100 | $_[0]->{+MESSAGE} = 'undef' unless defined $_[0]->{+MESSAGE}; | |
12 | } | ||||||
13 | |||||||
14 | 2 | 2 | 1 | 10 | sub summary { $_[0]->{+MESSAGE} } | ||
15 | |||||||
16 | 1; | ||||||
17 | |||||||
18 | __END__ |