Branch Coverage

blib/lib/HTML/RewriteAttributes.pm
Criterion Covered Total %
branch 9 12 75.0


line true false branch
21 16 0 unless ref $self
45 0 0 if $class ne 'HTML::RewriteAttributes'
67 24 70 if $attr eq '/'
69 48 22 if ($self->_should_rewrite($tag, $attr))
71 6 42 unless defined $$attrs{$attr}
79 24 65 if $$attrs{'/'}