Condition Coverage

blib/lib/DBIx/DataAudit.pm
Criterion Covered Total %
condition 2 40 5.0


and 3 conditions

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

or 2 conditions

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

Data audit of table '[% table %]'

\n\n\n[% FOR h IN headings %][%END%]\n\n\n[% FOR r IN rows %]\n[% FOR v IN r %][%END%]\n[% END %]\n\n
[%h%]
[%v FILTER html_entity%]
\n\n]
444 0 0 $DBIx::DataAudit::sql_type_map{$sqltype} || 'any'
505 36 0 $DBIx::DataAudit::trait_type{$trait}[0] || ''

or 3 conditions

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