Condition Coverage

lib/Types/Standard/Dict.pm
Criterion Covered Total %
condition 59 80 73.7


and 3 conditions

line !l l&&!r l&&r condition
85 4 42 21 @_ && Types::TypeTiny::is_TypeTiny($_[-1]) && $_[-1]->is_strictly_a_type_of($_Slurpy)
131 2 41 21 @_ && Types::TypeTiny::is_TypeTiny($_[-1]) && $_[-1]->is_strictly_a_type_of($_Slurpy)
137 43 21 0 $slurpy and not $slurpy->can_be_inlined
141 43 18 3 $slurpy && $_hash->is_a_type_of($slurpy)
144 51 0 13 $slurpy && $slurpy->is_parameterized && ($slurpy->parent->strictly_equals($_map) && $slurpy->parameters || $slurpy->parent->strictly_equals($_hash) && [$_any, $slurpy->parameters->[0]])
210 0 8 0 @params && Types::TypeTiny::is_TypeTiny($params[-1]) && $params[-1]->is_strictly_a_type_of($_Slurpy)
229 1 11 4 $constraints{$k}->has_parent and $constraints{$k}->parent == &Types::Standard::Optional()
12 2 2 $constraints{$k}->has_parent and $constraints{$k}->parent == &Types::Standard::Optional() and not exists $value->{$k}
285 0 26 6 @_ && Types::TypeTiny::is_TypeTiny($_[-1]) && $_[-1]->is_strictly_a_type_of($_Slurpy)
298 32 21 6 $tc->has_coercion and not $tc->coercion->can_be_inlined
301 26 6 0 $slurpy and not $slurpy->can_be_inlined
302 26 2 4 $slurpy and $slurpy->has_coercion
28 3 1 $slurpy and $slurpy->has_coercion and not $slurpy->coercion->can_be_inlined
307 26 2 4 $slurpy and $slurpy->has_coercion
416 5 5 2 $is_optional{$k} and not exists $value->{$k}
442 7 27 63 @{$dict->parameters;} && Types::TypeTiny::is_TypeTiny($dict->parameters->[-1]) && $dict->parameters->[-1]->is_strictly_a_type_of($_Slurpy)
505 5 5 6 exists $params{$key} and $params{$key}->check($value)
525 0 0 8 Types::TypeTiny::is_TypeTiny($dict) and $dict->is_a_type_of(&Types::Standard::Dict())

or 2 conditions

line l !l condition
116 60 8 exists $constraints{$_} or return

or 3 conditions

line l !l&&r !l&&!r condition
69 0 0 3 ref $caller or $caller eq "-lexical"
0 0 3 ref $caller or $caller eq "-lexical" or $globals->{'lexical'}
473 6 0 26 $slurpy == &Types::Standard::Any() or $slurpy == &Types::Standard::Item()
6 0 26 $slurpy == &Types::Standard::Any() or $slurpy == &Types::Standard::Item() or $slurpy == &Types::Standard::Defined()
0 6 20 $slurpy == &Types::Standard::Any() or $slurpy == &Types::Standard::Item() or $slurpy == &Types::Standard::Defined() or $slurpy == &Types::Standard::Ref()
508 0 0 8 $slurpy == &Types::Standard::Any() or $slurpy == &Types::Standard::Item()
0 0 8 $slurpy == &Types::Standard::Any() or $slurpy == &Types::Standard::Item() or $slurpy == &Types::Standard::Defined()
0 0 8 $slurpy == &Types::Standard::Any() or $slurpy == &Types::Standard::Item() or $slurpy == &Types::Standard::Defined() or $slurpy == &Types::Standard::Ref()