Branch Coverage

blib/lib/Grid/Layout.pm
Criterion Covered Total %
branch 23 36 63.8


line true false branch
129 2 16 unless @{$self->{$V_or_H}{'tracks'};}
179 0 6 unless $track_v_from->isa('Grid::Layout::Track')
180 0 6 unless $track_v_to->isa('Grid::Layout::Track')
181 0 6 unless $track_h_from->isa('Grid::Layout::Track')
182 0 6 unless $track_h_to->isa('Grid::Layout::Track')
184 0 6 unless $track_v_from->{'V_or_H'} eq 'V'
185 0 6 unless $track_v_to->{'V_or_H'} eq 'V'
186 0 6 unless $track_h_from->{'V_or_H'} eq 'H'
187 0 6 unless $track_h_to->{'V_or_H'} eq 'H'
191 1 28 if ($self->cell($x, $y)->{'area'})
282 16 187 unless ($x =~ /^\d+$/)
283 16 0 if ($x->isa('Grid::Layout::Track')) { }
284 0 16 unless $x->{'V_or_H'} eq 'V'
291 16 187 unless ($y =~ /^\d+$/)
292 16 0 if ($y->isa('Grid::Layout::Track')) { }
293 0 16 unless $y->{'V_or_H'} eq 'H'
385 4 14 if $V_or_H eq 'V'
386 14 0 if $V_or_H eq 'H'