Branch Coverage

blib/lib/Statistics/Gtest.pm
Criterion Covered Total %
branch 39 60 65.0


line true false branch
17 0 10 unless ($data)
20 0 10 if (@_ eq 3)
23 10 0 if ($datahandle = _getHandle($data)) { }
58 0 3 if (@_ eq 3)
61 3 0 if ($datahandle = _getHandle($expData)) { }
63 0 3 unless (ref $row_ref)
82 0 3 if ($expectTotal != $$self{'sumtotal'})
127 0 0 if ($idx > $$self{'nrows'} - 1)
143 0 0 if ($idx > $$self{'ncols'} - 1)
201 0 17 unless (ref $row_ref)
221 0 10 if ($totalN == 0)
225 0 10 if ($totalN != $nrows * $ncols)
229 0 10 if ($ncols == 0 or $nrows == 0)
237 0 10 if ($sumtotal != $tSum)
245 0 10 if ($sumtotal != $tSum)
256 6 4 if ($ncols == 1 or $nrows == 1) { }
257 1 5 if ($ncols == 1)
261 5 1 if ($nrows == 1)
281 2 18 if ($$self{'tabletype'} == 1) { }
10 8 elsif ($$self{'tabletype'} == 2) { }
356 3 6 if $rlen eq $len
368 0 58 unless ($value =~ /^\d+\.?\d*$/)
374 0 58 if ($value < 5)
378 0 58 if ($value == 0)
399 7 6 if (ref $data) { }
400 3 4 if ($data =~ /\AARRAY/)
401 2 1 if (ref $$data[0]) { }
408 2 2 if ($data =~ /\AGLOB/)
411 2 0 if ($data =~ /\AIO::File=GLOB/) { }
420 2 4 if ($fh->open("< $data")) { }