Branch Coverage

blib/lib/Data/RandomPerson.pm
Criterion Covered Total %
branch 34 34 100.0


line true false branch
26 2 5 if (lc $key eq 'male') { }
2 3 elsif (lc $key eq 'female') { }
2 1 elsif (lc $key eq 'last') { }
48 1 3 if $@
51 1 2 if $@
54 1 1 if $@
70 12 8 rand() < 0.5 ? :
84 12 8 if ($$self{'gender'} eq 'm') { }
86 7 5 if $$self{'age'} > 26
87 6 6 if $$self{'age'} > 34
88 6 6 if $$self{'age'} > 34
92 6 2 if $$self{'age'} > 16
93 6 2 if $$self{'age'} > 16
94 5 3 if $$self{'age'} > 26
95 4 4 if $$self{'age'} > 34
96 4 4 if $$self{'age'} > 34
115 12 8 $$self{'gender'} eq 'm' ? :