| blib/lib/FFI/Platypus/Legacy/Raw/Callback.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| branch | 14 | 18 | 77.7 |
| line | true | false | branch |
|---|---|---|---|
| 18 | 1 | 6 | if ($ret_type eq 's') |
| 23 | 1 | 1 | if $self->{'strptr'} |
| 26 | 1 | 1 | unless defined $string |
| 31 | 3 | 4 | if ($ret_type eq 'p') |
| 37 | 1 | 2 | unless defined $ptr |
| 38 | 1 | 1 | if (ref $ptr) |
| 40 | 1 | 0 | if (eval { do { $ptr->isa('FFI::Platypus::Legacy::Raw::Ptr') } }) { } |
| 0 | 0 | elsif (eval { do { $ptr->isa('FFI::Platypus::Legacy::Raw::Callback') } }) { } | |
| 62 | 0 | 6 | if $self->{'strptr'} |