Branch Coverage

blib/lib/Grid/Layout/Track.pm
Criterion Covered Total %
branch 15 26 57.6


line true false branch
51 0 18 unless $grid_layout->isa('Grid::Layout')
52 0 18 unless $V_or_H eq 'V' or $V_or_H eq 'H'
53 0 18 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 88 if ($self->{'V_or_H'} eq 'V') { }
176 0 2 unless $track_from->isa('Grid::Layout::Track')
177 0 2 unless $track_to->isa('Grid::Layout::Track')
179 0 2 unless $track_from->{'V_or_H'} eq Grid::Layout::VH_opposite($self->{'V_or_H'})
180 0 2 unless $track_to->{'V_or_H'} eq Grid::Layout::VH_opposite($self->{'V_or_H'})
182 1 1 if ($self->{'V_or_H'} eq 'V') { }