Bitly/Result/BitlyProDomain.pm

filter: Statementstmt 94.1% 16 / 17 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 85.7% 6 / 7 Podpod 33.3% 1 / 3 totaltotal 85.1% 23 / 27 CC 1 SCAR 1.3
CC
1
Cov
94%
domain
2.0
BEGIN
1.0
BEGIN
1.0
CRAP 1.1
« Bitly/Result/Countries.pm ↑ Summary Bitly/Result/Shorten.pm »
1 package WebService::Bitly::Result::BitlyProDomain;
2  
3 1 ▶use warnings;
Subroutine BEGIN: called CC=1 SCAR=0.0
4 1 ▶use strict;
Subroutine BEGIN: called CC=1 SCAR=0.0
5 1 ▶use Carp;
Subroutine BEGIN: called CC=1 SCAR=0.0
6  
7 1 ▶use base qw(WebService::Bitly::Result);
Subroutine BEGIN: called CC=1 SCAR=0.0
8  
9 1 ▶sub new {
Subroutine new: called CC=1 SCAR=0.0
Pod documented
10 1 my ($class, $result_bitly_pro_domain) = @_;
11 1 my $self = $class->SUPER::new($result_bitly_pro_domain);
12 }
13  
14 2 ▶sub is_pro_domain {
Subroutine is_pro_domain: called CC=1 SCAR=0.0
Pod undocumented
15 2 return shift->data->{bitly_pro_domain};
16 }
17  
18 0 ▶sub domain {
Subroutine domain: not called CC=1 SCAR=6.9
Pod undocumented
19 0 return shift->data->{domain};
20 }
21  
22 1 1;
« Bitly/Result/Countries.pm ↑ Summary Bitly/Result/Shorten.pm »