Branch Coverage

blib/lib/DiaColloDB/Profile.pm
Criterion Covered Total %
branch 0 158 0.0


line true false branch
97 0 0 defined $prf->{$_} ? :
98 0 0 defined $prf->{$_} ? :
99 0 0 defined $prf->{$_} ? :
103 0 0 $prf->{'score'} ? :
0 0 $prf->{$_} ? :
0 0 $force ? :
151 0 0 unless $p->{'f1'}
160 0 0 $f ? :
177 0 0 @funcs ? :
180 0 0 exists $p->{$_} ? :
191 0 0 $keyf ? :
193 0 0 exists $p->{$_} ? :
195 0 0 defined $p->{$_} ? :
208 0 0 defined $opts{'hlabel'} ? :
0 0 ref $that ? :
224 0 0 exists $opts{'label'} ? :
229 0 0 if $opts{'header'} // 1
237 0 0 defined $label ? :
261 0 0 ref $file ? :
262 0 0 unless ref $fh
265 0 0 if $opts{'body'} // 1
266 0 0 if $opts{'table'} // 1
274 0 0 defined $opts{'hlabel'} ? :
0 0 if $opts{'header'} // 1
277 0 0 exists $opts{'label'} ? :
286 0 0 defined $label ? :
292 0 0 if $opts{'table'} // 1
293 0 0 if $opts{'body'} // 1
294 0 0 unless ref $file
307 0 0 if not $func or $func =~ /^(?:f(?:req(?:uency)?)?(?:12)?)$/i
308 0 0 if $func =~ /^(?:f(?:req(?:uency)?)?(?:-?p(?:er)?)?(?:-?m(?:(?:ill)?ion)?)(?:12)?)$/i
309 0 0 if $func =~ /^(?:l(?:og)?-?f(?:req(?:uency)?)?(?:12)?)$/i
310 0 0 if $func =~ /^(?:l(?:og)?-?f(?:req(?:uency)?)?(?:-?p(?:er)?)?(?:-?m(?:(?:ill)?ion)?)(?:12)?)$/i
311 0 0 if $func =~ /^(?:ld|log-?dice)/i
312 0 0 if $func =~ /^(?:ll|log-?l(?:ikelihood)?)/i
313 0 0 if $func =~ /^(?:(?:lf)?mi(?:-?lf)?|mutual-?information-?(?:l(?:og)?)?-?f(?:req(?:uency)?)?)?$/i
314 0 0 if $func =~ /^(?:mi1|mutual-?information-?1|pmi1?)$/i
315 0 0 if $func =~ /^(?:mi3|mutual-?information-?3)$/i
331 0 0 unless $prf->{'score'} and $$prf{$prf->{'score'}}
333 0 0 if isInf($_)
415 0 0 $f12 >= 0 ? :
0 0 $denom ? :
441 0 0 $denom > 0 ? :
465 0 0 $denom ? :
488 0 0 $denom ? :
499 0 0 $_[0] > 0 ? :
505 0 0 $_[1] == 0 ? :
524 0 0 $N <= 0 ? :
532 0 0 $N && $f12 < $f1 * $f2 / $N ? :
562 0 0 unless my $score = $$prf{$prf->{'score'} // 'f12'}
567 0 0 if ((my $cutoff = $opts{'cutoff'} // '') ne '')
570 0 0 if $val < $cutoff
576 0 0 if (defined($kbest = $opts{'kbest'}) and $kbest > 0)
578 0 0 if (@keys > $kbest)
586 0 0 if (defined($kbesta = $opts{'kbesta'}) and $kbesta > 0)
588 0 0 if (@keys > $kbesta)
595 0 0 if (($opts{'return'} // '') eq 'bad')
596 0 0 lc($opts{'as'} // 'array') eq 'hash' ? :
598 0 0 exists $bad->{$_} ? :
0 0 lc($opts{'as'} // 'array') eq 'hash' ? :
616 0 0 unless my $score = $$prf{$prf->{'score'} // 'f12'}
620 0 0 if (defined $opts{'keep'})
621 0 0 UNIVERSAL::isa($opts{'keep'}, 'ARRAY') ? :
630 0 0 if (defined $opts{'drop'})
631 0 0 UNIVERSAL::isa($opts{'drop'}, 'ARRAY') ? :
636 0 0 if ((my $cutoff = $opts{'cutoff'} // '') ne '')
640 0 0 if $val < $cutoff
647 0 0 if (defined($kbest = $opts{'kbest'}) and $kbest > 0)
649 0 0 if (@trim > $kbest)
657 0 0 if (defined($kbesta = $opts{'kbesta'}) and $kbesta > 0)
659 0 0 if (@trim > $kbesta)
679 0 0 if (UNIVERSAL::can($i2s, 'i2s')) { }
0 0 elsif (UNIVERSAL::isa($i2s, 'CODE')) { }
697 0 0 if (UNIVERSAL::isa($i2s, 'HASH')) { }
0 0 elsif (UNIVERSAL::isa($i2s, 'ARRAY')) { }
728 0 0 if not exists $opts{'N'} or $opts{'N'}
729 0 0 if not exists $opts{'f1'} or $opts{'f1'}
752 0 0 if not ref $that and @$profiles == 1
753 0 0 ref $that ? :