| blib/lib/DBICx/Shortcuts.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| branch | 11 | 20 | 55.0 |
| line | true | false | branch |
|---|---|---|---|
| 14 | 1 | 3 | if $@ |
| 20 | 3 | 9 | if exists $$info{'skip_shortcut'} and $$info{'skip_shortcut'} |
| 23 | 6 | 3 | if (exists $$info{'shortcut'}) { } |
| 25 | 3 | 3 | unless defined $method |
| 34 | 1 | 5 | if $class->can($method) |
| 42 | 0 | 0 | unless @_ |
| 45 | 0 | 0 | if defined $_[0] and not ref $_[0] |
| 49 | 0 | 0 | if defined $_[0] and ref $_[0] eq 'SCALAR' |
| 71 | 1 | 0 | unless exists $schemas{$class} |
| 76 | 0 | 0 | if $schema |