Condition Coverage

blib/lib/Data/CGIForm.pm
Criterion Covered Total %
condition 24 49 48.9


and 3 conditions

line !l l&&!r l&&r condition
345 0 0 23 ref $params{'datasource'} and $params{'datasource'}->can('param')
349 0 0 23 ref $params{'spec'} and ref $params{'spec'} eq 'HASH'
434 0 0 70 ref $regexp and ref $regexp eq 'Regexp'
461 4 6 4 ref $filter && ref $filter eq 'ARRAY'
464 0 0 6 ref $f and ref $f eq 'CODE'
475 0 6 1 ref $extra_test && ref $extra_test eq 'ARRAY'
478 0 0 8 ref $t and ref $t eq 'CODE'
492 0 0 14 ref $errors and ref $errors eq 'HASH'
555 20 1 1 $$self{'start_param'} and not $data->param($$self{'start_param'})
590 0 1 75 defined $_ and length $_
804 0 0 0 $_[0]->started && !$_[0]->error

or 2 conditions

line l !l condition
499 25 31 delete $$errors{$type} || (next)
824 28 0 $1 || (return)

or 3 conditions

line l !l&&r !l&&!r condition
518 2 0 0 delete $$s{'equal_to'} || Carp::confess('How did we get a delayed spec with no equal_to?!')
584 0 7 9 $self->error($key) or $$spec{'optional'}
592 1 0 0 $self->error($key) or $$spec{'optional'}
766 7 0 0 $$self{'spec'}{$key}{'errors'}{$type} || $DefaultErrors{$type}