blib/lib/Net/WebSocket/X/ReceivedBadControlFrame.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
statement | 11 | 11 | 100.0 |
branch | n/a | ||
condition | n/a | ||
subroutine | 4 | 4 | 100.0 |
pod | n/a | ||
total | 15 | 15 | 100.0 |
line | stmt | bran | cond | sub | pod | time | code |
---|---|---|---|---|---|---|---|
1 | package Net::WebSocket::X::ReceivedBadControlFrame; | ||||||
2 | |||||||
3 | 2 | 2 | 1057 | use strict; | |||
2 | 5 | ||||||
2 | 61 | ||||||
4 | 2 | 2 | 11 | use warnings; | |||
2 | 4 | ||||||
2 | 70 | ||||||
5 | |||||||
6 | 2 | 2 | 13 | use parent qw( Net::WebSocket::X::Base ); | |||
2 | 3 | ||||||
2 | 12 | ||||||
7 | |||||||
8 | sub _new { | ||||||
9 | 2 | 2 | 426 | my ($class, $txt, $frame) = @_; | |||
10 | |||||||
11 | 2 | 12 | return $class->SUPER::_new( $txt, frame => $frame ); | ||||
12 | } | ||||||
13 | |||||||
14 | 1; |