| 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 | 6 | 6 | 999 | use strict; | |||
| 6 | 12 | ||||||
| 6 | 130 | ||||||
| 4 | 6 | 6 | 26 | use warnings; | |||
| 6 | 8 | ||||||
| 6 | 156 | ||||||
| 5 | |||||||
| 6 | use constant { | ||||||
| 7 | |||||||
| 8 | #lower-case so that deflate.pm satisfies Handshake.pm’s | ||||||
| 9 | #extension interface | ||||||
| 10 | 6 | 452 | token => 'permessage-deflate', | ||||
| 11 | 6 | 6 | 29 | }; | |||
| 6 | 10 | ||||||
| 12 | |||||||
| 13 | 6 | 6 | 32 | use constant VALID_MAX_WINDOW_BITS => (8 .. 15); | |||
| 6 | 15 | ||||||
| 6 | 286 | ||||||
| 14 | |||||||
| 15 | 1; |