Branch Coverage

blib/lib/Games/ScottAdams/Action.pm
Criterion Covered Total %
branch 27 38 71.0


line true false branch
40 4 69 if (defined $name)
161 18 47 if ($verb == 0) { }
163 18 0 unless $noun
171 0 59 unless defined $arg
175 0 65 if @condval > 6
206 6 115 if ($argslot + @arg > 6 or $resslot == 4 or $resslot == 3 and $i < @resval - 1)
210 0 6 $resslot % 2 == 0 ? :
219 88 33 $resslot % 2 == 0 ? :
223 0 60 unless (defined $arg)
242 54 126 if ($op eq 'msg')
244 0 54 if $caption eq 'condition'
248 54 0 $mnum <= 51 ? :
252 0 126 unless defined $ref
256 8 118 if ($argtype == ARG_NONE()) { }
30 88 elsif ($argtype == ARG_NUM()) { }
21 67 elsif ($argtype == ARG_ROOM()) { }
66 1 elsif ($argtype == ARG_ITEM()) { }
1 0 elsif ($argtype == ARG_ITEMROOM()) { }
0 0 elsif ($argtype == ARG_ITEMITEM()) { }