Branch Coverage

blib/lib/DataCube/Schema.pm
Criterion Covered Total %
branch 3 42 7.1


line true false branch
29 4 3 unless my $parent = $hierarchy[$i]
41 0 0 length $name ? :
43 0 0 if $$self{'name'} eq 'overall'
50 0 0 if $$self{'measures'}[$i][2] or $$self{'measures'}[$i][0] eq 'key_count'
86 0 0 unless $self->has_strict_hierarchies
90 0 0 if defined $$_[0]
99 0 0 if defined $$_[0]
107 0 0 if $points and ref $points and ref($points) =~ /^hash$/i and keys %$points
126 0 3 if @measure == 1 and $measure[0] eq 'count'
149 0 0 if (@point % 2 == 0)
152 0 0 if ($point{'dims'} and ref($point{'dims'}) =~ /^array$/i)
154 0 0 if $point{'name'}
223 0 0 if defined $self->lattice_point_name
238 0 0 if ($$_[0] eq 'sum')
255 0 0 unless $self->has_asserted_lattice_points and $self->has_strict_hierarchies
264 0 0 unless exists $fields{$dim}
277 0 0 if (my $confine = $self->is_confined)
282 0 0 unless (exists $$self{'field_names'}{$_})
293 0 0 if (exists $$self{'parents'}{$parent}{$dim} and not exists $confine{$parent})
308 0 0 if (@conflicts)
314 0 0 if /^message$/i