blib/lib/Data/MuForm/Renderer/Base.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 53 | 102 | 51.9 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
189 | 8 | 0 | 2 | exists $href->{$attr_key}{'class'} and ref $href->{$attr_key}{'class'} ne 'ARRAY' |
193 | 0 | 10 | 0 | $class and ref $class eq 'ARRAY' |
238 | 49 | 4 | 0 | $self->is_html5 and $rargs->{'html5_input_type'} |
319 | 0 | 20 | 0 | defined $fif and $multiple && exists $fif_lookup{$value} || $fif eq $value |
356 | 46 | 6 | 6 | $self->render_element_errors and $do_errors |
368 | 50 | 1 | 4 | $rargs->{'wrapper'} and $rargs->{'wrapper'} eq 'fieldset' |
554 | 0 | 3 | 0 | defined $fif and $multiple && exists $fif_lookup{$value} || $fif eq $value |
line | l | !l | condition |
---|---|---|---|
148 | 63 | 0 | $self->can("wrapper_$wrapper") || die("wrapper method '${wrapper}' not found") |
205 | 91 | 139 | $skip ||= [] |
309 | 14 | 6 | $rargs->{'fif'} || [] |
371 | 4 | 47 | $right_of_label ||= '' |
372 | 2 | 49 | $left_of_label ||= '' |
391 | 59 | 0 | $rargs->{'errors'} || [] |
483 | 0 | 2 | $right_of_label ||= '' |
484 | 2 | 0 | $left_of_label ||= '' |
507 | 8 | 0 | $self->can("cb_layout_$cb_layout") || die("Checkbox layout '${cb_layout}' not found") |
542 | 0 | 3 | $rargs->{'fif'} || [] |
569 | 1 | 0 | $self->can("cbgo_layout_$cbgo_layout") || die("Checkbox group option layout '${cbgo_layout}' not found") |
601 | 0 | 3 | $right_of_label ||= '' |
602 | 3 | 0 | $left_of_label ||= '' |
648 | 1 | 0 | $self->localize($rargs->{'option_label'}) || '' |
740 | 1 | 0 | $rargs->{'fif'} || [] |
742 | 1 | 0 | scalar @{$fif;} || 0 |
0 | 1 | $rargs->{'num_extra'} || 0 | |
743 | 1 | 0 | $size ||= 2 |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
94 | 0 | 0 | 0 | $rargs->{'error_tag'} || $self->error_tag |
95 | 0 | 0 | 0 | $rargs->{'error_class'} || $self->error_class |
146 | 14 | 58 | 0 | $rargs->{'wrapper'} || $self->field_wrapper |
319 | 1 | 2 | 17 | $multiple && exists $fif_lookup{$value} || $fif eq $value |
375 | 0 | 51 | 0 | $rargs->{'display_label'} || $self->localize($rargs->{'label'}) |
393 | 0 | 59 | 0 | $rargs->{'error_tag'} || $self->error_tag |
394 | 0 | 59 | 0 | $rargs->{'error_class'} || $self->error_class |
433 | 0 | 1 | 0 | $rargs->{'rdgo_layout'} || $self->rdgo_layout |
506 | 6 | 2 | 0 | $rargs->{'cb_layout'} || $self->cb_layout |
554 | 0 | 0 | 3 | $multiple && exists $fif_lookup{$value} || $fif eq $value |
568 | 0 | 1 | 0 | $rargs->{'cbgo_layout'} || $self->cbgo_layout |
661 | 3 | 39 | 0 | $rargs->{'layout'} || $self->standard_layout |
705 | 0 | 59 | 0 | $rargs->{'wrapper_attr'}{'tag'} || $self->wrapper_tag |
742 | 0 | 1 | 0 | $size ||= (scalar @{$fif;} || 0) + ($rargs->{'num_extra'} || 0) |
760 | 1 | 0 | 0 | $rargs->{'layout'} || $self->display_layout |