Branch Coverage

blib/lib/Bio/FeatureIO.pm
Criterion Covered Total %
branch 13 28 46.4


line true false branch
298 10 10 if ($class =~ /Bio::FeatureIO::(\S+)/) { }
312 0 10 unless ($format)
313 0 0 if ($param{'-file'}) { }
0 0 elsif ($param{'-fh'}) { }
320 0 10 unless $class->_load_format_module($format)
343 0 0 unless my $self = $class->new(@_)
446 0 10 if ($@)
472 0 10 if defined $val
507 0 8 unless $_ = shift()
508 6 2 if /\.gff3?$/i
509 0 2 if /\.gtf$/i
510 1 1 if /\.bed$/i
511 0 1 if /\.ptt$/i
528 0 0 unless wantarray