Branch Coverage

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


line true false branch
16 0 1 unless $arg and keys %$arg == 1 and exists $$arg{'fields'}
29 0 3 unless $$spec{'sources'} and ref $$spec{'sources'} eq 'ARRAY'
32 0 3 if $$spec{'filter'} and ref $$spec{'filter'} ne 'CODE'
35 0 3 if $$spec{'check'} and ref $$spec{'check'} ne 'CODE'
38 0 3 if $$spec{'store'} and ref $$spec{'store'} ne 'CODE'
41 0 3 if (ref $$spec{'default'} || 'CODE') ne 'CODE'
52 1 1 ref $$arg{'no_default_for'} ? :
2 2 !$$arg{'no_default_for'} ? :
67 4 8 if (ref $sources[0])
77 17 6 unless defined $value
78 1 5 if ($filter)
79 6 0 if ($checker)
82 4 1 if ($storer)
97 2 5 $no_default_for{$field_name} ? :
98 0 7 ref $default ? :