Branch Coverage

blib/lib/HTML/FormStructure.pm
Criterion Covered Total %
branch 21 42 50.0


line true false branch
18 1 0 defined $$opt{'form_accessors'} ? :
30 1 6 if (ref $$query{'consist'} eq 'ARRAY') { }
44 1 0 if defined $r
61 27 57 if ($query->$meth)
62 27 0 if defined $query->$meth
64 72 12 unless $query->consist
66 18 18 unless $q->$meth
67 18 0 if defined $q->$meth
80 0 21 if (defined $type and $type eq 'like') { }
81 0 0 if $query->$key =~ /$val/
84 3 18 if $query->$key eq $val
87 0 9 if $q->$key eq $val
100 2 0 $target ? :
116 1 0 $target ? :
122 0 7 if (defined $query->storef) { }
142 0 0 if ($situation)
143 0 0 unless defined $_->$situation
145 0 0 if defined $_->$val
156 2 0 if (defined $query->consistf) { }
162 0 0 defined $self->r->param($q->name) ? :
166 2 0 if defined $value