Branch Coverage

blib/lib/Bio/Palantir/Parser.pm
Criterion Covered Total %
branch 4 32 12.5


line true false branch
50 0 1 if ($ext eq '.js')
56 1 0 $ext eq '.xml' ? :
58 0 1 unless my $xb = 'XML::Bare'->new('file', $file)
62 0 1 unless ($root)
86 0 0 if ($i == 0) { }
0 0 elsif ($lines[$i] =~ /all_regions/msx) { }
0 0 elsif ($lines[$i] =~ /details_data/msx) { }
0 0 elsif ($i == @lines - 2) { }
0 0 elsif ($i == @lines - 1) { }
176 0 0 if ($domain_id > 1 and $prev_domain and $domain->{'start'} eq $prev_domain->{'start'} and $domain->{'sequence'} eq $prev_domain->{'sequence'})
195 0 0 $domain->{'start'} == 1 ? :
200 0 0 if ($orf->{'modules'})
216 0 0 $module->{'start'} == 1 ? :
239 0 0 $module->{'complete'} == 1 ? :
313 0 0 if ($json_for{$cluster}{'modules'})
359 0 0 unless (grep {$type =~ /$_/imsx;} @allowed_types)