Condition Coverage

blib/lib/Test/HTML/Form.pm
Criterion Covered Total %
condition 13 28 46.4


and 2 conditions

line l !l condition
457 0 1 $selected_option && scalar grep((/selected/i && $selected_option->attr($_)), $selected_option->all_external_attr_names)
503 0 1 $selected_box && scalar grep((/checked/i && $selected_box->attr($_)), $selected_box->all_attr_names)

and 3 conditions

line !l l&&!r l&&r condition
450 0 0 10 ref $option and lc $option->tag eq 'option'
591 0 0 13 $elem and ref $elem eq 'HTML::Element'
603 0 0 0 $elem && $value =~ /$field_value/
605 0 9 4 $elem && $value eq $field_value
654 1 0 0 ref $filename and $filename->can('content')

or 2 conditions

line l !l condition
494 1 0 $$form_fields{$field_name} || []
633 6 7 $count || 0
646 1 1 $count || 0

or 3 conditions

line l !l&&r !l&&!r condition
355 1 0 0 $ok || $text =~ /$pattern/