Branch Coverage

blib/lib/CFDI/Location/XPath.pm
Criterion Covered Total %
branch 0 34 0.0


line true false branch
13 0 0 unless defined $content and ref $content eq 1
18 0 0 unless $#_ == 1
21 0 0 $_[0] && ref $_[0] ? :
22 0 0 unless defined $_ and not ref $_ and length $_
23 0 0 unless defined $self and $self->isa('CFDI::Location::XPath')
25 0 0 if $abs
31 0 0 if (/@/) { }
33 0 0 if /^@(.*)/
39 0 0 unless $#path == -1
40 0 0 if $hasAttr and not defined $attr
44 0 0 unless defined $refPath and ref $refPath eq 1
47 0 0 unless @elements
51 0 0 unless @contents
54 0 0 unless $#path == -1 and $foundPath eq $xpath
55 0 0 if ($attr) { }
56 0 0 unless defined $element
58 0 0 unless @attributes