WebSocket/X/MissingHeaders.pm

filter: Statementstmt 100% 12 / 12 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 4 / 4 Podpod n/a totaltotal 100% 16 / 16 CC 1 SCAR 0.0
CC
1
Cov
100%
BEGIN
1.0
BEGIN
1.0
BEGIN
1.0
CRAP 1.0
« WebSocket/X/Base.pm ↑ Summary WebSocket/X/ReceivedBadControlFrame.pm »
1 package Net::WebSocket::X::MissingHeaders;
2  
3 1 ▶use strict;
Subroutine BEGIN: called CC=1 SCAR=0.0
4 1 ▶use warnings;
Subroutine BEGIN: called CC=1 SCAR=0.0
5  
6 1 ▶use parent qw( Net::WebSocket::X::Base );
Subroutine BEGIN: called CC=1 SCAR=0.0
7  
8 1 ▶sub _new {
Subroutine _new: called CC=1 SCAR=0.0
9 1 my ($class, @names) = @_;
10  
11 1 return $class->SUPER::_new(
12 sprintf("Missing header(s): @names"),
13 names => \@names,
14 );
15 }
16  
17 1 1;
« WebSocket/X/Base.pm ↑ Summary WebSocket/X/ReceivedBadControlFrame.pm »