Branch Coverage

blib/lib/HTML/Native/Attribute.pm
Criterion Covered Total %
branch 19 44 43.1


line true false branch
150 0 1 if (ref $value eq 'CODE')
153 0 0 if blessed $value
157 1 0 if (ref $value)
158 1 0 if (ref $value eq 'ARRAY') { }
0 0 elsif (ref $value eq 'HASH') { }
170 1 0 defined $value ? :
230 0 3 if (ref $value eq 'CODE')
233 0 0 if blessed $value
240 2 1 if (ref $value ne 'HASH')
241 0 2 if (not defined $value) { }
0 2 elsif (not ref $value) { }
2 0 elsif (ref $value eq 'ARRAY') { }
254 2 0 if $ref
258 0 3 unless $ref
316 0 2 if (ref $value eq 'CODE')
319 0 0 if blessed $value
326 2 0 if (ref $value ne 'ARRAY')
327 0 2 if (not defined $value) { }
0 2 elsif (not ref $value) { }
2 0 elsif (ref $value eq 'HASH') { }
340 2 0 if $ref
344 0 2 unless $ref