Branch Coverage

blib/lib/CSS/DOM/Value/List.pm
Criterion Covered Total %
branch 26 34 76.4


line true false branch
16 1 0 if $_[1] eq 'CSS::DOM::Value'
17 0 0 if defined &UNIVERSAL::DOES
37 21 4 if (defined wantarray)
38 14 7 if (not defined $self->{'c'} or grep((ref $_ ne 'ARRAY'), @{$$self{'v'};})) { }
39 1 13 unless @{$self->{'v'};}
43 12 6 unless ref $_ eq 'ARRAY'
45 4 2 unless @args
51 7 6 CORE::length $self->{'s'} ? :
55 4 21 if (@_)
59 1 3 unless my $owner = $self->{'o'}
64 1 2 unless my $prop = $self->{'p'}
66 2 0 if (my(@arsg) = $owner->property_parser->match($prop, $_[0]))
74 2 0 if (my $mh = $owner->modification_handler)
86 0 24 unless exists $v->[$index]
89 0 24 unless defined $_
90 3 21 unless ref $_ eq 'ARRAY'
100 0 21 unless +(shift())->{'v'}