Branch Coverage

blib/lib/Method/ParamValidator/Key/Field.pm
Criterion Covered Total %
branch 9 14 64.2


line true false branch
33 8 0 if defined $_[0]
44 1 22 if ($self->has_check) { }
48 4 18 if ($self->has_source and keys %{$self->source;}) { }
10 8 elsif ($self->format eq 's') { }
8 0 elsif ($self->format eq 'd') { }
50 0 4 if (defined $separator)
53 0 0 unless exists $self->source->{uc $_}