blib/lib/Grid/Layout/Line.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
branch | 11 | 14 | 78.5 |
line | true | false | branch |
---|---|---|---|
57 | 0 | 54 | unless $grid_layout->isa('Grid::Layout') |
58 | 0 | 54 | unless $V_or_H eq 'V' or $V_or_H eq 'H' |
59 | 0 | 54 | unless $position =~ /^\d+$/ |
74 | 2 | 10 | unless $self->{'position'} |
83 | 3 | 10 | unless $self->{'position'} < $self->{'grid_layout'}->_size($self->{'V_or_H'}) |
93 | 4 | 14 | unless $self->{'position'} - $dist >= 0 |
103 | 4 | 14 | unless $self->{'position'} + $dist <= $self->{'grid_layout'}->_size($self->{'V_or_H'}) |