| blib/lib/DBIx/Roles/Shared.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| branch | 12 | 18 | 66.6 |
| line | true | false | branch |
|---|---|---|---|
| 18 | 6 | 3 | if (exists $DBIx::Roles::Shared::instances{$inst_key}) { } |
| 24 | 0 | 6 | if @d == @$v |
| 26 | 6 | 0 | if $k eq $dsn_key |
| 28 | 0 | 0 | @d ? : |
| 41 | 4 | 2 | if $exception |
| 44 | 1 | 2 | if (exists $DBIx::Roles::Shared::dsns{$dsn_key}) { } |
| 50 | 0 | 2 | unless $dbh |
| 66 | 0 | 3 | if (@d == @$v) { } |
| 1 | 2 | elsif (@d) { } |