blib/lib/DOM/Tiny/_CSS.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 23 | 27 | 85.1 |
line | l | !l | condition |
---|---|---|---|
174 | 4011 | 1398 | _combinator([reverse(@$_)], $current, $tree, 0) and return 1 |
212 | 15 | 33 | $_ ne $current and return undef |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
58 | 3 | 31 | 497 | defined $attrs->{$name} and defined $value_re |
95 | 905 | 592 | 1747 | @$selectors and ref $selectors->[-1] |
194 | 0 | 42 | 5 | $current->[3] && $current->[3][0] eq 'root' |
line | l | !l | condition |
---|---|---|---|
169 | 41 | 9 | $2 || 0 |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
22 | 0 | 871 | 0 | ref $class || $class |
44 | 80 | 2 | 1281 | $current->[0] eq 'root' or $current eq $tree |
185 | 25 | 0 | 176 | exists $current->[2]{'checked'} || exists $current->[2]{'selected'} |
197 | 20 | 20 | 8 | $class eq 'only-child' or $class eq 'only-of-type' |