lib/Net/BitTorrent/Tracker/Base.pm

filter: Statementstmt 78.9% 15 / 19 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 66.6% 4 / 6 Podpod 100% 2 / 2 totaltotal 77.7% 21 / 27 CC 3 SCAR 12.5
CC
3
Cov
79%
perform_announce
6.0
perform_scrape
6.0
BEGIN
1.0
CRAP 3.5
« lib/Net/BitTorrent/Protocol/BEP06.pm ↑ Summary lib/Net/BitTorrent/Protocol/BEP55.pm »
1 30 ▶use v5.40;
Subroutine BEGIN: called CC=1 SCAR=0.0
2 30 ▶use feature 'class';
Subroutine BEGIN: called CC=1 SCAR=0.0
3 30 ▶no warnings 'experimental::class';
Subroutine BEGIN: called CC=1 SCAR=0.0
4 30 ▶use Net::BitTorrent::Emitter;
Subroutine BEGIN: called CC=1 SCAR=0.0
5 #
6 30 class Net::BitTorrent::Tracker::Base v2.1.1 : isa(Net::BitTorrent::Emitter) {
7 30 field $url : param : reader;
8 30 field $ssrf_bypass : param : reader = 0;
9  
10 0 ▶ method perform_announce ( $params, $cb = undef ) {
Subroutine perform_announce: not called CC=2 SCAR=17.9
Pod documented
11 0 $self->_emit_log( 'fatal', 'Not implemented in base class' );
12 }
13  
14 0 ▶ method perform_scrape ( $infohashes, $cb = undef ) {
Subroutine perform_scrape: not called CC=2 SCAR=17.9
Pod documented
15 0 $self->_emit_log( 'fatal', 'Not implemented in base class' );
16 }
17 };
18 30 1;
« lib/Net/BitTorrent/Protocol/BEP06.pm ↑ Summary lib/Net/BitTorrent/Protocol/BEP55.pm »