| lib/FFI/Platypus/ShareConfig.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| branch | 9 | 16 | 56.2 |
| line | true | false | branch |
|---|---|---|---|
| 19 | 587 | 587 | if (-f "File::Spec"->catfile($inc, @pm)) |
| 22 | 551 | 36 | if (-d $share) |
| 37 | 515 | 0 | unless ($config) |
| 40 | 0 | 515 | unless "File::Spec"->file_name_is_absolute($fn) |
| 42 | 0 | 515 | unless ($config = do $fn) |
| 44 | 0 | 0 | if $@ |
| 45 | 0 | 0 | if $! |
| 50 | 513 | 2 | defined $name ? : |