Yadis/Service.pm

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