| blib/lib/Dancer/ModuleLoader.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| branch | 11 | 22 | 50.0 |
| line | true | false | branch |
|---|---|---|---|
| 16 | 462 | 453 | wantarray ? : |
| 21 | 21 | 0 | wantarray ? : |
| 48 | 907 | defined $version ? : | |
| 21 | 934 | unless eval { do { defined $version ? &use_module($module, $version) : &use_module($module) } } | |
| 30 | 0 | 0 | wantarray ? : |
| 0 | 39 | unless $res | |
| 34 | 39 | 0 | if ($module->can("import")) |
| 41 | 0 | 0 | wantarray ? : |
| 0 | 39 | if $error | |
| 52 | 0 | 0 | wantarray ? : |
| 0 | 196 | if $error |