blib/lib/XML/Saxtract.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 13 | 18 | 72.2 |
line | l | !l | condition |
---|---|---|---|
127 | 7 | 16 | defined $spec->{$path} and scalar @{$self->{'buffer'};} |
145 | 12 | 11 | not $path and scalar @{$self->{'element_stack'};} |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
138 | 17 | 10 | 0 | $ns_uri && $spec->{$ns_uri} |
216 | 4 | 8 | 11 | defined $spec->{$spec_path} and ref $spec->{$spec_path} eq 'HASH' |
12 | 0 | 11 | defined $spec->{$spec_path} and ref $spec->{$spec_path} eq 'HASH' and defined $spec->{$spec_path}{'spec'} |
line | l | !l | condition |
---|---|---|---|
158 | 0 | 9 | $result || {} |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
32 | 0 | 1 | 0 | $options{'agent'} || 'LWP::UserAgent'->new |