blib/lib/XML/Loy/Atom.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 20 | 30 | 66.6 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
56 | 20 | 1 | 21 | not defined $_[2] and $_[0] =~ /(?:text|x?html)/ |
201 | 1 | 9 | 5 | $_[0] and not $_[1] |
217 | 0 | 0 | 2 | $idc and $idc->[0] |
364 | 9 | 0 | 1 | $self->tag and $self->tag eq 'entry' |
line | l | !l | condition |
---|---|---|---|
65 | 20 | 1 | delete $hash{'type'} || 'text' |
296 | 6 | 0 | delete $values{'rel'} || 'related' |
482 | 37 | 0 | $root_att->{'type'} || '' |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
80 | 9 | 16 | 5 | $type eq 'html' or $type =~ /^text/i |
349 | 0 | 0 | 3 | not $self->tag or $self->tag ne 'entry' |
379 | 1 | 0 | 11 | not $self->tag or $self->tag ne 'entry' |
464 | 0 | 73 | 0 | $action eq 'add' or $action eq 'set' |