line |
true |
false |
branch |
44
|
1 |
36 |
unless $name |
62
|
0 |
2 |
if @_ % 2 |
85
|
15 |
0 |
if defined $value |
88
|
4 |
11 |
if ($type eq 'checkbox' or $type eq 'radio') |
90
|
2 |
2 |
if not exists $options{'checked'} and defined $value and $value eq $options{'value'} |
105
|
0 |
2 |
unless defined $value |
116
|
2 |
0 |
@_ % 2 ? : |
124
|
0 |
2 |
if (defined $c->param($name)) { } |
150
|
1 |
5 |
if ref $_[-1] eq 'CODE' |
151
|
3 |
3 |
if @_ % 2 |
172
|
0 |
1 |
if ($size and $size =~ /^(\d+)[xX](\d+)$/) |
177
|
0 |
1 |
unless $self->{'value'} |
186
|
0 |
1 |
unless ref $block eq 'CODE' |
204
|
1 |
3 |
unless ref $value eq 'ARRAY' |
239
|
24 |
12 |
unless ($object) |
241
|
1 |
23 |
unless $object |
251
|
27 |
15 |
if (&Scalar::Util::blessed($object) and $object->can($accessor)) { } |
|
5 |
10 |
elsif ($isa eq 'HASH') { } |
|
8 |
2 |
elsif ($isa eq 'ARRAY') { } |
259
|
1 |
7 |
unless $accessor =~ /^\d+$/ |
287
|
0 |
7 |
unless $name |
305
|
0 |
16 |
unless $name |
310
|
1 |
15 |
if $m eq 'fields' |