Branch Coverage

blib/lib/MouseX/Params/Validate.pm
Criterion Covered Total %
branch 0 64 0.0


line true false branch
143 0 0 if (exists $CACHED_SPECS{$cache_key}) { }
145 0 0 unless ref $CACHED_SPECS{$cache_key} eq 'HASH'
152 0 0 delete $spec{'MX_PARAMS_VALIDATE_NO_CACHE'} ? :
155 0 0 if $should_cache
159 0 0 if &blessed($args->[0])
164 0 0 @$args == 1 && ref $args->[0] && &reftype($args->[0]) eq 'HASH' ? :
167 0 0 if $spec{$_}{'coerce'}
176 0 0 defined $instance ? :
219 0 0 if (exists $CACHED_SPECS{$cache_key}) { }
221 0 0 unless ref $CACHED_SPECS{$cache_key} eq 'ARRAY'
229 0 0 delete $spec{'MX_PARAMS_VALIDATE_NO_CACHE'} ? :
232 0 0 if $should_cache
236 0 0 if &blessed($args->[0])
241 0 0 @$args == 1 && ref $args->[0] && &reftype($args->[0]) eq 'HASH' ? :
244 0 0 if $spec{$_}{'coerce'}
255 0 0 defined $instance ? :
306 0 0 if (exists $CACHED_SPECS{$cache_key}) { }
308 0 0 unless ref $CACHED_SPECS{$cache_key} eq 'ARRAY'
315 0 0 exists $extra{'MX_PARAMS_VALIDATE_NO_CACHE'} ? :
317 0 0 if $should_cache
322 0 0 if $pv_spec[$_]
338 0 0 if (exists $spec->{'MX_PARAMS_VALIDATE_CACHE_KEY'}) { }
354 0 0 if exists $spec->{'optional'}
356 0 0 if exists $spec->{'default'}
358 0 0 if exists $spec->{'coerce'}
360 0 0 if exists $spec->{'depends'}
363 0 0 if (defined $spec->{'isa'}) { }
0 0 elsif (defined $spec->{'does'}) { }
377 0 0 if exists $spec->{'callbacks'}
379 0 0 if ($constraint)
387 0 0 unless $pv_spec{'constraint'} and $pv_spec{'constraint'}->has_coercion
396 0 0 if defined $maybe_tc and &blessed($maybe_tc) and $maybe_tc->isa('Mouse::Meta::TypeConstraint')