Condition Coverage

blib/lib/App/Rakubrew.pm
Criterion Covered Total %
condition 0 131 0.0


and 3 conditions

line !l l&&!r l&&r condition
62 0 0 0 $prog_name ne $App::Rakubrew::brew_name and !($^O =~ /win32/i) || $prog_name =~ /^\Q$App::Rakubrew::brew_name\E\z/i
70 0 0 0 @args >= 2 and $args[0] eq "internal_shell_hook"
71 0 0 0 @args >= 2 and $args[0] eq "internal_hooked"
72 0 0 0 @args >= 2 and $args[0] eq "init"
76 0 0 0 @args >= 2 and $args[0] eq "internal_hooked"
0 0 0 @args && $args[0] eq 'mode' && $args[1] eq 'shim'
0 0 0 get_brew_mode() eq "env" and not @args && $args[0] eq 'mode' && $args[1] eq 'shim'
0 0 0 @args && $args[0] eq 'init'
0 0 0 get_brew_mode() eq "env" and not @args && $args[0] eq 'mode' && $args[1] eq 'shim' and not @args && $args[0] eq 'init'
0 0 0 @args && $args[0] eq 'home'
0 0 0 get_brew_mode() eq "env" and not @args && $args[0] eq 'mode' && $args[1] eq 'shim' and not @args && $args[0] eq 'init' and not @args && $args[0] eq 'home'
0 0 0 @args && $args[0] =~ /^internal_/
0 0 0 get_brew_mode() eq "env" and not @args && $args[0] eq 'mode' && $args[1] eq 'shim' and not @args && $args[0] eq 'init' and not @args && $args[0] eq 'home' and not @args && $args[0] =~ /^internal_/
0 0 0 @args and $args[0] eq "shell"
0 0 0 @args >= 2 and $args[0] eq "mode"
0 0 0 @args >= 2 and $args[0] eq "mode" and $args[1] eq "env"
233 0 0 0 @args and $args[0] =~ /^--configure-opts=/
241 0 0 0 $impl eq "moar-blead" and $ver eq "main"
243 0 0 0 $impl and $impl eq "all"
289 0 0 0 $name and $path
443 0 0 0 $arg eq "help" and @args

or 2 conditions

line l !l condition
96 0 0 shift @args // "help"
107 0 0 get_version() // ""
113 0 0 get_version_path($_, 1) || ''
182 0 0 get_version() // ""
183 0 0 $cur_backend //= ""
184 0 0 $cur_rakudo //= ""
316 0 0 $zef_version || 'latest'

or 3 conditions

line l !l&&r !l&&!r condition
51 0 0 0 mkdir catdir($App::Rakubrew::prefix, "bin") or _cant_access_home()
52 0 0 0 mkdir catdir($App::Rakubrew::prefix, "update") or _cant_access_home()
53 0 0 0 mkdir catdir($App::Rakubrew::prefix, "repos") or _cant_access_home()
54 0 0 0 $App::Rakubrew::shim_dir || _cant_access_home()
55 0 0 0 $App::Rakubrew::versions_dir || _cant_access_home()
56 0 0 0 $App::Rakubrew::git_reference || _cant_access_home()
62 0 0 0 !($^O =~ /win32/i) || $prog_name =~ /^\Q$App::Rakubrew::brew_name\E\z/i
76 0 0 0 get_brew_mode() eq "env" and not @args && $args[0] eq 'mode' && $args[1] eq 'shim' and not @args && $args[0] eq 'init' and not @args && $args[0] eq 'home' and not @args && $args[0] =~ /^internal_/ or @args and $args[0] eq "shell"
0 0 0 get_brew_mode() eq "env" and not @args && $args[0] eq 'mode' && $args[1] eq 'shim' and not @args && $args[0] eq 'init' and not @args && $args[0] eq 'home' and not @args && $args[0] =~ /^internal_/ or @args and $args[0] eq "shell" or @args >= 2 and $args[0] eq "mode" and $args[1] eq "env"
98 0 0 0 $arg eq "version" or $arg eq "current"
0 0 0 $arg eq "versions" or $arg eq "list"
0 0 0 $arg eq "global" or $arg eq "switch"
0 0 0 $arg eq "nuke" or $arg eq "unregister"
0 0 0 $arg eq "list-available" or $arg eq "available"
0 0 0 $arg eq "build-rakudo" or $arg eq "build"
0 0 0 $arg eq "download-rakudo" or $arg eq "download"
436 0 0 0 $_ eq "-v" or $_ eq "--verbose"
589 0 0 0 $App::Rakubrew::distro_format eq "macos" or $App::Rakubrew::distro_format eq "macos_arm"