Branch Coverage

blib/lib/Test2/Tools/Ref.pm
Criterion Covered Total %
branch 24 24 100.0


line true false branch
21 2 4 unless ($gottype)
27 1 3 if ($wanttype and $gottype ne $wanttype)
42 1 19 unless defined $got
43 1 19 unless defined $exp
46 2 18 if (not ref $got) { }
2 16 elsif (not ref $exp) { }
59 15 5 $bool ? :
66 1 5 unless defined $got
67 1 5 unless defined $exp
70 2 4 if (not ref $got) { }
2 2 elsif (not ref $exp) { }
83 1 5 $bool ? :