Branch Coverage

blib/lib/TableData/Object/aohos.pm
Criterion Covered Total %
branch 58 66 87.8


line true false branch
18 8 6 if ($spec) { }
58 1 21 unless $row_hos
106 2 6 unless defined $row->{$col}
107 1 5 if $mem{$row->{$col}}++
124 1 8 unless exists $row->{$col}
126 3 5 if ($i == 0) { }
128 1 2 unless defined $val
130 2 3 if ($val_undef) { }
131 0 2 if defined $row->{$col}
133 0 3 unless defined $row->{$col}
134 1 2 unless $val eq $row->{$col}
147 1 3 unless defined $idx
158 2 4 if ($i > $idx) { }
3 1 elsif ($i == $idx) { }
167 3 0 if ($self->{'spec'})
170 3 3 if (not exists $self->{'cols_by_name'}{$name}) { }
185 1 3 unless defined $idx
187 0 3 unless length $new_name
188 1 2 if $new_name eq $old_name
189 1 1 if $new_name =~ /\A\d+\z/
198 1 0 if ($self->{'spec'})
208 1 3 unless defined $idx1
210 1 2 unless defined $idx2
211 1 1 if $idx1 == $idx2
225 1 0 if ($self->{'spec'})
235 1 4 if defined $self->col_name($name)
237 3 1 if (defined $idx) { }
238 2 1 unless $idx >= 0 and $idx <= $col_count
245 2 5 if $self->{'cols_by_name'}{$_} >= $idx
249 2 0 if ($self->{'spec'})
252 2 5 if defined $f->{'pos'} and $f->{'pos'} >= $idx
254 0 2 defined $spec ? :
270 1 1 unless defined $col_name