blib/lib/HTML/Transmorgify/Metatags.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 19 | 46 | 41.3 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
87 | 3 | 2 | 24 | @$buf == 1 and not ref $$buf[0] |
312 | 0 | 0 | 0 | not $$vals{'height'} || $$vals{'width'} and $$vals{'src'} |
332 | 0 | 0 | 0 | not $closed and $$HTML::Transmorgify::textref =~ m[ (.*?) ] ]cgsx |
464 | 0 | 0 | 135 | defined $name and length $name |
507 | 0 | 10 | 1 | defined $create and not defined $new |
615 | 0 | 0 | 0 | @e == 1 and ref $r |
762 | 0 | 0 | 0 | ref $i and ref $i eq 'CODE' |
764 | 0 | 0 | 0 | $x and -e $x |
787 | 0 | 61 | 2 | @$buf and boolean($trim, 0) |
line | l | !l | condition |
---|---|---|---|
289 | 2 | 3 | $diversion_playback{$diversion_current} ||= [] |
558 | 0 | 96 | $attr->get('encode') || 'none' |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
83 | 29 | 0 | 0 | $static_name || $attr->get('name', 0) |
87 | 24 | 3 | 2 | @$buf == 1 and not ref $$buf[0] or not $attr->boolean('eval', undef, 0) |
312 | 0 | 0 | 0 | $$vals{'height'} || $$vals{'width'} |
717 | 3 | 13 | 17 | $$s{'attr'}->tag eq 'else' or $$s{'evaluate'}() |
790 | 2 | 0 | 0 | s/^\s+// or s/\s+$// |