Branch Coverage

blib/lib/Bio/Palantir/Parser.pm
Criterion Covered Total %
branch 4 30 13.3


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)
85 0 0 if ($i == 0)
89 0 0 if (substr($lines[$i], 0, 3) eq 'var') { }
0 0 elsif ($i == @lines - 1) { }
171 0 0 $root->{'details_data'}{'nrpspks'} ? :
185 0 0 if ($domain_id > 1 and $prev_domain and $domain->{'start'} eq $prev_domain->{'start'} and $domain->{'sequence'} eq $prev_domain->{'sequence'})
204 0 0 $domain->{'start'} == 1 ? :
209 0 0 if ($orf->{'modules'})
225 0 0 $module->{'start'} == 1 ? :
248 0 0 $module->{'complete'} == 1 ? :
322 0 0 if ($json_for{$cluster}{'modules'})
368 0 0 unless (grep {$type =~ /$_/imsx;} @allowed_types)