Branch Coverage

blib/lib/Biblio/bp/lib/bp-p-dload.pl
Criterion Covered Total %
branch 39 82 47.5


line true false branch
35 0 280 unless defined $format
43 7 267 if (defined $formats{join $;, $fmt, 'i_name'} and not defined $cset and not $fmt =~ m[/])
58 0 273 if ($@)
59 0 0 if ($@ =~ /^Can't locate $glb_bpprefix/)
62 0 0 if ($@ =~ /^bp error /)
69 0 273 if (@opts)
74 0 0 if defined $ret
83 4 269 unless defined $cset
101 0 273 unless defined $cset
105 263 10 if defined $charsets{join $;, $cset, 'i_name'}
108 2 8 if $cset eq 'auto'
114 0 8 if ($@)
115 0 0 if ($@ =~ /^Can't locate $glb_bpprefix/)
131 0 5 unless defined $conv
135 0 5 if defined $special_converters{join $;, $conv, 'i_name'}
140 5 0 if ($@)
141 5 0 if ($@ =~ /^Can't locate $glb_bpprefix/) { }
157 0 0 if (defined $rehash and $rehash eq 'rehash')
161 0 0 unless (defined $glb_supported_files)
260 0 6 unless defined $lname
261 0 6 unless defined $sname
262 0 6 unless defined $pname
263 0 6 unless defined $cname
264 0 6 if defined $formats{join $;, $lname, 'i_name'}
286 6 60 if (($f) = /^suffix is (\w+)$/) { }
18 42 elsif (($f) = /^(\w+) is standard$/) { }
2 40 elsif (($f, $p) = /^(\w+) is unimplemented$/) { }
14 26 elsif (($f, $p) = /^(\w+) is unsupported$/) { }
26 0 elsif (($f) = /^(\w+)$/) { }
0 0 elsif (($f, $uses) = /^(\w+) uses (\w+)$/) { }
0 0 elsif (($f, $p, $as) = /^(\w+) as (\w+)'(\w+)$/) { }
0 0 elsif (($f, $as) = /^(\w+) as (\w+)$/) { }
293 0 2 unless (defined &$inst)
298 6 8 unless (defined &$inst)
304 0 0 unless (defined $formats{join $;, $uses, $f})
305 0 0 unless &load_format($uses)
315 0 60 unless defined $formats{join $;, $lname, $f}
317 0 60 unless defined &$inst
319 0 60 if defined $seen{$f}
327 0 60 unless defined $seen{$f}
330 0 6 unless defined $formats{join $;, $lname, 'i_suffix'}