| blib/lib/Dancer/ModuleLoader.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| branch | 11 | 22 | 50.0 |
| line | true | false | branch |
|---|---|---|---|
| 15 | 459 | 452 | wantarray ? : |
| 20 | 20 | 0 | wantarray ? : |
| 49 | 902 | defined $version ? : | |
| 20 | 931 | unless eval { do { defined $version ? &use_module($module, $version) : &use_module($module) } } | |
| 29 | 0 | 0 | wantarray ? : |
| 0 | 39 | unless $res | |
| 33 | 39 | 0 | if ($module->can("import")) |
| 40 | 0 | 0 | wantarray ? : |
| 0 | 39 | if $error | |
| 51 | 0 | 0 | wantarray ? : |
| 0 | 194 | if $error |