Branch Coverage

blib/lib/Grid/Layout/Track.pm
Criterion Covered Total %
branch 19 30 63.3


line true false branch
51 0 44 unless $grid_layout->isa('Grid::Layout')
52 0 44 unless $V_or_H eq 'V' or $V_or_H eq 'H'
53 0 44 unless $position =~ /^\d+$/
80 0 2 unless $self->{'V_or_H'} eq 'V'
98 0 1 unless $self->{'V_or_H'} eq 'V'
116 0 2 unless $self->{'V_or_H'} eq 'H'
134 0 1 unless $self->{'V_or_H'} eq 'H'
154 10 124 if ($self->{'V_or_H'} eq 'V') { }
192 0 4 unless $from->isa('Grid::Layout::Track') or $from->isa('Grid::Layout::Line')
193 0 4 unless $to->isa('Grid::Layout::Track') or $to->isa('Grid::Layout::Line')
198 2 2 if ($from->isa('Grid::Layout::Track')) { }
204 3 1 if ($to->isa('Grid::Layout::Track')) { }
211 0 4 unless $track_from->{'V_or_H'} eq Grid::Layout::VH_opposite($self->{'V_or_H'})
212 0 4 unless $track_to->{'V_or_H'} eq Grid::Layout::VH_opposite($self->{'V_or_H'})
214 2 2 if ($self->{'V_or_H'} eq 'V') { }