Branch Coverage

blib/lib/CracTools/GFF/Annotation.pm
Criterion Covered Total %
branch 22 34 64.7


line true false branch
19 31 2 unless (defined $format)
25 33 0 if (defined $line)
61 102 2 if ($self->{'format'} =~ /gff3/i or $self->{'format'} =~ /gff$/i) { }
2 0 elsif ($self->{'format'} =~ /gtf/i) { }
68 104 0 if (defined $k and defined $v)
69 29 75 if ($k eq 'Parent')
85 0 32 if (defined $chr)
95 0 1 if (defined $source)
105 0 227 if (defined $feature)
115 0 33 if (defined $start)
125 0 34 if (defined $end)
135 0 1 if (defined $score)
145 0 32 if (defined $strand)
161 0 1 if (defined $phase)
170 78 35 if (defined $self->attribute('Parent')) { }
182 1 256 if (defined $value) { }
256 0 elsif (defined $key) { }