lib/HTML/FormWidgets.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 13 | 53 | 24.5 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
372 | 0 | 0 | 3 | $js_class and $id |
0 | 0 | 3 | $js_class and $id and $config | |
401 | 0 | 0 | 4 | defined $args and ref $args eq 'HASH' |
427 | 0 | 1 | 0 | $rest[0] && ref $rest[0] eq 'ARRAY' |
479 | 0 | 0 | 0 | $self->id and $args->{'for'} = $self->id |
525 | 0 | 1 | 0 | not $args[0] =~ / \A http[s]?: /mx and defined $self->options->{'uri_for'} |
line | l | !l | condition |
---|---|---|---|
312 | 0 | 0 | $options //= {} |
314 | 0 | 0 | delete $options->{'data'} // [] |
319 | 0 | 0 | $options->{'iterator'} //= sub { |
360 | 1 | 0 | $self->options->{'list_key'} // 'items' |
361 | 1 | 0 | $self->options->{'hidden'} // {} |
0 | 1 | $hidden->{$key} //= [] | |
376 | 13 | 1 | $v || 'null' |
381 | 3 | 0 | $self->options->{'literal_js'} //= [] |
389 | 1 | 0 | $self->options->{'optional_js'} //= [] |
471 | 0 | 0 | $args->{'id'} || '*unknown id*' |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
315 | 0 | 0 | 0 | $options->{'list_key'} //= $OPTIONS->{'list_key'} |
316 | 0 | 0 | 0 | $options->{'content_type'} //= $OPTIONS->{'content_type'} |
318 | 0 | 0 | 0 | $options->{'hacc'} //= 'HTML::Accessors'->new('content_type', $type) |
340 | 0 | 27 | 0 | &blessed($self) || $self |
435 | 0 | 0 | 0 | $self->text || $NUL |