Branch Coverage

blib/lib/HTML/FormStructure/Query.pm
Criterion Covered Total %
branch 16 48 33.3


line true false branch
10 10 0 defined $$opt{'query_accessors'} ? :
39 24 25 unless defined $self->$meth
40 25 0 defined $self->$meth ? :
48 11 3 unless defined $self->$meth
50 1 2 if (ref $self->$meth eq 'ARRAY') { }
52 1 2 if $arg eq $_
56 1 1 if $arg eq $self->$meth
75 0 0 if ($self->column == 1) { }
107 7 7 defined $self->$key ? :
108 0 14 if ($left) { }
109 0 0 if (ref $stored) { }
110 0 0 if ref $stored eq 'ARRAY'
117 0 14 if (ref $stored) { }
118 0 0 if ref $stored eq 'ARRAY'
132 0 0 if ($self->type =~ /^(?:text|password|file|hidden)$/i) { }
0 0 elsif ($self->type =~ /radio|checkbox/i) { }
0 0 elsif ($self->type =~ /select/i) { }
0 0 elsif ($self->type =~ /textarea/i) { }
161 0 0 unless ref $self->value eq 'ARRAY'
163 0 0 $self->is_selected($val) ? :
173 0 0 unless ref $self->value eq 'ARRAY'
175 0 0 $self->is_checked($val) ? :
199 0 0 $self->tag_val_label ne '' ? :
200 0 0 defined $$label{$key} ? :