Condition Coverage

blib/lib/CGI/ValidOp/Object.pm
Criterion Covered Total %
condition 27 31 87.1


and 3 conditions

line !l l&&!r l&&r condition
91 2 0 61 defined $args and ref $args eq 'HASH'
93 4 2 55 defined $$args{'name'} and exists $$args{'value'}
101 17 0 38 defined $param_name and defined $index
17 0 38 defined $param_name and defined $index and defined $key
142 2 0 10 defined $args and ref $args eq 'HASH'
169 74 4 8 scalar grep($param_name, @{$self->fields_required;}) and not scalar grep('required', @{$$object{$param_name}{'checks'};})
191 12 4 2 $self->min_objects gt $self->max_objects and $self->max_objects gt 0
211 6 8 2 $self->min_objects and $self->min_objects gt @{$$self{'_objects'};}
214 10 4 2 $self->max_objects and $self->max_objects lt @{$$self{'_objects'};}

or 2 conditions

line l !l condition
121 24 12 $$self{'_objects'}[$index] ||= {}
244 2 10 $$object{$_}->errors || []