Branch Coverage

lib/SMB/Packer.pm
Criterion Covered Total %
branch 14 16 87.5


line true false branch
60 1 1 $$self{'offset'} + $n_bytes > $self->size ? :
63 1 1 if $n_avail < $n_bytes
75 0 3 unless $type =~ /^uint(8|16(_be)?|32(_be)?|64)$/ or $type =~ /^\d+$/
79 1 2 $type =~ /^\d+$/ ? :
92 0 3 unless $$self{'stubs'}{$name}
94 1 2 $type =~ /^\d+$/ ? :
139 9 94 shift() ? :
157 1 135 if ref $data eq 'ARRAY'