Branch Coverage

blib/lib/ZMQ/Raw/Loop/Timer.pm
Criterion Covered Total %
branch 10 16 62.5


line true false branch
25 0 456 @_ > 1 ? :
100 0 13 if (not $args{'timer'} or ref $args{'timer'} ne 'ZMQ::Raw::Timer')
105 0 13 if (not $args{'on_timeout'} or ref $args{'on_timeout'} ne 'CODE')
110 0 13 if ($args{'on_cancel'} and ref $args{'on_cancel'} ne 'CODE')
132 76 83 if (scalar @_ > 1)
149 7 0 if ($this->loop)
153 1 6 if ($this->on_cancel)
168 23 0 if ($this->loop)