Branch Coverage

blib/lib/Types/Algebraic.pm
Criterion Covered Total %
branch 24 34 70.5


line true false branch
54 45 29 unless ref $x and (ref $x // '') eq (ref $y // '')
55 5 24 unless $x->tag eq $y->tag
56 0 22 $type eq '==' ? :
78 173 265 if ($pattern->{'type'} eq 'variable')
82 0 265 unless $value and &blessed($value) and $value->isa('Types::Algebraic::ADT')
84 98 167 unless $pattern->{'constructor'} eq $value->tag
89 44 215 unless $rv
102 0 39 unless $info
106 0 39 unless $info->{'arg_count'} == $arity
129 21 8 if ($segment =~ /^\$/u) { }
2 6 elsif ($segment =~ /^\(/u) { }
157 0 13 unless $$doc_src =~ s/
175 0 35 unless $$doc_src =~ s/
193 4 31 if ($default) { }
210 0 13 unless $$doc_src =~ s/
232 11 0 if (((caller 0)[3] // '') =~ /\b(?:un)?import\Z/u)
300 0 0 if (((caller 0)[3] // '') =~ /\b(?:un)?import\Z/u)