lib/Net/BitTorrent/Protocol/HandshakeOnly.pm

filter: Statementstmt 100% 15 / 15 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 5 / 5 Podpod n/a totaltotal 100% 20 / 20 CC 1 SCAR 0.0
CC
1
Cov
100%
BEGIN
1.0
BEGIN
1.0
BEGIN
1.0
CRAP 1.0
« blib/lib/Net/BitTorrent/Protocol/Simulation.pm ↑ Summary lib/Net/BitTorrent/Types.pm »
1 26 ▶use v5.40;
Subroutine BEGIN: called CC=1 SCAR=0.0
2 26 ▶use feature 'class';
Subroutine BEGIN: called CC=1 SCAR=0.0
3 26 ▶no warnings 'experimental::class';
Subroutine BEGIN: called CC=1 SCAR=0.0
4 26 ▶class Net::BitTorrent::Protocol::HandshakeOnly v2.1.1 : isa(Net::BitTorrent::Protocol::BEP03) {
Subroutine BEGIN: called CC=1 SCAR=0.0
5 26 field $on_handshake_cb : param;
6 2 ▶ ADJUST {
Subroutine __ANON__: called CC=1 SCAR=0.0
7 2 $self->on( handshake => sub ( $self, $ih, $id ) { $on_handshake_cb->( $ih, $id ) } );
8 }
9 26 } 1;
« blib/lib/Net/BitTorrent/Protocol/Simulation.pm ↑ Summary lib/Net/BitTorrent/Types.pm »