Karmasphere/Parser/RBL/Domain.pm

filter: Statementstmt 66.6% 10 / 15 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 42.8% 3 / 7 Podpod 0.0% 0 / 2 totaltotal 54.1% 13 / 24 CC 1 SCAR 4.5
CC
1
Cov
67%
_type
2.0
_streams
2.0
my_format
2.0
CRAP 1.6
« Karmasphere/Parser/RBL/Mixed.pm ↑ Summary Karmasphere/Parser/RBL/URL.pm »
1 package Mail::Karmasphere::Parser::RBL::Domain;
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 1 ▶use base 'Mail::Karmasphere::Parser::RBL::Base';
Subroutine BEGIN: called CC=1 SCAR=0.0
6  
7 0 ▶sub _type { "domain" }
Subroutine _type: not called CC=1 SCAR=6.9
8  
9 0 ▶sub _streams { qw(domain) }
Subroutine _streams: not called CC=1 SCAR=6.9
10  
11 0 ▶sub my_format { "rbl.domain" } # if the source table's "magic" field is rbl.domain, this module deals with it.
Subroutine my_format: not called CC=1 SCAR=6.9
Pod undocumented
12  
13 0 ▶sub tweaks {
Subroutine tweaks: not called CC=1 SCAR=6.9
Pod undocumented
14 0 my $self = shift;
15
16 # we assume it's a domain identity.
17  
18 0 return ("domain", 0, $_[0]);
19 }
20  
21 1 1;
« Karmasphere/Parser/RBL/Mixed.pm ↑ Summary Karmasphere/Parser/RBL/URL.pm »