| blib/lib/DBI/Format/SQLMinus.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| condition | 16 | 48 | 33.3 |
| line | !l | l&&!r | l&&r | condition |
|---|---|---|---|---|
| 139 | 0 | 1 | 27 | exists $cf->{'on'} and $cf->{'on'} |
| 143 | 0 | 25 | 2 | exists $cf->{'noprint'} and $cf->{'noprint'} |
| 151 | 0 | 0 | 25 | exists $cf->{'format'} and defined $cf->{'format'} |
| 157 | 0 | 22 | 3 | exists $cf->{'justify'} and defined $cf->{'justify'} |
| 165 | 0 | 16 | 9 | exists $cf->{'heading'} and defined $cf->{'heading'} |
| 259 | 0 | 18 | 2 | $set->{'heading'} and not $set->{'underline'} |
| 286 | 0 | 0 | 0 | defined $set->{'heading'} and not defined $set->{'underline'} |
| 326 | 0 | 0 | 0 | defined $brk->{'last_break_point'} and $brk->{'last_break_point'} ne $row[$i] |
| 339 | 0 | 0 | 0 | defined $brk->{'last_break_point'} and $brk->{'last_break_point'} eq $row[$i] |
| 380 | 200 | 0 | 0 | defined $self->{'limit'} and $self->{'rows'} >= $self->{'limit'} |
| 384 | 200 | 0 | 0 | defined $self->{'pagesize'} and $self->{'rows'} % $self->{'pagesize'} == 0 |
| line | l | !l | condition |
|---|---|---|---|
| 174 | 0 | 26 | $cf->{'commify'} || 0 |
| 197 | 4 | 1 | $widths[$i] || 0 |
| 359 | 0 | 0 | $attribs->{'scale'} || 0 |
| line | l | !l&&r | !l&&!r | condition |
|---|---|---|---|---|
| 208 | 0 | 0 | 0 | $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_BIGINT() || $type == &DBI::SQL_TINYINT() |
| 218 | 0 | 0 | 0 | $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_BIGINT() || $type == &DBI::SQL_TINYINT() |
| 359 | 0 | 0 | 0 | $attribs->{'precision'} || $attribs->{'width'} |