blib/lib/CGI/Ex/Fill.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 53 | 66 | 80.3 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
122 | 0 | 87 | 51 | $_[0] && $_[0] eq 'all' |
123 | 0 | 0 | 138 | defined $key and length $key |
131 | 1 | 21 | 118 | UNIVERSAL::isa($form, "HASH") and defined $form->{$key} |
188 | 2 | 2 | 115 | $name and not $ignore->{$name} |
189 | 7 | 24 | 59 | $type ne "PASSWORD" and $type ne "CHECKBOX" |
31 | 11 | 48 | $type ne "PASSWORD" and $type ne "CHECKBOX" and $type ne "RADIO" | |
35 | 2 | 5 | $type eq "PASSWORD" and $fill_password | |
230 | 1 | 17 | 0 | defined $close[$i] and $close[$i] < $start[$i] |
249 | 1 | 0 | 17 | defined $name and length $name |
284 | 1 | 8 | 0 | defined $close[$i] and $close[$i] < $start[$i] |
303 | 0 | 0 | 9 | $name and not $ignore->{$name} |
340 | 299 | 0 | 31 | $_[0] && $_[0] eq 'all' |
383 | 7 | 126 | 48 | defined $3 and lc $3 eq $key |
126 | 1 | 6 | defined $6 and lc $6 eq $key |
line | l | !l | condition |
---|---|---|---|
53 | 3 | 65 | shift() || {} |
165 | 9 | 7 | $indexes{$key} ||= 0 |
185 | 94 | 25 | get_tagval_by_key(\$tag, 'type') || '' |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
131 | 0 | 22 | 0 | $args->{'object_method'} || $OBJECT_METHOD |
189 | 25 | 48 | 42 | not $type or $type ne "PASSWORD" and $type ne "CHECKBOX" and $type ne "RADIO" |
48 | 5 | 37 | not $type or $type ne "PASSWORD" and $type ne "CHECKBOX" and $type ne "RADIO" or $type eq "PASSWORD" and $fill_password | |
24 | 11 | 2 | $type eq "CHECKBOX" or $type eq "RADIO" | |
233 | 0 | 1 | 9 | not defined $close[$i] or $close[$i] > $start[$i + 1] |
287 | 0 | 1 | 4 | not defined $close[$i] or $close[$i] > $start[$i + 1] |