Condition Coverage

Bio/Tools/GFF.pm
Criterion Covered Total %
condition 31 91 34.0


and 3 conditions

line !l l&&!r l&&r condition
374 1 0 3 $gff_string = $self->_readline and defined $gff_string
558 56 2 1 $a eq ';' and $flag
58 0 0 $a eq '#' and not $flag
665 0 2 1 $self->{'_first'} and $self->gff_version == 3
837 0 0 6 defined $value && length $value
5 1 0 do { $value =~ /[^A-Za-z0-9_]/ } && do { $value =~ s/\t/\\t/g; $value =~ s/\n/\\n/g; $value = '"' . $value . '" ' }
854 0 2 0 not $feat->has_tag('Target') || $feat->has_tag('Group') and $origfeat->isa('Bio::SeqFeature::FeaturePair')
932 0 0 0 defined $value && length $value
0 0 0 do { $value =~ /[^A-Za-z0-9_]/ } && do { $value =~ s/\t/\\t/g; $value =~ s/\n/\\n/g; $value = '"' . $value . '" ' }
955 0 0 0 not $feat->has_tag('Target') || $feat->has_tag('Group') and $origfeat->isa('Bio::SeqFeature::FeaturePair')
1033 22 0 7 $tag eq 'Target' and not $origfeat->isa('Bio::SeqFeature::FeaturePair')
1038 0 0 0 defined $e and defined $b
0 0 0 defined $e and defined $b and $target_id
1039 0 0 0 defined $strand and $strand < 0
1053 2 0 27 defined $value and length $value
1081 1 0 7 $feat->has_tag('Target') and not $feat->has_tag('Group')
1 7 0 $feat->has_tag('Target') and not $feat->has_tag('Group') and $origfeat->isa('Bio::SeqFeature::FeaturePair')
1099 8 0 0 $feat->can('name') and defined $feat->name
1150 31 0 16 defined $value and grep {$value == $_;} 1, 2, 2.5, 3

or 2 conditions

line l !l condition
203 16 0 $gff_version ||= 2
741 0 1 $name ||= 'SEQ'
810 0 2 $name ||= 'SEQ'
911 0 0 $name ||= 'SEQ'
1016 8 0 $name ||= 'SEQ'
1108 0 0 $feat->source_tag || '.'
1122 8 0 $feat->source_tag || '.'
1299 0 0 $self->{'gffio'}->next_feature || undef

or 3 conditions

line l !l&&r !l&&!r condition
378 0 0 3 $gff_string =~ /^\#/ or $gff_string =~ /^\s*$/
0 0 3 $gff_string =~ /^\#/ or $gff_string =~ /^\s*$/ or $gff_string =~ m[^//]
854 0 0 2 $feat->has_tag('Target') || $feat->has_tag('Group')
946 0 0 0 $tag eq 'Group' or $tag eq 'Target'
955 0 0 0 $feat->has_tag('Target') || $feat->has_tag('Group')
1195 0 0 0 ref $self || $self