Condition Coverage

blib/lib/Acme/Hospital/Bed.pm
Criterion Covered Total %
condition 4 11 36.3


or 2 conditions

line l !l condition
10 0 1 $args{'total_num_of_rooms'} ||= 20
11 0 1 $args{'lifes'} ||= 3
12 0 1 $args{'rooms'} ||= []
140 0 0 int rand $_[0]{'max_length_of_stay'} || 1

or 3 conditions

line l !l&&r !l&&!r condition
13 0 1 0 $args{'max_length_of_stay'} ||= $args{'total_num_of_rooms'} * 2