Branch Coverage

blib/lib/Tangence/Message.pm
Criterion Covered Total %
branch 25 36 69.4


line true false branch
57 1839 9 if ($num < 31) { }
9 0 elsif ($num < 128) { }
104 9 1830 if ($num == 31)
107 9 0 if ($num < 128) { }
117 1820 19 unless $peek
129 0 1288 unless length $_payload >= $num
168 0 161 unless $struct ||= eval { do { "Tangence::Struct"->for_perlname(ref $rec) } }
171 2 159 unless $_stream->peer_hasstruct->{$struct->perlname}
187 0 161 unless $type == 5
191 161 0 if (not $struct) { }
195 0 0 unless $struct->name eq $got_struct->name
199 0 161 unless $num == $struct->fields
214 19 1 unless $_stream->peer_hasclass->{$class->perlname}
222 11 9 if (@$smashkeys) { }
229 11 0 if ($_stream->_ver_can_typed_smash) { }
245 2 0 if $weakstream
295 19 9 $b->ret ? :
344 19 9 $b->returns ? :