Branch Coverage

lib/Pheno/Ranker.pm
Criterion Covered Total %
branch 23 48 47.9


line true false branch
203 0 8 if (@{$self->{'append_prefixes'};})
207 0 0 unless @{$self->{'reference_files'};} > 1
211 0 0 unless @{$self->{'reference_files'};} == @{$self->{'append_prefixes'};}
215 0 8 if (@{$self->{'patients_of_interest'};})
219 0 0 unless @{$self->{'reference_files'};}
254 2 6 defined $align ? :
255 0 8 unless -d $align_dir
258 0 8 defined $export ? :
259 0 8 unless -d $export_dir
269 0 6 if $include_hpo_ascendants
288 0 6 unless -f $cohort_file
328 0 6 if @$poi
336 3 3 unless defined $self->{'format'}
348 0 6 if keys %$glob_hash > $self->{'max_number_var'}
362 5 1 unless $target_file
365 1 5 if ($target_file)
382 0 1 unless exists $tar_data->{$primary_key}
418 0 1 if $cli
424 0 1 $align ? :
1 0 if defined $align
434 0 1 if (defined $export)
437 0 0 if defined $align
446 0 0 $export ? :
0 6 if defined $export