Branch Coverage

GO/Parsers/unknown_format_parser.pm
Criterion Covered Total %
branch 15 42 35.7


line true false branch
44 0 6 if ($dtype)
47 0 0 if ($dtype =~ /ontology$/) { }
0 0 elsif ($dtype =~ /defs$/) { }
0 0 elsif ($dtype =~ /xrefs$/) { }
0 0 elsif ($dtype =~ /assocs$/) { }
63 6 0 unless ($p)
65 6 0 unless ($fmt)
67 0 6 if ($file =~ /\.go$/)
70 1 5 if ($file =~ /\.ontology$/)
73 0 6 if ($file =~ /defs$/)
76 0 6 if ($file =~ /2go$/)
79 0 6 if ($file =~ /gene_association/)
82 5 1 if ($file =~ /\.obo$/ or $file =~ /\.obo[\.\-_]text$/)
85 0 6 if ($file =~ /\.obo\W*xml$/)
88 0 6 unless ($fmt)
90 0 0 if ($file =~ /\.(\w+)$/)
96 0 0 if ($@) { }
103 0 6 unless ($fmt)
105 0 0 unless open F, $file
107 0 0 if ($first_line =~ /^format/) { }
127 6 0 if @_