Branch Coverage

blib/lib/HTML5/DOM/TokenList.pm
Criterion Covered Total %
branch 8 18 44.4


line true false branch
25 4 0 defined $attr ? :
31 9 0 if (defined $attr)
33 0 9 if scalar @items == 1 and $items[0] eq ''
52 8 0 if (defined $attr)
64 3 5 if $self->has($token)
74 2 0 if (defined $attr)
87 1 0 if (defined $attr)
96 0 0 defined $force ? :
97 0 0 $state ? :