blib/lib/Mojolicious/Plugin/DBViewer.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
branch | 14 | 18 | 77.7 |
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_\.]+$/u ? : |
59 | 0 | 8 | if ($driver eq 'mysql') { } |
8 | 0 | elsif ($driver eq 'sqlite') { } | |
83 | 8 | 0 | if ($Mojolicious::VERSION >= '8.67') { } |
92 | 7 | 1 | unless defined $r |
108 | 0 | 8 | if ($driver eq 'mysql') |