blib/lib/Mojolicious/Plugin/DBViewer.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
branch | 13 | 16 | 81.2 |
line | true | false | branch |
---|---|---|---|
24 | 6 | 2 | unless defined $prefix |
27 | 1 | 7 | $prefix eq '' ? : |
41 | 7 | 1 | if (ref $conf->{'connector_get'} eq 'SCALAR') |
50 | 167 | 146 | ($name || '') =~ /^[a-zA-Z0-9_\.]+$/ ? : |
59 | 0 | 8 | if ($driver eq 'mysql') { } |
8 | 0 | elsif ($driver eq 'sqlite') { } | |
83 | 7 | 1 | unless defined $r |
99 | 0 | 8 | if ($driver eq 'mysql') |