Condition Coverage

blib/lib/CSS/DOM/Style.pm
Criterion Covered Total %
condition 27 36 75.0


and 3 conditions

line !l l&&!r l&&r condition
73 0 6 0 defined $css and CORE::length $css
94 1801 0 115 exists $p->{'serialise'} and my $s = $p->{'serialise'}
226 628 0 3 $types =~ /(s?(ds?))i\z/ and $$tokens[$-[2]] eq '!'

or 2 conditions

line l !l condition
53 85 43 ($self->{'owner'} || (next))->parentStyleSheet || (next)
89 2899 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'} ||= {}

or 3 conditions

line l !l&&r !l&&!r condition
53 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];})