Condition Coverage

blib/lib/Rose/HTML/Form/Field/Group.pm
Criterion Covered Total %
condition 30 47 63.8


and 3 conditions

line !l l&&!r l&&r condition
289 25 56 17 @_ == 1 and ref $_[0] eq "HASH"
300 25 4 52 @_ == 1 and ref $_[0] eq "ARRAY"
577 1 0 8 @_ == 1 and ref $_[0] eq "HASH"
728 0 0 8 ref $items and @$items

or 2 conditions

line l !l condition
112 14 0 $self->items || []
140 0 0 $self->items || []
159 0 0 $self->items || []
194 2 0 $self->item_group($value) || (return)
196 2 0 $self->items || []
473 91 0 $self->{'labels'} || {}
474 5 86 $self->{'label_ids'} || {}
730 2 6 delete $args{'_xhtml'} || 0
734 0 8 $args{'rows'} || $self->rows || 1
735 2 6 $args{'columns'} || $self->columns || 1

or 3 conditions

line l !l&&r !l&&!r condition
315 15 2 197 UNIVERSAL::isa($arg, $class) or UNIVERSAL::isa($arg, $group_class)
476 7 4 80 %$labels or %$label_ids
731 8 0 0 $args{'format_item'} || ($xhtml ? \&Rose::HTML::Form::Field::Group::_xhtml_item : \&Rose::HTML::Form::Field::Group::_html_item)
770 8 0 0 $tr_attrs[$tr] || $tr_attrs[-1]
778 8 2 0 $td_attrs[$td] || $td_attrs[-1]