| blib/lib/CSS/DOM/Value.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| branch | 20 | 22 | 90.9 |
| line | true | false | branch |
|---|---|---|---|
| 29 | 6 | 9 | $type == 3 ? : |
| 45 | 4 | 4 | $$self[0] == 3 ? : |
| 8 | 6 | if defined wantarray | |
| 48 | 6 | 8 | if (@_) |
| 49 | 1 | 5 | unless my $owner = $$self[2] |
| 53 | 1 | 4 | unless my $prop = $$self[3] |
| 59 | 4 | 0 | if (my(@arsg) = $owner->property_parser->match($prop, $_[0])) |
| 66 | 1 | 3 | if (my $mh = $owner->modification_handler) |
| 79 | 2 | 48 | reftype $self eq 'HASH' ? : |
| 82 | 3 | 47 | unless ref $new eq ref $self |
| 87 | 0 | 59 | unless ($_[0]->can('new')) |