Branch Coverage

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


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