Branch Coverage

blib/lib/Doit/Brew.pm
Criterion Covered Total %
branch 1 30 3.3


line true false branch
26 0 1 $self->which('brew') ? :
32 0 0 if (@missing_packages)
48 0 0 $package =~ m[.*/(.+)$] ? :
49 0 0 unless (defined $cached_cellar and -d "$cached_cellar/$formula_name")
61 0 0 if defined $ENV{'HOMEBREW_CELLAR'} and -d $ENV{'HOMEBREW_CELLAR'}
62 0 0 if defined $ENV{'HOMEBREW_PREFIX'} and -d "$ENV{'HOMEBREW_PREFIX'}/Cellar"
66 0 0 $arch eq 'arm64' ? :
68 0 0 if -d $cellar_candidate
73 0 0 if ($line =~ /^\s*HOMEBREW_PREFIX:\s*(.*)/)
75 0 0 if -d $cellar
87 0 0 if (@args and ref $args[0] eq "HASH")
89 0 0 if %options
93 0 0 if @args
95 0 0 if defined $_
115 0 0 $quiet ? :