Branch Coverage

blib/lib/Data/InputMonster.pm
Criterion Covered Total %
branch 22 30 73.3


line true false branch
34 0 1 unless $arg and keys %$arg == 1 and exists $arg->{'fields'}
47 0 3 unless $spec->{'sources'} and ref $spec->{'sources'} eq 'ARRAY'
50 0 3 if $spec->{'filter'} and ref $spec->{'filter'} ne 'CODE'
53 0 3 if $spec->{'check'} and ref $spec->{'check'} ne 'CODE'
56 0 3 if $spec->{'store'} and ref $spec->{'store'} ne 'CODE'
59 0 3 if (ref $spec->{'default'} || 'CODE') ne 'CODE'
84 1 1 ref $arg->{'no_default_for'} ? :
2 2 !$arg->{'no_default_for'} ? :
98 4 8 if (ref $sources[0])
108 17 6 unless defined $value
109 1 5 if ($filter)
110 6 0 if ($checker)
113 4 1 if ($storer)
128 2 5 $no_default_for{$field_name} ? :
129 0 7 ref $default ? :