blib/lib/XML/Saxtract.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 13 | 18 | 72.2 |
line | l | !l | condition |
---|---|---|---|
138 | 10 | 20 | defined $spec->{$path} and scalar @{$self->{'buffer'};} |
156 | 17 | 13 | not $path and scalar @{$self->{'element_stack'};} |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
149 | 17 | 10 | 0 | $ns_uri && $spec->{$ns_uri} |
227 | 5 | 12 | 13 | defined $spec->{$spec_path} and ref $spec->{$spec_path} eq 'HASH' |
17 | 0 | 13 | defined $spec->{$spec_path} and ref $spec->{$spec_path} eq 'HASH' and defined $spec->{$spec_path}{'spec'} |
line | l | !l | condition |
---|---|---|---|
169 | 0 | 10 | $result || {} |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
32 | 0 | 1 | 0 | $options{'agent'} || 'LWP::UserAgent'->new |