Branch Coverage

blib/lib/Data/Cube.pm
Criterion Covered Total %
branch 34 50 68.0


line true false branch
49 7 105 if (looks_like_number $a and looks_like_number $b) { }
0 105 elsif (looks_like_number $a) { }
50 5 2 if $a == $b
52 0 0 if $a == $b
54 40 65 if $a eq $b
65 0 91 if ref $cond ne 'HASH'
66 0 91 if ref $record ne 'HASH'
69 0 102 unless exists $$record{$key}
71 1 101 if (ref $val eq 'CODE') { }
1 100 elsif (ref $val eq 'ARRAY') { }
72 0 1 unless &$val($$record{$key})
74 0 1 unless $$val[0] <= $$record{$key} and $$record{$key} <= $$val[1]
76 62 38 unless $self->is_same($val, $$record{$key})
90 5 2 if (scalar @data == 1 and ref $data[0] eq 'ARRAY')
122 1 2 unless $dim
126 0 86 unless exists $$record{$dim}
127 8 78 unless $components{$$record{$dim}}
147 1 1 if ($self->is_same($dim, $rmdim))
169 1 3 if ($rule and ref $rule eq 'CODE')
201 2 0 if ($$self{'hiers'}{$dim})
204 2 2 if ($self->is_same($cdim, $dim))
220 0 1 if ($$self{'invHiers'}{$dim})
223 0 0 if ($self->is_same($cdim, $dim))
240 1 0 if ($slicedDice)
287 0 0 if ($d =~ m[^(\d+)/(\d+)/(\d+)])