Perlito5X/Test2/Event/Diag.pm untested

filter: Statementstmt 0.0% 0 / 17 Branchbran 0.0% 0 / 2 Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 8 Podpod 0.0% 0 / 4 totaltotal 0.0% 0 / 31 CC 2 SCAR 10.6
CC
2
Cov
0%
init
6.0
BEGIN
2.0
summary
2.0
CRAP 2.9
1 package Test2::Event::Diag;
2 use strict;
3 use warnings;
4  
5 our $VERSION = '1.302073';
6  
7  
8 BEGIN { require Test2::Event; our @ISA = qw(Test2::Event) }
9 use Test2::Util::HashBase qw/message/;
10  
11 sub init {
12 $_[0]->{+MESSAGE} = 'undef' unless defined $_[0]->{+MESSAGE};
13 }
14  
15 sub summary { $_[0]->{+MESSAGE} }
16  
17 sub diagnostics { 1 }
18  
19 1;
20  
21 __END__