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 644 ref $left eq "HASH" and ref $right eq "HASH"
178 631 2872 196 exists $left->{$_} and ref $left->{$_} eq "HASH"
3503 0 196 exists $left->{$_} and ref $left->{$_} eq "HASH" and ref $right->{$_} eq "HASH"
224 3 182 6 $args->{'element'} and exists $$css{$args->{'element'}}
227 3 185 3 $args->{'element'} and exists $css->{'_'}{' ' . $args->{'element'}}
237 8 10 0 $args->{'element'} and exists $$css{$args->{'element'} . ".$_"}
242 181 10 0 $args->{'id'} and exists $$css{'#' . $args->{'id'}}
247 181 10 0 $args->{'id'} and exists $$css{$args->{'element'} . '#' . $args->{'id'}}

or 2 conditions

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

or 3 conditions

line l !l&&r !l&&!r condition
38 9 5 0 $css->{'*'} //= $base
193 76 0 0 $css->{'*'} //= $base
204 160 31 0 $css->{'*'} //= $base
209 0 1337 0 $ret->{$k} //= $v