Branch Coverage

blib/lib/Acme/Hospital/Bed.pm
Criterion Covered Total %
branch 7 22 31.8


line true false branch
15 1 0 unless ($self->{'names'})
20 1 0 unless ($self->{'phrases'})
69 0 0 unless (ref $self)
82 0 19 if ($available == 0)
93 19 0 if ($ans eq 'y') { }
0 0 elsif ($patient{'level'} > 5) { }
96 0 19 $patient{'level'} < 6 ? :
102 0 19 unless $_[1]
109 0 171 if ($_->{'length'} == 0)
118 0 0 if ($_[0]{'lifes'}-- == 0)
129 0 0 unless ($answer =~ /y|n/)