Condition Coverage

blib/lib/MCE/Shared/Queue.pm
Criterion Covered Total %
condition 14 121 11.5


and 2 conditions

line l !l condition
224 0 0 $_pending < $_cnt and scalar @{$_Q->{'_heap'};}
259 0 0 $_pending < $_cnt and scalar @{$_Q->{'_heap'};}
292 0 0 $_pending < $_cnt and scalar @{$_Q->{'_heap'};}
399 0 0 exists $_Q->{'_datp'}{$_p} and scalar @{$_Q->{'_datp'}{$_p};}

and 3 conditions

line !l l&&!r l&&r condition
117 18 0 8 $_reset_flg and $INC{'MCE/Shared/Server.pm'}
218 0 0 0 defined $_cnt and $_cnt ne 1
253 0 0 0 defined $_cnt and $_cnt ne 1
286 0 0 0 defined $_cnt and $_cnt ne 1
915 8 2 6 defined $_cnt and $_cnt ne 1
924 0 6 10 $_len > 0 and $_cnt == 1
941 4 0 0 defined $_cnt and $_cnt ne 1
969 4 0 0 defined $_cnt and $_cnt ne 1
984 0 0 0 $_len > 0 and $_cnt == 1
1009 0 4 0 @_ == 1 && !wantarray

or 2 conditions

line l !l condition
892 0 0 shift() || 0

or 3 conditions

line l !l&&r !l&&!r condition
80 0 26 0 ref $_class || $_class
189 0 0 0 not &looks_like_number($_p) or int $_p != $_p
219 0 0 0 not &looks_like_number($_cnt) or int $_cnt != $_cnt
0 0 0 not &looks_like_number($_cnt) or int $_cnt != $_cnt or $_cnt < 1
234 0 0 0 @{$_Q->{'_datq'};} || @{$_Q->{'_heap'};}
254 0 0 0 not &looks_like_number($_cnt) or int $_cnt != $_cnt
0 0 0 not &looks_like_number($_cnt) or int $_cnt != $_cnt or $_cnt < 1
287 0 0 0 not &looks_like_number($_cnt) or int $_cnt != $_cnt
0 0 0 not &looks_like_number($_cnt) or int $_cnt != $_cnt or $_cnt < 1
330 0 0 0 not &looks_like_number($_i) or int $_i != $_i
380 0 0 0 not &looks_like_number($_p) or int $_p != $_p
382 0 0 0 not &looks_like_number($_i) or int $_i != $_i
440 0 0 0 not &looks_like_number($_i) or int $_i != $_i
463 0 0 0 not &looks_like_number($_i) or int $_i != $_i
468 0 0 0 not &looks_like_number($_p) or int $_p != $_p
490 0 0 0 not &looks_like_number($_i) or int $_i != $_i
517 0 0 0 not exists $_Q->{'_datp'}{$_p} or @{$_Q->{'_datp'}{$_p};} == 0
564 0 0 0 not &looks_like_number($_p) or int $_p != $_p
896 0 0 0 not &looks_like_number($_t) or int $_t != $_t
916 0 0 6 not &looks_like_number($_cnt) or int $_cnt != $_cnt
0 0 6 not &looks_like_number($_cnt) or int $_cnt != $_cnt or $_cnt < 1
942 0 0 0 not &looks_like_number($_cnt) or int $_cnt != $_cnt
0 0 0 not &looks_like_number($_cnt) or int $_cnt != $_cnt or $_cnt < 1
964 0 0 0 not &looks_like_number($_timeout) or $_timeout < 0
970 0 0 0 not &looks_like_number($_cnt) or int $_cnt != $_cnt
0 0 0 not &looks_like_number($_cnt) or int $_cnt != $_cnt or $_cnt < 1
976 4 0 0 not $_timeout or $_timeout < 0