Branch Coverage

blib/lib/Type/Tiny/Intersection.pm
Criterion Covered Total %
branch 36 44 81.8


line true false branch
28 0 40067 @_ == 1 ? :
31 40067 0 if (my(@makers) = map(scalar(&blessed($_) and $_->can("new_intersection")), @types))
33 1 40066 if (ref $first_maker)
35 1 0 if ($all_same)
47 40066 24 @_ == 1 ? :
49 1 40089 if exists $opts{'parent'}
52 1 40088 if exists $opts{'constraint'}
55 1 40087 if exists $opts{'inlined'}
57 1 40086 unless exists $opts{'type_constraints'}
60 15 80168 $_->isa('Type::Tiny::Intersection') ? :
65 40086 0 ref $opts{'type_constraints'} eq 'ARRAY' ? :
73 40107 40100 defined $known ? :
76 17 40069 if (@known == @constraints)
81 17 0 if $xsub
120 34 80 unless (exists $self->{'xs_sub'})
126 35 36 defined $known ? :
129 7 27 if (@known == @constraints)
139 20 94 if $Type::Tiny::AvoidCallbacks
142 14 80 if $self->{'xs_sub'}
157 0 1 unless defined $varname
159 0 1 if $self->check($value)
165 1 0 if $deep