lib/CGI/ValidOp.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 33 | 38 | 86.8 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
295 | 124 | 3 | 1 | $self->return_only_received and not grep(/^$name$/, @vars) |
358 | 1 | 12 | 32 | $alias and $self->ops |
363 | 19 | 13 | 12 | ref $self->ops->{$_}{-'alias'} eq 'ARRAY' and grep /^$alias$/, @{$self->ops->{$_}{-'alias'};} |
373 | 26 | 6 | 35 | $$self{'_vars'} and $$self{'_vars'}{$self->runmode_name} |
380 | 12 | 6 | 17 | $self->ops and grep /^$op_name$/i, keys %{$self->ops;} |
394 | 675 | 2 | 3 | $op_name and not $op_name =~ /^\w+$/ |
430 | 81 | 20 | 8 | not $param and $checks |
line | l | !l | condition |
---|---|---|---|
230 | 14 | 0 | $$self{'_objects'} ||= {} |
269 | 0 | 3 | $$self{'_objects'} ||= {} |
310 | 6 | 0 | $$self{'_objects'} ||= {} |
318 | 0 | 0 | $$self{'_objects'}{$key}->objects || [] |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
58 | 7 | 3 | 19 | $self->on_error_return_encoded or $self->on_error_return_tainted |
61 | 21 | 5 | 3 | $self->on_error_return_undef or $self->on_error_return_encoded |
212 | 7 | 7 | 139 | /\[/ or /^object--/ |