Branch Coverage

blib/lib/MooX/Types/MooseLike.pm
Criterion Covered Total %
branch 25 32 78.1


line true false branch
41 3 254 if (my $subtype_of = $$type_definition{'subtype_of'})
42 1 2 unless (ref $subtype_of)
55 2 7 unless eval { do { &$subtype_of($value); 1 } }
57 7 0 if ($base_test)
58 2 5 unless &$base_test($value)
65 138 101 if &$test(@_)
70 81 176 if (ref $$type_definition{'inflate'}) { }
11 165 elsif (exists $$type_definition{'inflate'} and not $$type_definition{'inflate'}) { }
77 0 165 defined $moose_namespace ? :
83 0 0 if $moose_namespace
92 38 44 if (ref $_[0] eq 'ARRAY') { }
98 54 46 if (my $parameterizer = $$type_definition{'parameterizable'}) { }
101 0 54 if (my $culprit = first(sub { ref $_ ne 'CODE'; } , @params))
126 33 5 if (ref $$type_definition{'inflate'})
146 70 11 defined $attribute_value ? :
152 0 0 if (my $inflator = $Moo::HandleMoose::TYPE_MAP{$coderef})