blib/lib/Test/Alien.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 36 | 67 | 53.7 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
149 | 23 | 0 | 0 | $class->can($static) && $class->can('install_type') && $class->install_type eq 'share' && !$class->can('xs_load') |
157 | 0 | 6 | 8 | defined $_[-1] and ref $_[-1] eq "CODE" |
259 | 4 | 4 | 0 | $verbose and $err |
288 | 6 | 1 | 1 | defined $compile_options{'extra_compiler_flags'} and ref $compile_options{'extra_compiler_flags'} eq "" |
304 | 4 | 4 | 0 | $verbose and $err |
328 | 7 | 0 | 0 | defined $link_options{'extra_linker_flags'} and ref $link_options{'extra_linker_flags'} eq "" |
344 | 3 | 4 | 0 | $verbose and $err |
351 | 0 | 0 | 7 | $lib and -f $lib |
482 | 0 | 0 | 0 | defined $_[-1] and ref $_[-1] eq "CODE" |
496 | 0 | 0 | 0 | defined $opt->{'api'} and $opt->{'api'} > 0 |
504 | 0 | 0 | 0 | $ok and $opt->{'lang'} |
line | l | !l | condition |
---|---|---|---|
69 | 11 | 1 | $opt ||= {} |
159 | 3 | 11 | $message ||= "xs" |
165 | 0 | 14 | $xs->{'pxs'} ||= {} |
166 | 0 | 14 | $xs->{'cbuilder_check'} ||= "have_compiler" |
167 | 1 | 13 | $xs->{'cbuilder_config'} ||= {} |
168 | 2 | 12 | $xs->{'cbuilder_compile'} ||= {} |
169 | 0 | 14 | $xs->{'cbuilder_link'} ||= {} |
193 | 0 | 10 | $xs->{'c_ext'} ||= "c" |
196 | 4 | 6 | $xs->{'verbose'} || 0 |
485 | 0 | 0 | $message ||= "ffi" |
624 | 1 | 7 | $message ||= "template matches" |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
33 | 0 | 12 | 0 | $message ||= "$name responds to: @methods" |
81 | 3 | 3 | 0 | $message ||= "run @command" |
186 | 0 | 0 | 10 | $xs->{'cpp'} or $xs->{'C++'} |
603 | 2 | 4 | 0 | $message ||= "helper $name exists" |