DOM2/DOM/Attribute.pm

filter: Statementstmt 90.9% 10 / 11 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 75.0% 3 / 4 Podpod 100% 1 / 1 totaltotal 87.5% 14 / 16 CC 1 SCAR 2.2
CC
1
Cov
91%
ownerElement
2.0
BEGIN
1.0
BEGIN
1.0
CRAP 1.2
« DOM2/Element/DocumentType.pm ↑ Summary DOM2/XPath.pm »
1 package XML::DOM2::DOM::Attribute;
2  
3 4 ▶use base "XML::DOM2::DOM::NameSpace";
Subroutine BEGIN: called CC=1 SCAR=0.0
4  
5 4 ▶use strict;
Subroutine BEGIN: called CC=1 SCAR=0.0
6 4 ▶use warnings;
Subroutine BEGIN: called CC=1 SCAR=0.0
7  
8 =head2 $attribute->ownerElement()
9  
10 Return the owner of the attribute (element)
11  
12 =cut
13 sub ownerElement
14 0 ▶{
Subroutine ownerElement: not called CC=1 SCAR=6.9
Pod documented
15 0 return $_[0]->{'owner'};
16 }
17  
18 4 return 1;
« DOM2/Element/DocumentType.pm ↑ Summary DOM2/XPath.pm »