| blib/lib/BackPAN/Index/Create.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| condition | 6 | 14 | 42.8 |
| line | l | !l | condition |
|---|---|---|---|
| 32 | 3 | 1 | $$argref{'releases_only'} || 0 |
| line | l | !l&&r | !l&&!r | condition |
|---|---|---|---|---|
| 21 | 0 | 0 | 4 | @_ != 1 or reftype($_[0]) ne 'HASH' |
| 25 | 4 | 0 | 0 | $$argref{'basedir'} || croak("create_backpan_index() must be given a 'basedir'\n") |
| 33 | 4 | 0 | 0 | 'Module::Loader'->new || croak("failed to instantiate Module::Loader\n") |
| 60 | 4 | 0 | 0 | $plugin_class->new('filehandle', $fh) || croak("failed to create instance of '${order}' plugin ($plugin_class)") |