File Coverage

blib/lib/Test2/Event/TimeoutReset.pm
Criterion Covered Total %
statement 15 15 100.0
branch 1 2 50.0
condition n/a
subroutine 7 7 100.0
pod 2 3 66.6
total 25 27 92.5


line stmt bran cond sub pod time code
1             package Test2::Event::TimeoutReset;
2 25     25   77 use strict;
  25         25  
  25         522  
3 25     25   54 use warnings;
  25         24  
  25         1084  
4              
5             our $VERSION = '0.000012';
6              
7 25     25   78 BEGIN { require Test2::Event; our @ISA = qw(Test2::Event) }
  25         466  
8 25     25   55 use Test2::Util::HashBase qw/file/;
  25         26  
  25         102  
9              
10             sub init {
11 48     48 0 1082 my $self = shift;
12 48 50       439 defined $self->{+FILE} or $self->trace->throw("'file' is a required attribute");
13             }
14              
15 2     2 1 213 sub diagnostics { 1 }
16              
17 46     46 1 1267 sub summary { 'Event received, timeout reset.' }
18              
19             1;
20              
21             __END__