Branch Coverage

blib/lib/Tags/HTML/Form/Input.pm
Criterion Covered Total %
branch 17 28 60.7


line true false branch
18 1 4 unless (defined $input and &blessed($input) and $input->isa("Data::HTML::Form::Input"))
25 0 4 $input->autofocus ? :
0 4 defined $input->css_class ? :
0 4 defined $input->id ? :
2 2 defined $input->value ? :
0 4 $input->checked ? :
0 4 defined $input->placeholder ? :
0 4 defined $input->size ? :
0 4 defined $input->readonly ? :
0 4 defined $input->disabled ? :
0 4 defined $input->min ? :
0 4 defined $input->max ? :
72 0 2 unless (defined $input and &blessed($input) and $input->isa("Data::HTML::Form::Input"))
80 1 1 if (defined $input->css_class)