| blib/lib/XS/JIT/Header.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| condition | 26 | 64 | 40.6 |
| line | !l | l&&!r | l&&r | condition |
|---|---|---|---|---|
| 100 | 0 | 0 | 0 | $sdk_path and -d "$sdk_path/usr/include" |
| 105 | 0 | 25 | 20 | defined $_ and -d $_ |
| 156 | 0 | 0 | 0 | @args == 1 and not ref $args[0] |
| 0 | 0 | 0 | @args == 2 and ref $args[0] eq "ARRAY" | |
| 429 | 0 | 0 | 0 | $self->{'_compiled'} and not $self->{'force'} |
| 694 | 0 | 0 | 5 | $is_absolute and not length $part |
| 700 | 5 | 10 | 15 | length $path > 1 and not -d $path |
| 720 | 7 | 7 | 0 | @{$self->{'_functions'};} and not $self->{'_compiled'} |
| line | l | !l | condition |
|---|---|---|---|
| 28 | 0 | 14 | $opts{'include'} || [] |
| 0 | 14 | $opts{'define'} || {} | |
| 13 | 1 | $opts{'cache_dir'} || '_CACHED_XS' | |
| 0 | 14 | $opts{'prefix'} || '' | |
| 0 | 14 | $opts{'force'} || 0 | |
| 98 | 0 | 0 | $sdk_path //= "" |
| 136 | 13 | 0 | $self->{'header'} || '' |
| 0 | 13 | $self->{'lib'} || '' | |
| 198 | 15 | 0 | $arg_types || [] |
| 15 | 0 | $return_type || 'void' | |
| 488 | 5 | 0 | $opts{'dir'} || '.' |
| line | l | !l&&r | !l&&!r | condition |
|---|---|---|---|---|
| 28 | 13 | 1 | 0 | $opts{'package'} || caller() |
| 182 | 15 | 0 | 0 | $func_info or $arg_types |
| 187 | 0 | 15 | 0 | $arg_types //= $func_info->{'param_types'} |
| 188 | 0 | 15 | 0 | $return_type //= $func_info->{'return_type'} |
| 417 | 0 | 0 | 0 | $lib =~ m([/\\]) or $lib =~ /\.(?:so|dylib|dll|a)(?:\.\d+)*$/ |
| 489 | 1 | 4 | 0 | $opts{'package'} || $self->{'package'} |