Branch Coverage

blib/lib/POE/Resource/Clock.pm
Criterion Covered Total %
branch 7 42 16.6


line true false branch
39 0 356 if 'POE::Kernel'->can($m)
41 0 356 if exists $ENV{$k}
42 0 356 if defined $default
103 0 0 unless length $buffer
147 0 0 if ($pri <= monotime) { }
172 0 0 unless defined $op
174 0 0 if ($op == 0) { }
0 0 elsif ($op == 1) { }
175 0 0 unless $dispatch_once
194 0 0 unless $frd == $fileno
205 0 0 if $name =~ /^\d+$/
207 0 0 if $name =~ s/\+(\d+)$//
208 0 0 unless (%SIGnames)
210 0 0 unless $POE::Resource::Clock::Config{'sig_name'} and $POE::Resource::Clock::Config{'sig_num'}
223 178 0 if (_do_X('USE_POSIXRT'))
232 0 0 if (_do_X('USE_STATIC_EPOCH')) { }
237 0 0 if (_do_X('USE_EXACT_EPOCH', 0)) { }
252 0 0 unless defined $rd
280 178 0 if (not $done and _do_X('USE_HIRES'))
295 0 178 unless ($done)
305 178 0 unless ($have_clock)