Condition Coverage

blib/lib/DBI/Format.pm
Criterion Covered Total %
condition 15 31 48.3


and 3 conditions

line !l l&&!r l&&r condition
71 20 0 2 $@ and $@ =~ /locate/
198 53 0 0 not $fh and $self->{'fh'}
225 1 18 0 $type == &SQL_INTEGER() && defined $precision && $precision > 15
19 0 0 $type == &SQL_NUMERIC() && defined $precision && $precision > 15
276 0 1 13 defined $type && ($type == &SQL_NUMERIC() || $type == &SQL_DECIMAL() || $type == &SQL_INTEGER() || $type == &SQL_SMALLINT() || $type == &SQL_FLOAT() || $type == &SQL_REAL() || $type == &SQL_TINYINT())
458 0 1 13 defined $type && ($type == &DBI::SQL_NUMERIC() || $type == &DBI::SQL_DECIMAL() || $type == &DBI::SQL_INTEGER() || $type == &DBI::SQL_SMALLINT() || $type == &DBI::SQL_FLOAT() || $type == &DBI::SQL_REAL() || $type == &DBI::SQL_TINYINT())
523 0 1 13 defined $type && ($type == &DBI::SQL_NUMERIC() || $type == &DBI::SQL_DECIMAL() || $type == &DBI::SQL_INTEGER() || $type == &DBI::SQL_SMALLINT() || $type == &DBI::SQL_FLOAT() || $type == &DBI::SQL_REAL() || $type == &DBI::SQL_TINYINT())

or 2 conditions

line l !l condition
50 792 0 $fmt{$formatters->{$abbrev}} || die()
200 53 0 $fh ||= \*STDOUT

or 3 conditions

line l !l&&r !l&&!r condition
94 0 42 0 ref $class || $class
358 0 0 0 $type == &SQL_NUMERIC() || $type == &SQL_DECIMAL() || $type == &SQL_INTEGER() || $type == &SQL_SMALLINT() || $type == &SQL_FLOAT() || $type == &SQL_REAL() || $type == &SQL_TINYINT()