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   75 use strict;
  25         25  
  25         499  
3 25     25   73 use warnings;
  25         4  
  25         1126  
4              
5             our $VERSION = '0.000013';
6              
7 25     25   75 BEGIN { require Test2::Event; our @ISA = qw(Test2::Event) }
  25         473  
8 25     25   54 use Test2::Util::HashBase qw/file/;
  25         26  
  25         80  
9              
10             sub init {
11 48     48 0 754 my $self = shift;
12 48 50       250 defined $self->{+FILE} or $self->trace->throw("'file' is a required attribute");
13             }
14              
15 2     2 1 185 sub diagnostics { 1 }
16              
17 46     46 1 1014 sub summary { 'Event received, timeout reset.' }
18              
19             1;
20              
21             __END__