Condition Coverage

blib/lib/Text/FormBuilder.pm
Criterion Covered Total %
condition 7 40 17.5


and 3 conditions

line !l l&&!r l&&r condition
117 0 0 0 -f $options{'messages'} and -r _
0 0 0 -f $options{'messages'} and -r _ and open MESSAGES, "< $options{'messages'}"
229 3 0 0 ref $_->{'options'} and @{$_->{'options'};} >= 3

or 2 conditions

line l !l condition
234 6 15 defined $field->{$_} or delete $field->{$_}
241 0 3 $_->{'required'} or delete $_->{'required'}

or 3 conditions

line l !l&&r !l&&!r condition
101 0 3 0 $options{'css'} || $DEFAULT_CSS
113 0 0 0 $options{'messages'}{$key} ||= $DEFAULT_MESSAGES{$key}
120 0 0 0 /^\s*#/ or /^\s*$/
153 0 0 0 $field->{'label'} ||= ucfirst $field->{'name'}
156 0 0 0 $_->[1]{'label'} || ucfirst join(' ', split(/_/, $_->[1]{'name'}, 0))
223 0 0 0 $_->{'label'} || ucfirst join(' ', split(/_/, $_->{'name'}, 0))
319 0 0 0 $self->{'build_options'}{'css'} || $DEFAULT_CSS
554 3 0 0 shift() || $DEFAULT_CSS
555 0 3 0 shift() || $DEFAULT_CHARSET