Condition Coverage

Bio/DB/GFF/RelSegment.pm
Criterion Covered Total %
condition 36 78 46.1


and 3 conditions

line !l l&&!r l&&r condition
216 168 0 35 ref $name and $name->isa('Bio::DB::GFF::Segment')
225 168 0 0 ref $name and $name->can('class')
279 80 55 25 $absref eq $sname and not defined $this_start
135 0 25 $absref eq $sname and not defined $this_start and not defined $this_stop
300 150 10 0 $factory->strict_bounds_checking and $this_start < $absstart || $this_stop > $absstop
303 0 0 5 $this_start <= $absstop and $this_stop >= $absstart
424 20 0 30 ref $newref and $newref->can('class')
516 0 5 5 ref $label and overload::StrVal($self) eq overload::StrVal($label->ref)
699 0 0 5 defined $_[0] && $_[0] =~ /^-/
862 0 75 10 defined $strand and $strand eq '-'
909 5 10 0 @_ and not $_[0] =~ /^-/
976 10 2146 165 defined $refstrand && $refstrand eq '-'
980 0 80 2241 @result == 1 and not wantarray
1011 0 0 0 @result == 1 and not wantarray
1042 0 0 0 @result == 1 and not wantarray
1059 0 0 619 defined $start and defined $stop

or 2 conditions

line l !l condition
231 83 0 eval { do { $factory->default_class } } || 'Sequence'
259 70 90 $absstrand ||= '+'
324 0 0 $refclass ||= 'Sequence'
514 10 0 $self->start || ''
515 10 0 $self->stop || ''
833 5 0 $range_type ||= 'overlaps'

or 3 conditions

line l !l&&r !l&&!r condition
231 85 83 0 $class ||= eval { do { $factory->default_class } } || 'Sequence'
300 0 5 5 $this_start < $absstart || $this_stop > $absstop
1090 0 0 0 not defined $low or $low < $_->abs_low
1091 0 0 0 not defined $high or $high > $_->abs_high
1134 0 0 0 not defined $low or $low > $_->abs_low
1135 0 0 0 not defined $high or $high < $_->abs_high