Branch Coverage

lib/Convert/Pheno/Mapping.pm
Criterion Covered Total %
branch 34 48 70.8


line true false branch
60 80794 206 if exists $seen{$tmp_query}
80 0 206 if $ontology eq "ohdsi" and not $self->{'ohdsi_db'}
99 0 206 $print_hidden_labels ? :
113 232485 422153 $val eq '' ? :
1174007 654638 &looks_like_number($tr_val) ? :
133 0 69770 defined $time && $time =~ /^T(.+)Z$/ ? :
161 0 80 unless $str =~ /\-|\+/
195 17885 2785 $labels ? :
212 139999 0 if (exists $ohdsi_dic->{$concept_id}) { }
240 30 0 $val eq 'false' || $val eq 'no' ? :
10 30 $val eq 'true' || $val eq 'yes' ? :
258 0 70059 unless $birth and $date
268 33388 36671 unless sprintf("%02d%02d", $month, $day) >= sprintf("%02d%02d", $birth_month, $birth_day)
297 0 0 if (exists $operator_concept_id{$id})
302 0 0 if ($operator_concept_id{$id} eq 'GT') { }
345 530 68663 if $visit_occurrence_id eq "\\N"
353 68414 249 unless (exists $visit_occurrence->{$visit_occurrence_id})
387 249 0 $hashref->{'visit_type_concept_id'} == 44818517 ? :
413 75 255 if $date eq ""
414 102 153 if $date =~ /^(\d{4})\-(\d{2})\-(\d{2})$/
425 0 0 ref shift() ? :
433 2880 2160 exists $mapping_file->{$term}{$_} ? :
439 360 900 exists $mapping_file->{$term}{'ontology'} ? :
442 180 1080 if $term eq "treatments"