Condition Coverage

blib/lib/HTML/FormTemplate.pm
Criterion Covered Total %
condition 1 64 1.5


and 3 conditions

line !l l&&!r l&&r condition
1627 0 0 0 $req_options and $FIELD_TYPES{$type}{$TKEY_SELECT}
1878 0 0 0 $exclude_private and $defin->fetch_value($FKEY_IS_PRIVATE)
1955 0 0 0 $exclude_private and $defin->fetch_value($FKEY_IS_PRIVATE)
2060 0 0 0 exists $FIELD_TYPES{$type} && $FIELD_TYPES{$type}{$TKEY_MULTIV}

or 2 conditions

line l !l condition
2414 0 0 scalar $defin->fetch($FKEY_DEFAULTS) || []
2426 0 0 $defin->fetch($FKEY_VALUES) || ['on']
2440 0 0 $defin->fetch($FKEY_DEFAULTS) || []
2458 0 0 $defin->fetch($FKEY_LABELS) || []
2497 0 0 $defin->fetch($FKEY_VALUES) || ['on']
2502 0 0 $defin->fetch($FKEY_DEFAULTS) || []
2514 0 0 $defin->fetch($FKEY_LABELS) || []
2531 0 0 $params{'size'} ||= scalar @{$ra_values;}
2563 0 0 $defin->fetch($FKEY_VALUES) || ['on']
2568 0 0 $defin->fetch($FKEY_LABELS) || []
2585 0 0 $params{'size'} ||= scalar @{$ra_values;}

or 3 conditions

line l !l&&r !l&&!r condition
707 0 2 0 ref $class || $class
1275 0 0 0 $$rh_params{'method'} ||= $$self{$KEY_SUBMIT_MET}
1276 0 0 0 $$rh_params{'action'} ||= $$self{$KEY_SUBMIT_URL}
1435 0 0 0 not $name or $name =~ /^$$self{$KEY_DEF_FF_NAME}/
2125 0 0 0 $max_cols or not $max_rows
2194 0 0 0 $$defin{lc $FKEY_TYPE} || $$defin{'-' . lc($FKEY_TYPE)}
2243 0 0 0 $$self{$KEY_NEW_FORM} or $defin->fetch_value($FKEY_OVERRIDE)
2381 0 0 0 $type eq 'checkbox' or $type eq 'radio'
2425 0 0 0 $type eq 'checkbox_group' or $type eq 'radio_group'
2659 0 0 0 $cols or $rows