Branch Coverage

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


line true false branch
50 166 380 if ($ClearPress::decorator::ARRAY_FIELDS->{$field}) { }
52 4 162 unless (ref $val)
56 142 24 if ($ClearPress::decorator::ARRAY_FIELDS->{$field} == $PROCESS_COMMA_YES) { }
76 14 18 unless ($ref)
92 0 15 if (scalar @cookies)
96 15 0 unless $self->{'cookie'}
109 0 8 if ($self->style)
137 0 8 scalar $self->onload ? :
138 0 8 scalar $self->onunload ? :
139 0 8 scalar $self->onresize ? :
146 0 8 scalar $self->meta_cookie ? :
0 8 $self->meta_refresh ? :
0 8 $self->meta_expires ? :
166 1 11 if ($cgi) { }
9 2 elsif (not $self->{'cgi'}) { }