blib/lib/OCBNET/CSS3/DOM/Block.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
branch | 15 | 26 | 57.6 |
line | true | false | branch |
---|---|---|---|
67 | 6 | 258 | if defined $getter |
70 | 197 | 61 | if (exists $$self{$type}{$key}[$idx or 0]) |
74 | 0 | 61 | if $key eq 'css-ref' |
75 | 0 | 61 | if $key eq 'css-id' |
81 | 7 | 54 | unless $node |
109 | 123 | 3 | if (exists $$self{$type}{$key}) |
110 | 54 | 69 | if scalar @{$$self{$type}{$key};} |
122 | 0 | 65 | unless $ref |
127 | 62 | 3 | if defined $result |
154 | 0 | 0 | unless defined $regexp |
159 | 0 | 0 | unless $key =~ /^\s*$regexp/is |
166 | 0 | 0 | unless $key =~ /^\s*$regexp/is |
171 | 0 | 0 | unless defined $regexp |