Condition Coverage

blib/lib/SVGPDF/CSS.pm
Criterion Covered Total %
condition 29 42 69.0


and 3 conditions

line !l l&&!r l&&r condition
176 0 0 759 ref $left eq "HASH" and ref $right eq "HASH"
178 706 3289 222 exists $left->{$_} and ref $left->{$_} eq "HASH"
3995 0 222 exists $left->{$_} and ref $left->{$_} eq "HASH" and ref $right->{$_} eq "HASH"
224 3 208 6 $args->{'element'} and exists $$css{$args->{'element'}}
227 3 211 3 $args->{'element'} and exists $css->{'_'}{' ' . $args->{'element'}}
237 8 60 0 $args->{'element'} and exists $$css{$args->{'element'} . ".$_"}
242 206 11 0 $args->{'id'} and exists $$css{'#' . $args->{'id'}}
247 206 11 0 $args->{'id'} and exists $$css{$args->{'element'} . '#' . $args->{'id'}}

or 2 conditions

line l !l condition
68 6 27 $css->{$_} //= {}
165 0 3 $css->{$1}{" $2"} //= {}
259 215 2 $css->{'_'} // {}

or 3 conditions

line l !l&&r !l&&!r condition
38 10 6 0 $css->{'*'} //= $base
193 78 0 0 $css->{'*'} //= $base
204 186 31 0 $css->{'*'} //= $base
209 0 1519 0 $ret->{$k} //= $v