| blib/lib/BackPAN/Index/Create.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| condition | 5 | 11 | 45.4 |
| line | l | !l | condition |
|---|---|---|---|
| 33 | 3 | 1 | $$argref{'releases_only'} || 0 |
| line | l | !l&&r | !l&&!r | condition |
|---|---|---|---|---|
| 22 | 0 | 0 | 4 | @_ != 1 or reftype($_[0]) ne 'HASH' |
| 26 | 4 | 0 | 0 | $$argref{'basedir'} || croak("create_backpan_index() must be given a 'basedir'\n") |
| 59 | 4 | 0 | 0 | $plugin_class->new('filehandle', $fh) || croak("failed to create instance of '${order}' plugin ($plugin_class)") |