blib/lib/HTML/FillInForm/Lite.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 20 | 28 | 71.4 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
121 | 36 | 18 | 63 | ref $self and not @_ |
245 | 2 | 9 | 11 | defined $id && $context->{'target'} eq $id |
495 | 2 | 10 | 1 | @values == 1 && !defined($values[0]) |
line | l | !l | condition |
---|---|---|---|
153 | 0 | 0 | $context{$opt} ||= {} |
278 | 14 | 45 | _get_type($tag) || 'text' |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
151 | 0 | 0 | 31 | $opt eq 'ignore_fields' or $opt eq 'disable_fields' |
190 | 18 | 34 | 0 | ref $self || $self |
214 | 0 | 6 | 2 | $is_fh or not ref $src |
286 | 1 | 4 | 45 | $type eq 'checkbox' or $type eq 'radio' |
367 | 0 | 0 | 104 | not defined $name or $context->{'ignore_fields'}{$name} |