blib/lib/Net/BitTorrent/Tracker/Base.pm untested

filter: Statementstmt 0.0% 0 / 18 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 4 Podpod n/a totaltotal 0.0% 0 / 22 SCAR 6.9
CC
1
Cov
0%
BEGIN
2.0
BEGIN
2.0
BEGIN
2.0
CRAP 2.0
1 use v5.40;
2 use feature 'class';
3 no warnings 'experimental::class';
4 use Net::BitTorrent::Emitter;
5 #
6 class Net::BitTorrent::Tracker::Base v2.1.0 : isa(Net::BitTorrent::Emitter) {
7 field $url : param : reader;
8 field $ssrf_bypass : param : reader = 0;
9  
10 method perform_announce ( $params, $cb = undef ) {
11 $self->_emit_log( 'fatal', 'Not implemented in base class' );
12 }
13  
14 method perform_scrape ( $infohashes, $cb = undef ) {
15 $self->_emit_log( 'fatal', 'Not implemented in base class' );
16 }
17 };
18 1;