| blib/lib/Protocol/TLS/RecordLayer.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| branch | 10 | 18 | 55.5 |
| 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 |
| 74 | 0 | 20 | unless defined $readed_len |
| 75 | 0 | 20 | unless $readed_len |
| 79 | 20 | 0 | if ($f_len == $offset) { } |