| blib/lib/DBIx/Class/Storage/DBI/Sybase.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| branch | 1 | 20 | 5.0 |
| line | true | false | branch |
|---|---|---|---|
| 32 | 0 | 0 | if ($name) |
| 36 | 0 | 0 | if $name eq 'SQL_Server' |
| 50 | 0 | 1 | if (not $self->isa('DBIx::Class::Storage::DBI::Sybase::FreeTDS') and $self->_using_freetds) |
| 74 | 0 | 0 | unless my $dbh = $self->_dbh |
| 80 | 0 | 0 | &dbic_internal_try(sub { $dbh->do('select 1'); 1; } ) ? : |
| 91 | 0 | 0 | if ref $dsn eq 'CODE' |
| 93 | 0 | 0 | if (not $dsn =~ /maxConnect=/) |
| 97 | 0 | 0 | if $connected |
| 112 | 0 | 0 | unless ($inf || '') =~ /freetds/i |
| 113 | 0 | 0 | $inf =~ /v([0-9\.]+)/ ? : |