Branch Coverage

blib/lib/ODS/Table/Generate.pm
Criterion Covered Total %
branch 30 40 75.0


line true false branch
88 1 0 if $self->build_resultset_class
89 1 0 if $self->build_row_class
140 1 0 $self->table_base_class ? :
152 9 1 $columns ? :
183 1 0 if ($self->in_directory) { }
192 0 1 unless open my $fh, "<", $file
206 8 2 if (not $ref) { }
1 1 elsif ($ref eq 'HASH') { }
1 0 elsif ($ref eq 'ARRAY') { }
0 0 elsif ($ref eq 'SCALAR') { }
207 1 7 if ($key =~ /epoch|data|time/) { }
1 6 elsif ($data =~ /true|false/) { }
1 5 elsif ($data =~ /\d+\.\d+/) { }
3 2 elsif ($data =~ /\d+/) { }
1 1 elsif (valid_email($data)) { }
0 1 elsif (valid_phone($data)) { }
223 1 0 $self->build_objects ? :
251 58 10 $column_attrs ? :
45 23 (ref $defaults->{$_} || '') eq 'SCALAR' ? :
261 1 44 !!${$_[0];} ? :