inc/Test2/Event/Note.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
statement | 12 | 13 | 92.3 |
branch | 1 | 2 | 50.0 |
condition | n/a | ||
subroutine | 5 | 6 | 83.3 |
pod | 1 | 2 | 50.0 |
total | 19 | 23 | 82.6 |
line | stmt | bran | cond | sub | pod | time | code |
---|---|---|---|---|---|---|---|
1 | #line 1 | ||||||
2 | 6 | 6 | 42 | package Test2::Event::Note; | |||
6 | 16 | ||||||
6 | 172 | ||||||
3 | 6 | 6 | 30 | use strict; | |||
6 | 12 | ||||||
6 | 309 | ||||||
4 | use warnings; | ||||||
5 | |||||||
6 | our $VERSION = '1.302073'; | ||||||
7 | |||||||
8 | 6 | 6 | 40 | ||||
6 | 261 | ||||||
9 | 6 | 6 | 38 | BEGIN { require Test2::Event; our @ISA = qw(Test2::Event) } | |||
6 | 10 | ||||||
6 | 48 | ||||||
10 | use Test2::Util::HashBase qw/message/; | ||||||
11 | |||||||
12 | 9 | 50 | 9 | 0 | 48 | 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__ |