Condition Coverage

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


and 2 conditions

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

and 3 conditions

line !l l&&!r l&&r condition
28 1 0 0 $mirrors and ref $mirrors eq 'ARRAY'
57 0 0 1 exists $ENV{'PERL5_SMOKEBREW_DIR'} and defined $ENV{'PERL5_SMOKEBREW_DIR'}
63 0 0 0 defined $ENV{$env} and length $ENV{$env}
73 1 6 1 $type and $type eq 'latest'
87 1 1 5 $type and $type =~ /^(rel|dev|recent|modern)$/i
94 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'
110 10 0 60 _is_rel($_) and not _is_ancient($_)

or 2 conditions

line l !l condition
25 1 0 shift() || (return)
45 1 0 shift() || (return)