Branch Coverage

blib/lib/HTML/ReplaceForm.pm
Criterion Covered Total %
branch 17 20 85.0


line true false branch
63 9 4 if ($token->is_tag(qr/(input|textarea|select)/)) { }
2 2 elsif ($token->is_start_tag('option')) { }
65 2 7 if ($token->return_attr('type') =~ /^checkbox$/) { }
2 5 elsif ($token->return_attr('type') =~ /^radio$/) { }
2 3 elsif ($token->is_tag('textarea')) { }
67 1 1 if ($token->return_attr('value') eq $$data{$token->return_attr('name')}) { }
78 1 1 if ($token->return_attr('value') eq $$data{$token->return_attr('name')}) { }
94 2 0 if (my $name = $token->return_attr('name')) { }
105 3 0 if ($token->is_start_tag) { }
106 3 0 if (my $name = $token->return_attr('name')) { }