Branch Coverage

blib/lib/Text/NSP/Measures/2D/CHI.pm
Criterion Covered Total %
branch 18 24 75.0


line true false branch
108 15 40 unless (Text::NSP::Measures::2D::computeMarginalTotals($values))
112 15 25 unless (Text::NSP::Measures::2D::computeObservedValues($values))
116 0 25 unless (Text::NSP::Measures::2D::computeExpectedValues($values))
121 25 0 if ($Text::NSP::Measures::2D::CHI::n11)
123 0 25 if ($Text::NSP::Measures::2D::CHI::m11 == 0)
130 22 3 if ($Text::NSP::Measures::2D::CHI::n12)
132 0 22 if ($Text::NSP::Measures::2D::CHI::m12 == 0)
139 24 1 if ($Text::NSP::Measures::2D::CHI::n21)
141 0 24 if ($Text::NSP::Measures::2D::CHI::m21 == 0)
148 20 5 if ($Text::NSP::Measures::2D::CHI::n22)
150 0 20 if ($Text::NSP::Measures::2D::CHI::m22 == 0)
180 23 5 if ($m) { }