blib/lib/DBIx/DataAudit.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 2 | 40 | 5.0 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
385 | 0 | 0 | 0 | exists $sorted[0]{'ORDINAL_POSITION'} and defined $sorted[0]{'ORDINAL_POSITION'} |
436 | 0 | 0 | 0 | exists $$i{'pg_enum_values'} and defined $$i{'pg_enum_values'} |
533 | 0 | 2 | 0 | $target eq 'main' and $dsn |
line | l | !l | condition | ||
---|---|---|---|---|---|
212 | 0 | 0 | $args{'traits'} ||= [@DBIx::DataAudit::default_traits] | ||
220 | 0 | 0 | $$self{'columns'} ||= [$self->get_columns] | ||
261 | 0 | 0 | $template ||= qq[Data audit of table '[% table %]'\n
|
||
444 | 0 | 0 | $DBIx::DataAudit::sql_type_map{$sqltype} || 'any' | ||
505 | 36 | 0 | $DBIx::DataAudit::trait_type{$trait}[0] || '' |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
216 | 0 | 0 | 0 | $args{'dbh'} ||= 'DBI'->connect($args{'dsn'}, undef, undef, {'RaiseError', 1}) |
224 | 0 | 0 | 0 | $$self{'column_info'} ||= $self->collect_column_info |
310 | 0 | 0 | 0 | $$self{'results'} || $self->run_audit |
0 | 0 | 0 | $results ||= $$self{'results'} || $self->run_audit | |
377 | 0 | 0 | 0 | $table ||= $self->table |
412 | 0 | 0 | 0 | $table ||= $self->table |
463 | 0 | 0 | 0 | $table ||= $self->table |