Condition Coverage

blib/lib/Resque/Failures.pm
Criterion Covered Total %
condition 0 21 0.0


and 3 conditions

line !l l&&!r l&&r condition
86 0 0 0 $opt{$_} and not ref $opt{$_}

or 2 conditions

line l !l condition
46 0 0 $start || 0
0 0 $count || -1
84 0 0 $self->count || (return 0)

or 3 conditions

line l !l&&r !l&&!r condition
71 0 0 0 $queue || $item->{'queue'}
84 0 0 0 $opt{'limit'} ||= $self->count || (return 0)
101 0 0 0 !($opt{'queue'} || $opt{'error'} || $opt{'class'} || $opt{'args'}) || (!$opt{'queue'} || $item->{'queue'} =~ /$opt{'queue'}/) && (!$opt{'error'} || $item->{'error'} =~ /$opt{'error'}/) && (!$opt{'class'} || $item->{'payload'}{'class'} =~ /$opt{'class'}/) && (!$opt{'args'} || $enc->encode($item->{'payload'}{'args'}) =~ /$opt{'args'}/)
103 0 0 0 $opt{'requeue'} or $opt{'requeue_to'}