Branch Coverage

bin/af
Criterion Covered Total %
branch 45 64 70.3


line true false branch
39 0 4 unless (-d $self->local)
50 1 3 if $@
52 1 3 unless (defined $build->install_prop->{'download'} and length $build->install_prop->{'download'})
61 2 1 if (-f $download) { }
1 0 elsif (-d $download) { }
64 0 2 unless $download->copy($to)
71 0 1 unless File::Copy::Recursive::dircopy("$download", "$to")
370 1 4 if ($self->phase eq 'all') { }
415 0 5 if ($self->plugin)
440 0 5 if ($self->precompile)
447 0 0 if ($line =~ /^\s*use\s+([A-Za-z_0-9]+(::[A-Za-z_0-9]+)*)/u)
451 0 0 if ($@)
463 1 4 if ($self->phase eq 'all') { }
487 0 0 if $version
489 7 0 if $@
525 0 8 unless ($self->class)
531 0 8 $self->class =~ /::/u ? :
538 0 8 unless ($class->can('runtime_prop'))
546 0 8 unless ($prop)
554 2 6 if ($self->cflags)
556 1 1 if ($self->static) { }
567 2 6 if ($self->libs)
569 1 1 if ($self->static) { }
580 1 7 if ($self->bin_dir)
586 1 7 if ($self->modversion)
592 2 6 unless ($found)
624 1 1 if $self->long
630 20 2 unless -d $dist_root
634 0 2 unless -f $dist_dir->child('_alien/alien.json')
639 1 1 unless ($table)
650 0 1 if ($@) { }
665 1 1 if defined $table