| blib/lib/DBI/Format/SQLMinus.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| condition | 17 | 50 | 34.0 |
| line | !l | l&&!r | l&&r | condition |
|---|---|---|---|---|
| 143 | 0 | 1 | 27 | exists $cf->{'on'} and $cf->{'on'} |
| 147 | 0 | 25 | 2 | exists $cf->{'noprint'} and $cf->{'noprint'} |
| 155 | 0 | 0 | 25 | exists $cf->{'format'} and defined $cf->{'format'} |
| 161 | 0 | 22 | 3 | exists $cf->{'justify'} and defined $cf->{'justify'} |
| 169 | 0 | 16 | 9 | exists $cf->{'heading'} and defined $cf->{'heading'} |
| 263 | 0 | 18 | 2 | $set->{'heading'} and not $set->{'underline'} |
| 290 | 0 | 0 | 0 | defined $set->{'heading'} and not defined $set->{'underline'} |
| 344 | 0 | 0 | 0 | defined $brk->{'last_break_point'} and $brk->{'last_break_point'} ne $row[$i] |
| 357 | 0 | 0 | 0 | defined $brk->{'last_break_point'} and $brk->{'last_break_point'} eq $row[$i] |
| 398 | 200 | 0 | 0 | defined $self->{'limit'} and $self->{'rows'} >= $self->{'limit'} |
| 402 | 200 | 0 | 0 | defined $self->{'pagesize'} and $self->{'rows'} % $self->{'pagesize'} == 0 |
| line | l | !l | condition |
|---|---|---|---|
| 178 | 0 | 26 | $cf->{'commify'} || 0 |
| 201 | 4 | 1 | $widths[$i] || 0 |
| 301 | 0 | 200 | $self->{'null'} || '' |
| 377 | 0 | 0 | $attribs->{'scale'} || 0 |
| line | l | !l&&r | !l&&!r | condition |
|---|---|---|---|---|
| 212 | 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() |
| 222 | 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() |
| 377 | 0 | 0 | 0 | $attribs->{'precision'} || $attribs->{'width'} |