Condition Coverage

blib/lib/DBIx/RunSQL.pm
Criterion Covered Total %
condition 9 38 23.6


and 3 conditions

line !l l&&!r l&&r condition
308 0 0 0 defined $sth->{'NUM_OF_FIELDS'} and 0 < $sth->{'NUM_OF_FIELDS'}
432 0 0 0 $no_header_when_empty and not @$res
452 0 0 0 not $class->isa("Text::Table") and my $table = $class->can("table")
586 2 0 2 $sql and not -f $sql

or 2 conditions

line l !l condition
102 0 0 $args{'sql'} ||= "sql/create.sql"
104 0 0 $args{'options'} ||= {}
283 0 0 $args{'verbose_fh'} //= \*STDOUT
409 0 0 $options{'null'} // ""

or 3 conditions

line l !l&&r !l&&!r condition
416 0 0 0 exists $options{'header'} || $options{'header'}
444 0 0 0 $class->can("table") or $class->can("new")
532 0 0 0 not defined $next or $next =~ /END$/iu
585 1 1 2 $sql ||= join(" ", @$argv)
590 2 0 2 $sql or @$argv
625 1 3 0 $opts->{'dsn'} ||= sprintf('dbi:SQLite:dbname=db/%s.sqlite', $appname)