| lib/SMB/Packer.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| branch | 14 | 16 | 87.5 |
| line | true | false | branch |
|---|---|---|---|
| 62 | 15 | 19 | $self->{'offset'} + $n_bytes > $self->size ? : |
| 66 | 15 | 19 | if $n_avail < $n_bytes |
| 76 | 0 | 9 | unless $type =~ /^uint(8|16(_be)?|32(_be)?|64)$/ or $type =~ /^\d+$/ |
| 80 | 1 | 8 | $type =~ /^\d+$/ ? : |
| 93 | 0 | 9 | unless $self->{'stubs'}{$name} |
| 95 | 1 | 8 | $type =~ /^\d+$/ ? : |
| 150 | 9 | 297 | shift() ? : |
| 168 | 1 | 356 | if ref $data eq 'ARRAY' |