Branch Coverage

blib/lib/Mojo/DOM/Role/Style.pm
Criterion Covered Total %
branch 16 18 88.8


line true false branch
21 1 13 if (scalar @_ == 1 and not ref $_[0] and defined $_[0]) { }
1 12 elsif (scalar @_ == 1 and not defined $_[0]) { }
1 11 elsif (scalar @_ % 2 == 0 and scalar @_) { }
2 9 elsif (ref $_[0] eq 'HASH') { }
39 5 8 if (want('OBJECT')) { }
3 5 elsif (want('HASH')) { }
69 1 0 wantarray ? :
1 13 unless ($css)
74 13 0 wantarray ? :