Branch Coverage

blib/lib/Medical/Growth/NHANES_2000.pm
Criterion Covered Total %
branch 29 30 96.6


line true false branch
28 2 29 if exists $criteria{'age'}
29 2 28 unless exists $criteria{'measure'} and exists $criteria{'age_group'} and exists $criteria{'sex'}
34 9 19 if ($criteria{'measure'} =~ /^(\w+)(?:\s+|_)(?:for|by)(?:\s+|_)(\w+)/i or $criteria{'measure'} =~ /^(Head Circumference)(?:\s+|_)(?:for|by)(?:\s+|_)(Age)/i) { }
2 17 elsif ($criteria{'measure'} =~ /(\w+)\s+(\w+)/i) { }
16 1 elsif ($criteria{'measure'} =~ /^(Weight|Wg?t|Height|Hg?t|Stature|Stat|Length|Len|BMI|Head|HC|OFC) (Age|Height|Hg?t|Length|Len)/xi) { }
55 14 13 if ($criteria{'age_group'} =~ /^(?:infant|toddler|recumbent|neonat)/i) { }
10 3 elsif ($criteria{'age_group'} =~ /^(?:child|school|adol)/i) { }
2 1 elsif ($criteria{'age_group'} =~ /^[0-9.]+$/ and $criteria{'age_group'} eq '0' || $criteria{'age_group'} > 0) { }
64 1 1 $criteria{'age_group'} >= 24 ? :
76 5 3 $ages eq 'Infant' ? :
86 1 1 $ages eq 'Infant' ? :
92 15 10 if ($criteria{'sex'} =~ /^[MB1]/i) { }
9 1 elsif ($criteria{'sex'} =~ /^[FG2]/i) { }
114 0 2 unless $class
115 1 1 unless eval { do { &Module::Runtime::use_module($class) } }