Branch Coverage

blib/lib/Linux/Event/Backend/Epoll.pm
Criterion Covered Total %
branch 23 52 44.2


line true false branch
24 0 20 if %args
28 0 20 $edge ? :
0 20 $oneshot ? :
39 0 1 unless $fh
40 0 1 unless defined $mask
41 0 1 unless $cb
42 0 1 if ref $cb ne "CODE"
45 0 1 unless defined $fd
48 0 1 if Linux::Event::XS::registry_get($self->{'watch'}, $fd)
69 0 1 unless $fh
70 0 1 unless defined $mask
71 0 1 unless $watcher
74 0 1 unless defined $fd
77 0 1 if Linux::Event::XS::registry_get($self->{'watch'}, $fd)
97 0 2 unless defined $mask
99 0 2 ref $fh_or_fd ? :
100 0 2 unless defined $fd
103 0 2 unless my $rec = Linux::Event::XS::registry_get($self->{'watch'}, $fd)
105 0 2 exists $opt{'_loop'} ? :
106 0 2 exists $opt{'tag'} ? :
108 0 2 if exists $opt{'_loop'} or exists $opt{'tag'}
119 0 0 ref $fh_or_fd ? :
120 0 0 unless defined $fd
123 0 0 unless my $rec = Linux::Event::XS::registry_get($self->{'watch'}, $fd)
136 0 4 if $self->{'edge'}
137 0 4 if $self->{'oneshot'}