blib/lib/Net/WebSocket/PMCE/deflate/Constants.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
statement | 12 | 12 | 100.0 |
branch | n/a | ||
condition | n/a | ||
subroutine | 4 | 4 | 100.0 |
pod | n/a | ||
total | 16 | 16 | 100.0 |
line | stmt | bran | cond | sub | pod | time | code |
---|---|---|---|---|---|---|---|
1 | package Net::WebSocket::PMCE::deflate::Constants; | ||||||
2 | |||||||
3 | 4 | 4 | 664 | use strict; | |||
4 | 13 | ||||||
4 | 126 | ||||||
4 | 4 | 4 | 28 | use warnings; | |||
4 | 9 | ||||||
4 | 147 | ||||||
5 | |||||||
6 | use constant { | ||||||
7 | |||||||
8 | #lower-case so that deflate.pm satisfies Handshake.pm’s | ||||||
9 | #extension interface | ||||||
10 | 4 | 388 | token => 'permessage-deflate', | ||||
11 | 4 | 4 | 29 | }; | |||
4 | 16 | ||||||
12 | |||||||
13 | 4 | 4 | 37 | use constant VALID_MAX_WINDOW_BITS => (8 .. 15); | |||
4 | 10 | ||||||
4 | 291 | ||||||
14 | |||||||
15 | 1; |