Branch Coverage

lib/Pheno/Ranker.pm
Criterion Covered Total %
branch 25 54 46.3


line true false branch
200 0 8 if (@{$self->{'append_prefixes'};})
204 0 0 unless @{$self->{'reference_files'};} > 1
208 0 0 unless @{$self->{'reference_files'};} == @{$self->{'append_prefixes'};}
212 0 8 if (@{$self->{'patients_of_interest'};})
216 0 0 unless @{$self->{'reference_files'};}
251 2 6 defined $align ? :
252 0 8 unless -d $align_dir
255 0 8 defined $export ? :
256 0 8 unless -d $export_dir
266 0 6 if $include_hpo_ascendants
285 0 6 unless -f $cohort_file
298 6 0 if (ref $json_data eq ref []) { }
299 0 6 unless exists $json_data->[0]{$primary_key}
302 0 0 unless exists $json_data->{$primary_key}
337 0 6 if @$poi
345 3 3 unless defined $self->{'format'}
357 0 6 if keys %$glob_hash > $self->{'max_number_var'}
371 5 1 unless $target_file
374 1 5 if ($target_file)
391 0 1 unless exists $tar_data->{$primary_key}
427 0 1 if $cli
433 0 1 $align ? :
1 0 if defined $align
443 0 1 if (defined $export)
446 0 0 if defined $align
455 0 0 $export ? :
0 6 if defined $export