Condition Coverage

blib/lib/App/Rakubrew/VersionHandling.pm
Criterion Covered Total %
condition 15 105 14.2


and 3 conditions

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

or 2 conditions

line l !l condition
152 0 6 shift() // ""
236 18 0 shift() || 0
252 0 0 shift() // "moar"
394 0 0 shift() // 0
417 1 2 scalar shift() || undef
418 0 3 shift() || undef

or 3 conditions

line l !l&&r !l&&!r condition
46 0 0 6 defined $ENV{$App::Rakubrew::VersionHandling::env_var} or defined $ENV{'PL6ENV_VERSION'}
47 0 0 0 env($App::Rakubrew::VersionHandling::env_var) // env("PL6ENV_VERSION")
241 18 0 0 $version_path or $no_error
248 0 0 0 _which("raku", $version) // which("perl6", $version)
423 1 2 0 $program // ()
1 2 0 $program // ()