blib/lib/Protocol/TLS/RecordLayer.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
branch | 8 | 14 | 57.1 |
line | true | false | branch |
---|---|---|---|
30 | 15 | 20 | if length($$buf_ref) - $buf_offset < 5 |
33 | 0 | 20 | unless (is_tls_version($version)) |
46 | 0 | 20 | unless (exists $content_types{$type}) |
54 | 0 | 20 | if length($$buf_ref) - $buf_offset - 5 - $length < 0 |
60 | 0 | 20 | unless defined $decrypted |
65 | 0 | 20 | unless defined $decompressed |
68 | 0 | 20 | unless defined $decoder{$type}($ctx, \$decompressed, 0, length $decompressed) |