Branch Coverage

lib/Pheno/Ranker/Align.pm
Criterion Covered Total %
branch 65 88 73.8


line true false branch
26 0 3 exists $data->[0]{'subject'} ? :
35 0 5 if $self->{'debug'} or $self->{'verbose'}
57 0 163 if $self->{'verbose'}
68 2856 3019 if ($j < $i) { }
163 2856 elsif ($j == $i) { }
92 0 5 if $self->{'debug'} or $self->{'verbose'}
109 0 1 if $self->{'debug'} or $self->{'verbose'}
127 0 36 if $self->{'verbose'}
129 0 36 if defined $self->{'debug'} and $self->{'debug'} > 1
156 1 0 $weight ? :
167 123 36 exists $nomenclature{$_} ? :
171 0 1 if @sort_keys_glob_hash != @labels
196 0 141 $sort_by eq 'jaccard' ? :
201 0 36 if $self->{'verbose'}
279 288 180 defined $format->{$_}{'format'} ? :
283 36 0 if (defined $align)
321 36 0 $weight_bool eq 'True' ? :
327 1 35 if $count == $max_out
347 0 36 if $length1 != $length2
376 2582 3142 if $char1 == 0 and $char2 == 0
382 1056 4668 if $char1 ne $char2
384 4668 1056 $char1 eq $char2 ? :
431 0 199 if $self->{'verbose'}
477 0 200 if @included and @excluded
484 25 175 if (@included)
486 75 50 unless &any(sub {
491 0 200 if (@excluded)
493 0 0 if exists $hash->{$key}
506 71 129 if (exists $hash->{'phenotypicFeatures'})
508 104 75 $_->{'excluded'} ? :
541 0 200 unless %$hash
559 756 19847 unless defined $hash->{$key}
568 11871 7976 if $regex and $key =~ /$regex/
572 413 7563 if $key =~ /age|onset/i and not $self->{'age'}
579 1848 5715 if $val eq "NA" or $val eq "Fake" or $val eq "None:No matching concept" or $val =~ /1900-01-01|NA0000|P999Y|P9999Y|ARRAY|phenopacket_id/
591 0 5715 if (defined $edges and $val =~ /^HP:/)
608 5715 0 if ($tmp_key_at_term_level =~ /\./)
624 0 5690 exists $weight->{$tmp_key_at_term_level} ? :
25 5690 exists $weight->{$tmp_key} ? :
632 5642 73 if defined $hash->{$label}
690 5094 621 if ($key =~ /$array_terms_str/)
695 4964 130 if (defined $3) { }
730 5577 16260 exists $cmp_hash->{$individual_id}{$key} ? :
732 5577 16260 exists $cmp_hash->{$individual_id}{$key} ? :