Condition Coverage

blib/lib/Mojo/DOM/Role/Style.pm
Criterion Covered Total %
condition 21 26 80.7


and 3 conditions

line !l l&&!r l&&r condition
35 1 2 2 @_ == 1 and not ref $_[0]
3 1 1 @_ == 1 and not ref $_[0] and defined $_[0]
3 0 1 @_ == 1 and not ref $_[0] and defined $_[0] and not $_[0] =~ /:/u
39 1 2 1 @_ == 1 and not ref $_[0]
3 1 0 @_ == 1 and not ref $_[0] and defined $_[0]
3 0 0 @_ == 1 and not ref $_[0] and defined $_[0] and $_[0] =~ /:/u
45 1 2 1 @_ == 1 and not defined $_[0]
51 1 0 2 @_ == 1 and ref $_[0] eq "HASH"

or 2 conditions

line l !l condition
28 15 1 $self->attr("style") // ""