| blib/lib/CSS/DOM/Style.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| condition | 27 | 36 | 75.0 |
| line | !l | l&&!r | l&&r | condition |
|---|---|---|---|---|
| 72 | 0 | 6 | 0 | defined $css and CORE::length $css |
| 94 | 1803 | 0 | 115 | exists $$p{'serialise'} and my $s = $$p{'serialise'} |
| 226 | 628 | 0 | 3 | $types =~ /(s?(ds?))i\z/ and $$tokens[$-[2]] eq '!' |
| line | l | !l | condition |
|---|---|---|---|
| 52 | 85 | 43 | ($$self{'owner'} || (next))->parentStyleSheet || (next) |
| 89 | 2901 | 0 | $$self{'props'} || (return '') |
| 120 | 85 | 0 | $$self{'props'} || (return) |
| 156 | 175 | 0 | $$self{'props'} || (return $val) |
| 165 | 4 | 88 | ${return '' unless (shift())->{'pri'};}{lc shift()} || '' |
| 181 | 1046 | 5 | $$self{'props'} ||= {} |
| 182 | 1046 | 5 | $$self{'pri'} ||= {} |
| 235 | 133 | 498 | $$self{'props'} ||= {} |
| 236 | 133 | 498 | $$self{'pri'} ||= {} |
| line | l | !l&&r | !l&&!r | condition |
|---|---|---|---|---|
| 52 | 8 | 394 | 130 | $$self{'parser'} ||= (($$self{'owner'} || (next))->parentStyleSheet || (next))->property_parser |
| 126 | 64 | 5 | 0 | $$$valref[1]->can('new') || do { (my $pack = $$$valref[1]) =~ s[::][/]g; require "$pack.pm" } |
| 205 | 758 | 149 | 0 | $val || join('', @{$tokens[1];}) |