Branch Coverage

blib/lib/Wurm.pm
Criterion Covered Total %
branch 32 52 61.5


line true false branch
16 0 2 if $symbols{'mob'}
17 1 1 if $symbols{'let'}
33 0 15 defined $env->{'psgix.logger'} ? :
47 1 0 wantarray ? :
58 0 15 $mob ? :
63 0 0 $mob ? :
65 1 0 defined $wrap ? :
74 0 15 &Scalar::Util::blessed($cast) ? :
78 0 0 &Scalar::Util::blessed($cast) ? :
80 1 0 defined $wrap ? :
89 0 27 unless defined $wurm
90 0 27 unless 'HASH' eq ref $wurm
92 27 0 if (defined $wurm->{'gate'})
94 0 27 if defined $res
98 18 9 if (($meal->{'tube'} // '') ne '')
100 0 18 unless defined $atom
104 6 12 unless defined $tube
109 12 0 if defined $res
113 9 0 if (defined $wurm->{'neck'})
115 3 6 if defined $res
119 3 3 if (defined $wurm->{'body'})
122 1 2 if (defined $body)
124 0 1 if defined $res
129 3 3 if (defined $wurm->{'tail'})
131 2 1 if defined $res
142 0 18 unless $meal->{'tube'} =~ s[\A(?[^/]+)(?:/|\z)][]u