Branch Coverage

blib/lib/Math/Logic/Ternary/Expression.pm
Criterion Covered Total %
branch 48 48 100.0


line true false branch
43 1 69 unless defined $this
44 63 6 if 'Math::Logic::Ternary::Expression' eq ref $this
54 10 141 if ($vr->[1])
57 3 7 unless (defined $v)
62 52 99 $n ? :
68 4 93 if not defined $this or 'Math::Logic::Ternary::Expression' ne ref $this
76 3 7 unless defined $val
83 2 51 unless defined $this
84 41 10 if ('Math::Logic::Ternary::Expression' eq ref $this)
86 1 40 unless $vr->[1] or defined $vr->[0]
97 3 6 if defined $val and not $val
99 3 3 if $val
101 1 2 if defined $val and not $val
110 3 6 if $val
112 3 3 if defined $val
114 1 2 if $val
127 3 6 unless defined $val
129 3 3 unless $val
131 1 2 unless defined $val
132 1 1 unless $val
142 3 6 unless defined $val
144 3 3 if $val
146 1 2 unless defined $val
147 1 1 if $val