Branch Coverage

bin/pheno-ranker
Criterion Covered Total %
branch 14 46 30.4


line true false branch
77 0 1 unless &GetOptions("reference|r=s{1,}", \my @reference_files, "target|t=s", \my $target_file, "weights|w=s", \my $weights_file, "append-prefixes=s{1,}", \my @append_prefixes, "out-file|o=s", \my $out_file_arg, "max-out:i", \my $max_out, "max-number-vars:i", \my $max_number_vars, "include-hpo-ascendants", \my $include_hpo_ascendants, "export|e:s", \my $export, "align|a:s", \my $align, "cytoscape-json:s", \my $cytoscape_json, "graph-stats:s", \my $graph_stats, "sort-by=s", \my $sort_by, "similarity-metric-cohort=s", \my $similarity_metric_cohort, "patients-of-interest|poi=s{1,}", \my @patients_of_interest, "poi-out-dir=s", \my $poi_out_dir, "include-terms=s{1,11}", \my @include_terms, "exclude-terms=s{1,11}", \my @exclude_terms, "retain-excluded-phenotypicFeatures", \my $retain_excluded_phenotypicFeatures, "prp|precomputed-ref-prefix=s", \my $precomputed_ref_prefix, "max-matrix-records-in-ram=i", \my $max_matrix_records_in_ram, "config=s", \my $config_file, "age!", \$age, "help|?", \my $help, "log:s", \my $log, "man", \my $man, "debug=i", \my $debug, "verbose|", \my $verbose, "color!", \$color, "version|V", sub { say "$0 Version $main::VERSION"; exit; } )
78 0 1 if $help
79 0 1 if $man
80 0 1 unless @reference_files or $precomputed_ref_prefix
84 0 1 if defined $graph_stats and not defined $cytoscape_json
89 0 1 if defined $weights_file and not -f $weights_file
95 0 1 $target_file ? :
103 0 1 if (defined $precomputed_ref_prefix)
120 0 0 if ($has_incompatible_options)
151 0 1 unless $color
154 0 1 if $verbose
205 0 0 $log ? :
0 1 if defined $log
214 2 0 if (defined $$option_ref)
215 0 2 if $target_file
216 2 0 $$option_ref ? :
224 0 0 if -e $base
228 0 0 if -e $gz
240 0 0 $os eq 'MSWin32' ? :
0 0 lc $os eq 'freebsd' ? :
0 0 lc $os eq 'darwin' ? :
250 0 0 if ($os eq "MSWin32")
268 0 0 if $data->{'verbose'}