Condition Coverage

blib/lib/Set/IntSpan.pm
Criterion Covered Total %
condition 169 179 94.4


and 3 conditions

line !l l&&!r l&&r condition
169 21 11 19 @span == 1 and $e == $span[0] + 1
21 5 6 @span == 1 and $e > $span[0] + 1
5 10 11 @span == 2 and $e == $span[1] + 1
5 4 6 @span == 2 and $e > $span[1] + 1
204 13 5 77 defined $al and defined $bl
223 19 65 24 @spans and not defined $spans[0][0]
236 6 10 0 @spans and not defined $spans[0][0]
245 25 10 65 @spans and not @edges
261 84 10 55 @spans and defined $spans[0][1]
413 176 106 957 $lower ne '(' and $upper ne ')'
282 652 305 $lower ne '(' and $upper ne ')' and $lower + 1 == $upper
499 82 1 963 defined $set_spec && ref $set_spec && ref $set_spec ne 'ARRAY'
532 59 26 155 $iA < @$eA and $iB < @$eB
559 59 4 22 $iA < @$eA and not $inB
560 49 4 32 $iB < @$eB and not $inA
583 51 8 8 $$a{'negInf'} && $$b{'negInf'}
595 46 21 124 $iA < @$eA and $iB < @$eB
622 46 17 4 $iA < @$eA and $inB
623 43 20 4 $iB < @$eB and $inA
625 53 10 4 $$a{'posInf'} && $$b{'posInf'}
649 187 16 40 $$a{'negInf'} && !$$b{'negInf'}
661 149 94 325 $iA < @$eA and $iB < @$eB
688 149 34 60 $iA < @$eA and not $inB
689 149 60 34 $iB < @$eB and $inA
691 189 12 42 $$a{'posInf'} && !$$b{'posInf'}
721 46 21 122 $iA < @$eA and $iB < @$eB
866 7 1 1 $$set{'negInf'} and not @{$$set{'edges'};}
898 287 55 81 $lGap and $rGap
55 3 284 not $lGap and $rGap
3 0 55 $lGap and not $rGap
970 9 2 2 $negInf and $posInf
9 0 2 $negInf and not $posInf
0 7 2 not $negInf and $posInf
1005 9 2 2 $negInf and $posInf
9 0 2 $negInf and not $posInf
0 7 2 not $negInf and $posInf
1042 10 14 13 @edges and ($$inset{'negInf'} xor $n < 0)
1096 17 14 29 @sub_edges and $sub_edges[-1] == $i - 1
1151 32 4 4 $$set{'negInf'} and $$set{'posInf'}
1200 48 6 6 $$set{'negInf'} and $$set{'posInf'}
1439 2 6 9 defined $upper and $upper < $n

or 3 conditions

line l !l&&r !l&&!r condition
108 793 2634 0 ref $this || $this
125 0 11 0 ref $this || $this
437 10 6 42 $$set{'negInf'} or $$set{'posInf'}
520 20 8 57 $$a{'negInf'} || $$b{'negInf'}
562 14 11 60 $$a{'posInf'} || $$b{'posInf'}
817 41 19 138 $$set{'negInf'} or $$set{'posInf'}
838 755 0 328 $$set{'negInf'} || @{$$set{'edges'};} || $$set{'posInf'}
846 6 3 18 $$set{'negInf'} || $$set{'posInf'}
895 108 28 287 $i == 0 || $$edge[$i - 1] < $n - 1
896 348 17 58 $i == @$edge || $n < $$edge[$i]
1082 10 5 30 $$set{'negInf'} or $$set{'posInf'}
1117 14 7 42 $$set{'negInf'} or $$set{'posInf'}

xor 4 conditions

line l&&r l&&!r !l&&r !l&&!r condition
876 8 22 34 33 $$set{'negInf'} xor $i & 1
893 8 20 64 418 $$set{'negInf'} xor $i & 1
23 61 26 400 $$set{'negInf'} xor $i & 1 xor $indel
940 2 5 10 7 $$set{'negInf'} xor $i & 1
1042 4 6 7 10 $$inset{'negInf'} xor $n < 0