| lib/SQL/Loader.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| branch | 22 | 56 | 39.2 |
| line | true | false | branch |
|---|---|---|---|
| 38 | 1 | 4 | if ($class eq 'SQL::Loader') |
| 71 | 0 | 0 | if $print_http_headers |
| 74 | 0 | 0 | unless $content |
| 83 | 0 | 0 | unless (defined $title) |
| 90 | 0 | 0 | unless $purpose and $table |
| 93 | 0 | 0 | if ($purpose and $table) |
| 98 | 0 | 0 | if ($line =~ m[^ |
| 186 | 0 | 0 | if ($line =~ m[(\w+)\s*$]) |
| 220 | 0 | 0 | if (not @head) { } |
| 225 | 0 | 0 | unless defined $_ |
| 227 | 0 | 0 | if /^\s*$/ |
| 244 | 1 | 3 | unless $self->url |
| 245 | 1 | 2 | if ($self->print_http_headers) |
| 251 | 0 | 2 | unless $self->dbname |
| 253 | 0 | 2 | unless $self->dbuser |
| 255 | 0 | 2 | unless $self->dbpass |
| 270 | 3 | 1 | if ($initialized) |
| 283 | 1 | 6 | if ($print_http_headers) |
| 296 | 3 | 6 | if ($url) |
| 309 | 2 | 3 | if ($dbname) |
| 322 | 2 | 3 | if ($dbuser) |
| 335 | 2 | 3 | if ($dbpass) |
| 348 | 0 | 0 | unless (defined $$self{'dbh'}) |
| 367 | 0 | 2 | if ($quiet) |