Yadis/Service.pm

filter: Statementstmt 53.3% 8 / 15 Branchbran 0.0% 0 / 2 Conditioncond n/a MC/DCmcdc n/a Subroutinesub 42.8% 3 / 7 Podpod 100% 4 / 4 totaltotal 53.5% 15 / 28 CC 2 SCAR 9.7
CC
2
Cov
47%
extra_field
6.0
URI
2.0
Type
2.0
CRAP 2.6
« Extension/SimpleRegistration.pm ↑ Summary Extension.pm »
1  
2 package Net::OpenID::Yadis::Service;
3 BEGIN {
4 1 ▶ $Net::OpenID::Yadis::Service::VERSION = '1.030099_004';
Subroutine BEGIN: called CC=1 SCAR=0.0
5 }
6  
7 1 ▶use strict;
Subroutine BEGIN: called CC=1 SCAR=0.0
8 1 ▶use warnings;
Subroutine BEGIN: called CC=1 SCAR=0.0
9  
10 0 ▶sub URI { Net::OpenID::Yadis::_pack_array(shift->{'URI'}) }
Subroutine URI: not called CC=1 SCAR=6.9
Pod documented
11 0 ▶sub Type { Net::OpenID::Yadis::_pack_array(shift->{'Type'}) }
Subroutine Type: not called CC=1 SCAR=6.9
Pod documented
12 0 ▶sub priority { shift->{'priority'} }
Subroutine priority: not called CC=1 SCAR=6.9
Pod documented
13  
14 sub extra_field {
15 0 ▶ my $self = shift;
Subroutine extra_field: not called CC=2 SCAR=17.9
Pod documented
16 0 my ($field,$xmlns) = @_;
17 0 ▶ $xmlns and $field = "\{$xmlns\}$field";
Branch: 1 branch
BranchTrueFalseTotal
$xmlns and $field = "{$xmlns}$field" 0 0 0
18 0 $self->{$field};
19 }
20  
21 1 1;
22 __END__
« Extension/SimpleRegistration.pm ↑ Summary Extension.pm »