| blib/lib/Test/HTML/Form.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % | 
| condition | 13 | 28 | 46.4 | 
| line | l | !l | condition | 
|---|---|---|---|
| 458 | 0 | 1 | $selected_option && scalar grep((/selected/i && $selected_option->attr($_)), $selected_option->all_external_attr_names) | 
| 507 | 0 | 1 | $selected_box && scalar grep((/checked/i && $selected_box->attr($_)), $selected_box->all_attr_names) | 
| line | !l | l&&!r | l&&r | condition | 
|---|---|---|---|---|
| 451 | 0 | 0 | 10 | ref $option and lc $option->tag eq 'option' | 
| 596 | 0 | 0 | 13 | $elem and ref $elem eq 'HTML::Element' | 
| 608 | 0 | 0 | 0 | $elem && $value =~ /$field_value/ | 
| 610 | 0 | 9 | 4 | $elem && $value eq $field_value | 
| 659 | 2 | 0 | 0 | ref $filename and $filename->can('content') | 
| line | l | !l | condition | 
|---|---|---|---|
| 498 | 1 | 0 | $form_fields->{$field_name} || [] | 
| 638 | 6 | 9 | $count || 0 | 
| 651 | 1 | 1 | $count || 0 | 
| line | l | !l&&r | !l&&!r | condition | 
|---|---|---|---|---|
| 353 | 1 | 0 | 0 | $ok || $text =~ /$pattern/ |