Branch Coverage

blib/lib/Text/Matrix.pm
Criterion Covered Total %
branch 37 46 80.4


line true false branch
30 1 70 if $opt eq 'new' or not $self->can($opt)
41 212 10 ref $self ? :
95 8 0 if (defined $mapper) { }
115 43 0 defined $spacer ? :
127 7 0 if (defined $max_width) { }
145 42 23 if $self->{'_layout'}
164 9 18 if (defined $self->{'max_width'}) { }
178 1 8 if $end_column < $start_column
211 16 23 if $self->{'_data'}
213 0 23 unless $self->{'data'}
217 3 20 if ref $data eq 'HASH'
222 5 61 if ref $row eq 'HASH'
241 6 39 if $self->{'_mapped_data'}
244 0 39 unless defined $data
245 33 6 unless $mapper = $self->{'mapper'}
269 1 21 unless $layout = $self->_layout
305 0 22 unless $layout = $self->_layout
306 0 22 unless $data = $self->_mapped_data
339 0 21 unless $layout
354 2 20 if defined $rows
355 2 20 if defined $columns
356 2 20 if defined $data
358 0 21 unless defined($head = $self->head) and defined($body = $self->body) and defined($foot = $self->foot)