Branch Coverage

blib/lib/AnyEvent/Strict.pm
Criterion Covered Total %
branch 5 50 10.0


line true false branch
39 1 0 if (defined &Internals::SvREADONLY) { }
62 0 0 if (not ref $_ or $_ != $magic)
99 0 0 unless ref $arg{'cb'}
102 0 0 unless $arg{'poll'} =~ /^[rw]$/
107 0 0 if ($fh =~ /^\s*\d+\s*$/) { }
111 0 0 unless defined eval { do { $fd = fileno $fh } }
115 0 0 if -f $fh
120 0 0 if keys %arg
140 0 1 unless ref $arg{'cb'}
144 0 1 unless exists $arg{'after'}
147 0 1 unless not $arg{'interval'} or $arg{'interval'} > 0
151 0 1 if keys %arg
162 0 0 unless ref $arg{'cb'}
165 0 0 unless defined &AnyEvent::Base::sig2num($arg{'signal'}) and $arg{'signal'} == 0
169 0 0 if keys %arg
180 0 0 unless ref $arg{'cb'}
183 0 0 unless $arg{'pid'} =~ /^-?\d+$/
187 0 0 if keys %arg
198 0 0 unless ref $arg{'cb'}
201 0 0 if keys %arg
212 0 0 unless not exists $arg{'cb'} or ref $arg{'cb'}
213 0 0 exists $arg{'cb'} ? :
215 0 0 if keys %arg
225 0 0 if @_
234 0 0 if @_