blib/lib/XML/SAX/Builder.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 25 | 42 | 59.5 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
100 | 0 | 0 | 26 | ref $_ and $_->can('run') |
165 | 0 | 0 | 35 | $self and $nsup |
169 | 9 | 21 | 5 | $args[0] and ref $args[0] eq 'HASH' |
173 | 16 | 0 | 16 | ref $_ and $_->can('run') |
214 | 39 | 0 | 1 | $$attr{'xml:lang'} and not $self->_is_valid_lang($$attr{'xml:lang'}) |
240 | 0 | 0 | 10 | $handler and defined $prefix |
0 | 0 | 10 | $handler and defined $prefix and $uri | |
0 | 0 | 10 | $handler and defined $prefix and $uri and $child |
line | l | !l | condition |
---|---|---|---|
188 | 16 | 19 | $uri ||= '' |
2 | 33 | $prefix ||= '' | |
35 | 0 | $lname ||= '' | |
218 | 5 | 10 | $uri ||= '' |
5 | 10 | $prefix ||= '' | |
15 | 0 | $lname ||= '' |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
22 | 4 | 0 | 0 | $handler ||= 'XML::SAX::Writer'->new |
244 | 9 | 1 | 0 | ref $child eq 'XML::SAX::Builder::Tag' or ref $child eq 'XML::SAX::Builder::Namespace' |