Branch Coverage

blib/lib/DBIx/DataAudit.pm
Criterion Covered Total %
branch 4 42 9.5


line true false branch
213 0 0 unless (@{$args{'traits'};})
221 0 0 unless (@{$$self{'columns'};})
280 0 0 unless $t->process(\$template, $data, \my($result))
319 0 0 if (defined $val)
320 0 0 if (length $val > 20)
325 0 0 defined $val ? :
358 0 0 unless ($$self{'column_info'})
378 0 0 unless ($$self{'column_info'})
385 0 0 if (exists $sorted[0]{'ORDINAL_POSITION'} and defined $sorted[0]{'ORDINAL_POSITION'})
414 0 0 if ($table =~ s/^(.*)\.//)
418 0 0 unless ($sth)
419 0 0 if ($schema) { }
428 0 0 unless (@$info)
436 0 0 if (exists $$i{'pg_enum_values'} and defined $$i{'pg_enum_values'})
440 0 0 unless (exists $DBIx::DataAudit::sql_type_map{$sqltype})
472 0 0 if ($self->trait_applies($trait, $column)) { }
481 0 0 $self->where ? :
502 0 36 unless (exists $DBIx::DataAudit::trait_type{$trait})
507 12 24 if $trait_type eq 'any'
533 0 2 if ($target eq 'main' and $dsn)
536 0 0 unless (@traits)