line |
l |
!l&&r |
!l&&!r |
condition |
128
|
3 |
1 |
0 |
$self->{'runtime'} ||= sub {
my $ffi = 'Test2::Tools::FFI::Platypus'->new;
my(@dll) = File::Glob::bsd_glob('blib/lib/auto/share/dist/*/lib/*');
if (@dll) {
$ffi->lib(@dll);
return $ffi;
};
@dll = File::Glob::bsd_glob('share/lib/*');
if (@dll) {
$ffi->lib(@dll);
return $ffi;
};
$ffi;
}
->() |
136
|
5 |
1 |
0 |
$self->{'test'} ||= do {
my $ffi = 'Test2::Tools::FFI::Platypus'->new;
my(@lib) = FFI::CheckLib::find_lib('lib', '*', 'libpath', 't/ffi/_build', 'systempath', []);
Carp::croak('unable to find test lib in t/ffi/_build') unless @lib;
$ffi->lib(@lib);
$ffi
} |
155
|
2 |
1 |
0 |
$self->{'combined'} ||= do {
my $rt = $self->runtime;
my $t = $self->test;
my $ffi = 'Test2::Tools::FFI::Platypus'->new;
$ffi->lib($rt->lib, $t->lib);
$ffi
} |
173
|
0 |
5 |
0 |
$test_name ||= "Library has symbol: $symbol_name" |