inc/Test2/Event/Note.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
statement | 11 | 13 | 84.6 |
branch | 0 | 2 | 0.0 |
condition | n/a | ||
subroutine | 4 | 6 | 66.6 |
pod | 1 | 2 | 50.0 |
total | 16 | 23 | 69.5 |
line | stmt | bran | cond | sub | pod | time | code |
---|---|---|---|---|---|---|---|
1 | #line 1 | ||||||
2 | 1 | 1 | 5 | package Test2::Event::Note; | |||
1 | 1 | ||||||
1 | 21 | ||||||
3 | 1 | 1 | 3 | use strict; | |||
1 | 1 | ||||||
1 | 36 | ||||||
4 | use warnings; | ||||||
5 | |||||||
6 | our $VERSION = '1.302073'; | ||||||
7 | |||||||
8 | 1 | 1 | 4 | ||||
1 | 44 | ||||||
9 | 1 | 1 | 4 | BEGIN { require Test2::Event; our @ISA = qw(Test2::Event) } | |||
1 | 1 | ||||||
1 | 4 | ||||||
10 | use Test2::Util::HashBase qw/message/; | ||||||
11 | |||||||
12 | 0 | 0 | 0 | 0 | sub init { | ||
13 | $_[0]->{+MESSAGE} = 'undef' unless defined $_[0]->{+MESSAGE}; | ||||||
14 | } | ||||||
15 | 0 | 0 | 1 | ||||
16 | sub summary { $_[0]->{+MESSAGE} } | ||||||
17 | |||||||
18 | 1; | ||||||
19 | |||||||
20 | __END__ |