Branch Coverage

blib/lib/ClearPress/decorator.pm
Criterion Covered Total %
branch 21 30 70.0


line true false branch
51 166 380 if ($ClearPress::decorator::ARRAY_FIELDS->{$field}) { }
53 4 162 unless (ref $val)
57 142 24 if ($ClearPress::decorator::ARRAY_FIELDS->{$field} == $PROCESS_COMMA_YES) { }
77 14 18 unless ($ref)
93 0 15 if (scalar @cookies)
97 15 0 unless $self->{'cookie'}
110 0 8 if ($self->style)
138 0 8 scalar $self->onload ? :
139 0 8 scalar $self->onunload ? :
140 0 8 scalar $self->onresize ? :
147 0 8 scalar $self->meta_cookie ? :
0 8 $self->meta_refresh ? :
0 8 $self->meta_expires ? :
167 1 11 if ($cgi) { }
9 2 elsif (not $self->{'cgi'}) { }