|  line  | 
 true  | 
 false  | 
 branch  | 
 
| 
150
 | 
 0  | 
 1060  | 
 unless $key  | 
 
| 
153
 | 
 0  | 
 1060  | 
 unless $supported{$key}  | 
 
| 
154
 | 
 3  | 
 1057  | 
 if (defined $value)  | 
 
| 
172
 | 
 0  | 
 581  | 
 unless $field and $option  | 
 
| 
175
 | 
 3  | 
 10  | 
 if ($hash and ref $hash eq 'HASH' and exists $hash->{$option})  | 
 
| 
399
 | 
 33  | 
 19  | 
 if (@_ == 1) { }  | 
 
| 
402
 | 
 0  | 
 33  | 
 unless ref $arrayref eq 'ARRAY'  | 
 
| 
406
 | 
 246  | 
 0  | 
 if (exists $field->{'validator'} and $field->{'validator'})  | 
 
| 
407
 | 
 5  | 
 241  | 
 if ($field->{'validator'} eq 'Group')  | 
 
| 
413
 | 
 1  | 
 242  | 
 unless $fieldname  | 
 
| 
421
 | 
 3  | 
 59  | 
 if (ref $v and ref $v eq 'HASH' and exists $v->{'validator'} and $v->{'validator'} eq 'Group')  | 
 
| 
436
 | 
 1  | 
 7  | 
 unless $g->{'name'}  | 
 
| 
437
 | 
 1  | 
 6  | 
 unless $g->{'fields'}  | 
 
| 
441
 | 
 1  | 
 11  | 
 unless $obj  | 
 
| 
445
 | 
 0  | 
 5  | 
 unless @gfields  | 
 
| 
456
 | 
 12  | 
 4  | 
 if $skip{$method}  | 
 
| 
510
 | 
 1  | 
 1440  | 
 unless ($field)  | 
 
| 
515
 | 
 1  | 
 0  | 
 unless $field  | 
 
| 
518
 | 
 319  | 
 1121  | 
 if ($args)  | 
 
| 
519
 | 
 1  | 
 318  | 
 unless (ref $field eq '')  | 
 
| 
524
 | 
 6  | 
 312  | 
 unless (ref $args)  | 
 
| 
528
 | 
 316  | 
 2  | 
 if (ref $args eq 'HASH') { }  | 
 
| 
532
 | 
 1  | 
 311  | 
 if ($self->_fields->{$field})  | 
 
| 
549
 | 
 311  | 
 70  | 
 if ($field)  | 
 
| 
581
 | 
 0  | 
 11  | 
 unless $name and not ref $name  | 
 
| 
582
 | 
 8  | 
 3  | 
 if (@objects)  | 
 
| 
586
 | 
 6  | 
 10  | 
 unless (ref $field)  | 
 
| 
590
 | 
 0  | 
 16  | 
 unless $obj  | 
 
| 
602
 | 
 3  | 
 0  | 
 if ($g->name eq $name)  | 
 
| 
622
 | 
 0  | 
 69  | 
 unless $hash and ref $hash eq 'HASH'  | 
 
| 
638
 | 
 220  | 
 137  | 
 if (exists $status{$field}) { }  | 
 
| 
644
 | 
 219  | 
 1  | 
 if ($self->option_for_field('stripwhite', $field))  | 
 
| 
647
 | 
 4  | 
 216  | 
 if ($self->option_for_field('collapse_whitespace', $field))  | 
 
| 
657
 | 
 3  | 
 134  | 
 if ($missingopt eq 'undefine') { }  | 
 
| 
 | 
 3  | 
 131  | 
 elsif ($missingopt eq 'empty') { }  | 
 
| 
670
 | 
 0  | 
 202  | 
 if (not defined $value or ref $value eq '' and $value eq '' or ref $value eq 'HASH' and not %$value or ref $value eq 'ARRAY' and not @$value)  | 
 
| 
675
 | 
 23  | 
 132  | 
 if ($self->field_is_required($field))  | 
 
| 
686
 | 
 23  | 
 179  | 
 unless ($obj->is_valid($value))  | 
 
| 
695
 | 
 36  | 
 33  | 
 unless ($self->errors)  | 
 
| 
697
 | 
 6  | 
 8  | 
 unless ($group->is_valid)  | 
 
| 
705
 | 
 5  | 
 64  | 
 if (keys %status)  | 
 
| 
707
 | 
 1  | 
 4  | 
 if ($unknown eq 'pass') { }  | 
 
| 
 | 
 1  | 
 3  | 
 elsif ($unknown eq 'fail') { }  | 
 
| 
718
 | 
 39  | 
 29  | 
 if ($self->errors)  | 
 
| 
754
 | 
 52  | 
 177  | 
 if ($error and $field)  | 
 
| 
759
 | 
 158  | 
 71  | 
 if ($self->errors_iterator->count)  | 
 
| 
886
 | 
 1  | 
 23  | 
 wantarray ? :  | 
 
| 
897
 | 
 52  | 
 0  | 
 unless exists $errors{$f}  | 
 
| 
919
 | 
 0  | 
 159  | 
 unless defined $field  | 
 
| 
920
 | 
 1  | 
 158  | 
 if $self->option('requireall')  | 
 
| 
931
 | 
 5  | 
 309  | 
 if ($type eq 'CODE') { }  | 
 
| 
936
 | 
 225  | 
 84  | 
 if ($type eq '') { }  | 
 
| 
 | 
 84  | 
 0  | 
 elsif ($type eq 'HASH') { }  | 
 
| 
938
 | 
 0  | 
 225  | 
 if $module eq 'Group'  | 
 
| 
945
 | 
 0  | 
 84  | 
 unless $class  | 
 
| 
946
 | 
 60  | 
 24  | 
 unless ($validator->{'absolute'})  | 
 
| 
947
 | 
 0  | 
 60  | 
 if $class eq 'Group'  | 
 
| 
964
 | 
 6  | 
 306  | 
 if ($params->{'options'})  | 
 
| 
967
 | 
 141  | 
 171  | 
 if ($self->option('requireall') or $params->{'required'})  | 
 
| 
975
 | 
 0  | 
 219  | 
 unless defined $string  | 
 
| 
976
 | 
 0  | 
 219  | 
 unless ref $string eq ''  | 
 
| 
977
 | 
 12  | 
 207  | 
 if $string eq ''  | 
 
| 
985
 | 
 0  | 
 4  | 
 unless defined $string  | 
 
| 
986
 | 
 0  | 
 4  | 
 unless ref $string eq ''  | 
 
| 
1002
 | 
 2  | 
 664  | 
 unless ($valid{$k})  |