File Coverage

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   41 package Test2::Event::Note;
  6         11  
  6         202  
3 6     6   31 use strict;
  6         15  
  6         310  
4             use warnings;
5              
6             our $VERSION = '1.302073';
7              
8 6     6   42  
  6         264  
9 6     6   89 BEGIN { require Test2::Event; our @ISA = qw(Test2::Event) }
  6         13  
  6         45  
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__