Branch Coverage

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


line true false branch
18 34 2 unless (defined $format)
24 36 0 if (defined $line)
60 108 2 if ($self->{'format'} =~ /gff3/i or $self->{'format'} =~ /gff$/i) { }
2 0 elsif ($self->{'format'} =~ /gtf/i) { }
67 110 0 if (defined $k and defined $v)
68 32 78 if ($k eq 'Parent')
84 0 35 if (defined $chr)
94 0 1 if (defined $source)
104 0 227 if (defined $feature)
114 0 36 if (defined $start)
124 0 37 if (defined $end)
134 0 1 if (defined $score)
144 0 35 if (defined $strand)
160 0 1 if (defined $phase)
169 78 35 if (defined $self->attribute('Parent')) { }
181 1 254 if (defined $value) { }
254 0 elsif (defined $key) { }