Branch Coverage

blib/lib/Data/Tabular/Cell.pm
Criterion Covered Total %
branch 9 46 19.5


line true false branch
17 0 1259 unless ref $$args{'row'}
18 0 1259 unless ref $$args{'cell'} or defined $$args{'cell'}
64 267 4 if (my $type = ref $ret) { }
65 0 267 if ($type eq 'HASH') { }
0 267 elsif ($type eq 'ARRAY') { }
70 0 267 if ($ret->can('bob')) { }
80 267 4 length $ret ? :
102 0 0 if ($colspan > 1)
106 0 0 if (my $type = ref $data)
107 0 0 if ({'HASH', 1, 'ARRAY', 1, 'CODE', 1}->{$type}) { }
112 0 0 if ($type eq 'HASH')
117 0 0 if ($data->can('attributes')) { }
127 0 0 if ($$self{'bgcolor'})
133 0 0 unless defined $$attributes{$attribute}
160 0 0 if (my $type = ref $cell)
161 0 0 if ($type eq 'HASH') { }
0 0 elsif ($type eq 'ARRAY') { }
164 0 0 if ($cell->can('type')) { }
179 0 0 if (my $type = ref $ret)
180 0 0 if ($type eq 'HASH') { }
0 0 elsif ($type eq 'ARRAY') { }
185 0 0 if ($ret->can('xls_data')) { }
207 0 0 unless $$self{'type'}