blib/lib/Test/Alien/Build.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 38 | 67 | 56.7 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
114 | 161 | 0 | 240 | defined $build_root and -d $build_root |
128 | 2 | 159 | 1 | @_ == 1 and not defined $_[0] |
2 | 158 | 1 | @_ == 1 and eval { do { $_[0]->isa("Alien::Build") } } | |
198 | 0 | 0 | 38 | defined $type and $type =~ /^(system|share)$/ |
351 | 28 | 1 | 0 | defined $_[0] && ref $_[0] eq 'HASH' |
469 | 0 | 0 | 0 | defined $out and $out ne "" |
475 | 0 | 2 | 1 | defined $out and $out ne "" |
537 | 1 | 0 | 16 | $build_alienfile and $build_root |
1 | 1 | 15 | $build_alienfile and $build_root and not defined $build | |
568 | 3 | 0 | 14 | $ok and $build |
line | l | !l | condition |
---|---|---|---|
237 | 0 | 4 | $name ||= "alien download" |
356 | 1 | 28 | $name ||= "alien builds okay" |
452 | 0 | 3 | $name ||= "run clean_install" |
496 | 0 | 18 | $name ||= "alien checkpoint ok" |
533 | 0 | 17 | $name ||= "alien resume ok" |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
59 | 827 | 295 | 0 | $root ||= "Path::Tiny"->new($temp) |
89 | 0 | 295 | 0 | $args{'stage'} ||= &$get_temp_root("stage")->stringify |
90 | 0 | 295 | 0 | $args{'prefix'} ||= &$get_temp_root("prefix")->stringify |
91 | 0 | 295 | 0 | $args{'root'} ||= &$get_temp_root("root")->stringify |
176 | 1 | 9 | 0 | $phase ||= $build->install_type |
199 | 4 | 34 | 0 | $name ||= "alien install type is $type" |
263 | 0 | 3 | 0 | -d $file or -f $file |
296 | 0 | 6 | 0 | $name ||= $archive ? "alien extraction of $archive" : "alien extraction" |
585 | 0 | 1 | 0 | $alien_rc_root ||= "Alien::Build::Temp"->newdir |