Branch Coverage

lib/Convert/Pheno/PXF.pm
Criterion Covered Total %
branch 57 86 66.2


line true false branch
43 0 26 exists $data->{'phenopacket'} ? :
47 0 26 exists $data->{'family'} ? :
48 0 26 exists $data->{'family'} ? :
51 0 26 if (exists $phenopacket->{'medical_actions'})
59 0 26 if (exists $phenopacket->{'meta_data'})
95 18 8 if (exists $phenopacket->{'diseases'})
100 14 10 if exists $disease->{'onset'}
103 24 0 exists $disease->{'negated'} || exists $disease->{'excluded'} ? :
109 38 10 if exists $disease->{$_}
124 0 26 if (exists $phenopacket->{'exposures'})
134 0 0 unless (exists $exposure->{'unit'})
141 0 0 if exists $exposure->{$_}
158 26 0 if exists $phenopacket->{'subject'}{'id'}
173 50 158 if exists $phenopacket->{$term}
177 0 26 if defined $cohort
178 0 26 if defined $family
184 12 14 if (exists $phenopacket->{'medicalActions'})
186 12 28 if (exists $action->{'procedure'})
191 12 0 exists $action->{'procedure'}{'code'} ? :
195 12 0 exists $action->{'procedure'}{'performed'} ? :
201 24 0 if exists $procedure->{$_}
213 26 0 if exists $phenopacket->{'subject'}{'karyotypicSex'}
218 10 16 if (exists $phenopacket->{'measurements'})
227 6 32 if exists $measure->{'complexValue'}
233 6 0 exists $measure->{'complexValue'} ? :
32 6 exists $measure->{'value'} ? :
235 32 6 if exists $measure->{'timeObserved'}
240 76 38 if exists $measure->{$_}
255 24 2 if (exists $phenopacket->{'phenotypicFeatures'})
268 156 0 exists $phenotypicFeature->{'negated'} || exists $phenotypicFeature->{'excluded'} ? :
156 0 if exists $phenotypicFeature->{'type'}
273 156 156 if exists $phenotypicFeature->{$_}
293 26 0 if exists $phenopacket->{'subject'}{'sex'} and $phenopacket->{'subject'}{'sex'} ne ""
299 12 14 if (exists $phenopacket->{'medicalActions'})
301 26 14 if (exists $action->{'treatment'})
306 26 0 exists $action->{'treatment'}{'agent'} ? :
310 26 0 if exists $treatment->{'agent'}
313 24 2 if (exists $treatment->{'doseIntervals'})
322 0 26 unless (exists $_->{'quantity'})
327 0 26 unless (exists $_->{'scheduleFrequency'})
387 0 1 $os eq 'MSWin32' ? :
0 1 lc $os eq 'darwin' ? :
396 0 1 if ($os eq "MSWin32")