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