Condition Coverage

blib/lib/Data/MuForm/Renderer/Base.pm
Criterion Covered Total %
condition 50 93 53.7


and 3 conditions

line !l l&&!r l&&r condition
185 8 0 2 exists $href->{$attr_key}{'class'} and ref $href->{$attr_key}{'class'} ne 'ARRAY'
189 0 10 0 $class and ref $class eq 'ARRAY'
309 0 20 0 defined $fif and $multiple && exists $fif_lookup{$value} || $fif eq $value
346 0 45 9 $self->render_element_errors and $do_errors
358 46 1 4 $rargs->{'wrapper'} and $rargs->{'wrapper'} eq 'fieldset'
542 0 3 0 defined $fif and $multiple && exists $fif_lookup{$value} || $fif eq $value

or 2 conditions

line l !l condition
144 59 0 $self->can("wrapper_$wrapper") || die("wrapper method '${wrapper}' not found")
201 80 131 $skip ||= []
301 14 6 $rargs->{'fif'} || []
361 4 43 $right_of_label ||= ''
362 2 45 $left_of_label ||= ''
381 58 0 $rargs->{'errors'} || []
471 0 2 $right_of_label ||= ''
472 2 0 $left_of_label ||= ''
495 8 0 $self->can("cb_layout_$cb_layout") || die("Checkbox layout '${cb_layout}' not found")
530 0 3 $rargs->{'fif'} || []
555 1 0 $self->can("cbgo_layout_$cbgo_layout") || die("Checkbox group option layout '${cbgo_layout}' not found")
587 0 3 $right_of_label ||= ''
588 3 0 $left_of_label ||= ''
634 1 0 $self->localize($rargs->{'option_label'}) || ''
726 1 0 $rargs->{'fif'} || []
728 1 0 scalar @{$fif;} || 0
0 1 $rargs->{'num_extra'} || 0
729 1 0 $size ||= 2

or 3 conditions

line l !l&&r !l&&!r condition
142 14 54 0 $rargs->{'wrapper'} || $self->field_wrapper
309 1 2 17 $multiple && exists $fif_lookup{$value} || $fif eq $value
365 0 47 0 $rargs->{'display_label'} || $self->localize($rargs->{'label'})
383 0 58 0 $rargs->{'error_tag'} || $self->error_tag
384 0 58 0 $rargs->{'error_class'} || $self->error_class
423 0 1 0 $rargs->{'rdgo_layout'} || $self->rdgo_layout
494 6 2 0 $rargs->{'cb_layout'} || $self->cb_layout
542 0 0 3 $multiple && exists $fif_lookup{$value} || $fif eq $value
554 0 1 0 $rargs->{'cbgo_layout'} || $self->cbgo_layout
647 3 35 0 $rargs->{'layout'} || $self->standard_layout
691 0 55 0 $rargs->{'wrapper_attr'}{'tag'} || $self->wrapper_tag
728 0 1 0 $size ||= (scalar @{$fif;} || 0) + ($rargs->{'num_extra'} || 0)
746 1 0 0 $rargs->{'layout'} || $self->display_layout