Condition Coverage

blib/lib/App/SmokeBrew/Tools.pm
Criterion Covered Total %
condition 25 36 69.4


and 2 conditions

line l !l condition
27 1 0 $mirrors and ref $mirrors eq "ARRAY" and scalar @{$mirrors;}

and 3 conditions

line !l l&&!r l&&r condition
27 1 0 0 $mirrors and ref $mirrors eq "ARRAY"
56 0 0 1 exists $ENV{'PERL5_SMOKEBREW_DIR'} and defined $ENV{'PERL5_SMOKEBREW_DIR'}
62 0 0 0 defined $ENV{$env} and length $ENV{$env}
72 1 6 1 $type and $type eq "latest"
86 1 1 5 $type and $type =~ /^(rel|dev|recent|modern)$/i
93 184 920 184 $type and $type eq "rel"
184 736 184 $type and $type eq "dev"
184 368 368 $type and $type eq "recent"
184 184 184 $type and $type eq "modern"
109 10 0 60 _is_rel($_) and not _is_ancient($_)

or 2 conditions

line l !l condition
24 1 0 shift() || (return)
44 1 0 shift() || (return)