Condition Coverage

blib/lib/Thread/Queue/Priority.pm
Criterion Covered Total %
condition 21 42 50.0


and 3 conditions

line !l l&&!r l&&r condition
57 6 0 0 $$self{'_ended'} and not $$self{'_count'}
82 7 0 0 $$self{'_count'} < $count and not $$self{'_ended'}
160 0 0 0 $$self{'_count'} < $count and not $$self{'_ended'}
195 1 1 14 defined $index && looks_like_number $index
211 2 2 6 defined $count && looks_like_number $count
227 0 0 0 defined $timeout and looks_like_number $timeout
243 0 0 4 defined $priority && looks_like_number $priority

or 3 conditions

line l !l&&r !l&&!r condition
83 6 0 1 $$self{'_count'} > $count or $$self{'_ended'}
163 0 0 0 $$self{'_count'} > $count or $$self{'_ended'}
195 2 1 13 not defined $index && looks_like_number $index or int $index != $index
211 4 2 4 not defined $count && looks_like_number $count or int $count != $count
6 4 0 not defined $count && looks_like_number $count or int $count != $count or $count < 1
243 0 0 4 not defined $priority && looks_like_number $priority or int $priority != $priority
0 0 4 not defined $priority && looks_like_number $priority or int $priority != $priority or $priority < 0