Condition Coverage

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


and 3 conditions

line !l l&&!r l&&r condition
188 0 0 0 $mode ne "env" and $mode ne "shim"
252 0 0 0 @_ and not $_[0] =~ /^--/
305 0 0 0 $^O =~ /win32/i and (my_fileparse($prog))[2] eq ""
352 0 0 0 $suffix_a eq ".exe" and $suffix_b ne ".exe"
353 0 0 0 $suffix_a ne ".exe" and $suffix_b eq ".exe"
354 0 0 0 $suffix_a eq ".exe" and $suffix_b eq ".exe"
355 0 0 0 $suffix_a eq ".bat" and $suffix_b ne ".bat"
356 0 0 0 $suffix_a ne ".bat" and $suffix_b eq ".bat"
357 0 0 0 $suffix_a eq ".bat" and $suffix_b eq ".bat"
358 0 0 0 $suffix_a eq ".raku" and $suffix_b ne ".raku"
359 0 0 0 $suffix_a ne ".raku" and $suffix_b eq ".raku"
360 0 0 0 $suffix_a eq ".raku" and $suffix_b eq ".raku"
361 0 0 0 $suffix_a eq ".p6" and $suffix_b ne ".p6"
362 0 0 0 $suffix_a ne ".p6" and $suffix_b eq ".p6"
363 0 0 0 $suffix_a eq ".p6" and $suffix_b eq ".p6"
364 0 0 0 $suffix_a eq ".pl6" and $suffix_b ne ".pl6"
365 0 0 0 $suffix_a ne ".pl6" and $suffix_b eq ".pl6"
366 0 0 0 $suffix_a eq ".pl6" and $suffix_b eq ".pl6"
367 0 0 0 $suffix_a eq ".pl" and $suffix_b ne ".pl"
368 0 0 0 $suffix_a ne ".pl" and $suffix_b eq ".pl"
369 0 0 0 $suffix_a eq ".pl" and $suffix_b eq ".pl"
370 0 0 0 $suffix_a eq "" and $suffix_b ne ""
371 0 0 0 $suffix_a ne "" and $suffix_b eq ""
372 0 0 0 $suffix_a eq "" and $suffix_b eq ""
419 0 0 0 $no_error and not $version_path

or 2 conditions

line l !l condition
151 0 0 shift() // ""
235 0 0 shift() || 0
251 0 0 shift() // "moar"
393 0 0 shift() // 0
416 0 0 scalar shift() || undef
417 0 0 shift() || undef

or 3 conditions

line l !l&&r !l&&!r condition
45 0 0 0 defined $ENV{$App::Rakubrew::VersionHandling::env_var} or defined $ENV{'PL6ENV_VERSION'}
46 0 0 0 $ENV{$App::Rakubrew::VersionHandling::env_var} // $ENV{'PL6ENV_VERSION'}
240 0 0 0 $version_path or $no_error
247 0 0 0 _which("raku", $version) // which("perl6", $version)
422 0 0 0 $program // ()
0 0 0 $program // ()