Condition Coverage

Bio/LiveSeq/Chain.pm
Criterion Covered Total %
condition 41 80 51.2


and 3 conditions

line !l l&&!r l&&r condition
166 16 579 269949 $label and $label != $afterlast
595 10 269939 $label and $label != $afterlast and $i <= ($len || $i + 1)
221 2 823 339139 $label and $label != $afterlast
276 0 1 3595 $label and $chain->{$label}
354 2 229 100316 $label and $label != $afterlast
783 2 131 123891 $label and not $found
947 0 0 1 $begin and $chain->{$begin}
960 0 0 1 $end and $chain->{$end}
998 0 0 6 $leftelem and $rightelem
1000 0 0 6 $chain->{$leftelem} and $chain->{$rightelem}
1061 0 1 6 $label and $label != $afterlast
1 1 5 $label and $label != $afterlast and $i <= ($len || $i + 1)
1252 0 0 0 $label and $label != $afterlast
0 0 0 $label and $label != $afterlast and $i <= ($len || $i + 1)

or 2 conditions

line l !l condition
631 2 0 $_[1] || 'post'
741 2 0 $_[0] || 'down'
762 133 0 $_[0] || 'down'
873 2 0 $_[0] || 'down'

or 3 conditions

line l !l&&r !l&&!r condition
166 168 269781 0 $len || $i + 1
415 0 0 3 $label eq -1 or $label eq 0
423 0 0 2 $label eq -1 or $label eq 0
451 0 0 1 $label eq -1 or $label eq 0
460 0 0 1 $label eq -1 or $label eq 0
639 0 1 0 $position eq 0 or $position
642 0 1 0 $position eq 0 or $position
1032 0 2 0 $first eq 0 or $first
1061 3 3 0 $len || $i + 1
1252 0 0 0 $len || $i + 1