Branch Coverage

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


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 14 6 rand() < 0.5 ? :
84 14 6 if ($$self{'gender'} eq 'm') { }
86 11 3 if $$self{'age'} > 26
87 11 3 if $$self{'age'} > 34
88 11 3 if $$self{'age'} > 34
92 6 0 if $$self{'age'} > 16
93 6 0 if $$self{'age'} > 16
94 5 1 if $$self{'age'} > 26
95 4 2 if $$self{'age'} > 34
96 4 2 if $$self{'age'} > 34
115 14 6 $$self{'gender'} eq 'm' ? :