blib/lib/Linux/Event/WebSocket/Server/Connection.pm

filter: Statementstmt 100% 16 / 16 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 5 / 5 Podpod n/a totaltotal 100% 21 / 21 CC 1 SCAR 0.0
CC
1
Cov
100%
BEGIN
1.0
BEGIN
1.0
BEGIN
1.0
CRAP 1.0
« blib/lib/Linux/Event/WebSocket/Client/Connection.pm ↑ Summary
1 package Linux::Event::WebSocket::Server::Connection;
2 7 ▶use v5.36;
Subroutine BEGIN: called CC=1 SCAR=0.0
3 7 ▶use strict;
Subroutine BEGIN: called CC=1 SCAR=0.0
4 7 ▶use warnings;
Subroutine BEGIN: called CC=1 SCAR=0.0
5  
6 7 our $VERSION = '0.001';
7  
8 7 ▶use parent 'Linux::Event::WebSocket::Connection';
Subroutine BEGIN: called CC=1 SCAR=0.0
9  
10 # Linux::Event::HTTP keeps its constructor-installed transport-close wrapper
11 # across transition_to(). That wrapper performs one final HTTP state cleanup
12 # before forwarding to the WebSocket close lifecycle, so preserve its private
13 # cleanup entry point on the transitioned object without duplicating HTTP state
14 # knowledge here.
15 3 ▶sub _clear_transaction ($self) {
Subroutine _clear_transaction: called CC=1 SCAR=0.0
16 3 require Linux::Event::HTTP::Server::Connection;
17 3 Linux::Event::HTTP::Server::Connection::_clear_transaction($self);
18 3 return;
19 }
20  
21 7 1;
22  
23 __END__
« blib/lib/Linux/Event/WebSocket/Client/Connection.pm ↑ Summary