lib/Petal/Tiny.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 34 | 43 | 79.0 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
52 | 0 | 1 | 13 | defined $thing and $thing =~ /(\<|\n|\>)/ |
250 | 0 | 2 | 1 | $last && $idx == $#$array |
260 | 3 | 13 | 6 | $last && $idx == $#$array |
345 | 123 | 212 | 7 | not @path and @args == 1 |
358 | 123 | 212 | 1 | not @path and @args |
367 | 20 | 0 | 0 | ref $arg and $self->reftype($arg) eq 'ARRAY' |
455 | 81 | 0 | 10 | $1 eq 'xmlns' and $attr{$key} eq 'http://purl.org/petal/1.0/' |
line | l | !l | condition |
---|---|---|---|
401 | 9 | 33 | $$quotes{$_} || '"' |
452 | 100 | 0 | $1 || '"' |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
49 | 0 | 14 | 0 | ref $class || $class |
89 | 217 | 11 | 71 | $$node{'_simple'} or $$node{'_selfclose'} |
225 | 1 | 1 | 1 | $stuff eq '' or $self->resolve_expression($stuff, $context) |
261 | 6 | 5 | 11 | $$context{'repeat'}{'start'} || $$context{'repeat'}{'end'} |
424 | 10 | 72 | 0 | $node{'_ns'} ||= $ns |
483 | 52 | 10 | 167 | not $string or ref $string |