Branch Coverage

blib/lib/Linux/Event/Wakeup.pm
Criterion Covered Total %
branch 15 30 50.0


line true false branch
25 0 1 unless $loop
26 0 1 if %args
46 0 1 unless defined $n
47 0 1 if not $n =~ /\A\d+\z/u or $n < 1
49 0 1 unless my $fh = $self->{'_fh'}
52 0 1 unless ($ok)
54 0 0 if $@
64 0 2 unless my $fh = $self->{'_fh'}
69 2 1 unless (defined $v)
70 2 0 if $!{'EAGAIN'} or $!{'EWOULDBLOCK'}
71 0 0 if $@
81 4 1 if $self->{'_fh'}
86 0 1 unless eval { do { require Linux::FD::Event; 1 } }
94 1 0 if (defined $fd)
96 1 0 if (defined $cur)