Condition Coverage

blib/lib/HTML/SuperForm/Field.pm
Criterion Covered Total %
condition 0 43 0.0


and 3 conditions

line !l l&&!r l&&r condition
52 0 0 0 defined $$config{'value'} and @$all_values == 0
76 0 0 0 ref $$self{'_default'} eq 'ARRAY' and scalar @{$$self{'_default'};} == 0
112 0 0 0 UNIVERSAL::isa($form, 'HTML::SuperForm') and $self->sticky
0 0 0 UNIVERSAL::isa($form, 'HTML::SuperForm') and $self->sticky and exists $$config{'name'} && $form->exists_param($$config{'name'}) || !$self->fallback
122 0 0 0 not $self->selectable and ref $$self{'_value'} eq 'ARRAY'
222 0 0 0 $self->selectable and $self->values_as_labels
0 0 0 $self->selectable and $self->values_as_labels and scalar @{$$self{'_all_values'};} == 1
234 0 0 0 $self->selectable and $self->values_as_labels
0 0 0 $self->selectable and $self->values_as_labels and scalar @{$$self{'_all_values'};} == 1

or 2 conditions

line l !l condition
45 0 0 delete $$config{'labels'} || {}
46 0 0 delete $$config{'values'} || [keys %$labels]

or 3 conditions

line l !l&&r !l&&!r condition
108 0 0 0 $$self{'_multiple'} or scalar @{$$self{'_all_values'};} > 0
112 0 0 0 exists $$config{'name'} && $form->exists_param($$config{'name'}) || !$self->fallback
234 0 0 0 exists $$self{'_label'} or $self->selectable and $self->values_as_labels and scalar @{$$self{'_all_values'};} == 1
315 0 0 0 defined $self->default or not $self->selectable