Condition Coverage

blib/lib/App/Virtualenv.pm
Criterion Covered Total %
condition 0 96 0.0


and 3 conditions

line !l l&&!r l&&r condition
92 0 0 0 defined $virtualenvPath and length $virtualenvPath > 0
0 0 0 defined $virtualenvPath and length $virtualenvPath > 0 and -d "$virtualenvPath/lib/perl5"
174 0 0 0 defined $virtualenvPath and length $virtualenvPath > 0
225 0 0 0 defined $virtualenvPath and length $virtualenvPath > 0
0 0 0 defined $virtualenvPath and length $virtualenvPath > 0 and -d "$virtualenvPath/lib/perl5"
226 0 0 0 not defined $virtualenvPath && length $virtualenvPath > 0 && -d "$virtualenvPath/lib/perl5" || $FindBin::Bin =~ qr"^(/usr/|/bin/)" and -d "$FindBin::Bin/../lib/perl5"
229 0 0 0 defined $virtualenvPath and length $virtualenvPath > 0
0 0 0 defined $virtualenvPath and length $virtualenvPath > 0 and -d "$virtualenvPath/lib/perl5"
232 0 0 0 defined $virtualenvPath and length $virtualenvPath > 0
0 0 0 defined $virtualenvPath and length $virtualenvPath > 0 and -d "$virtualenvPath/lib/perl5"
278 0 0 0 defined $virtualenvPath and length $virtualenvPath > 0
0 0 0 defined $virtualenvPath and length $virtualenvPath > 0 and -d "$virtualenvPath/lib/perl5"
307 0 0 0 defined $params{'packages'} && @{$params{'packages'};}
395 0 0 0 defined $args->{'parameters'}[0] and length $args->{'parameters'}[0] > 0

or 3 conditions

line l !l&&r !l&&!r condition
136 0 0 0 defined $ENV{'_OLD_PERL_VIRTUAL_ENV'} or not $nondestructive
139 0 0 0 defined $ENV{'_OLD_PERL_VIRTUAL_PATH'} or not $nondestructive
142 0 0 0 defined $ENV{'_OLD_PERL_VIRTUAL_PERL5LIB'} or not $nondestructive
145 0 0 0 defined $ENV{'_OLD_PERL_VIRTUAL_PERL_LOCAL_LIB_ROOT'} or not $nondestructive
148 0 0 0 defined $ENV{'_OLD_PERL_VIRTUAL_PERL_MB_OPT'} or not $nondestructive
151 0 0 0 defined $ENV{'_OLD_PERL_VIRTUAL_PERL_MM_OPT'} or not $nondestructive
154 0 0 0 defined $ENV{'_OLD_PERL_VIRTUAL_PS1'} or not $nondestructive
226 0 0 0 defined $virtualenvPath && length $virtualenvPath > 0 && -d "$virtualenvPath/lib/perl5" || $FindBin::Bin =~ qr"^(/usr/|/bin/)"
256 0 0 0 not defined $oldVirtualenvPath or $oldVirtualenvPath ne $virtualenvPath
280 0 0 0 length $_ < 1 || substr($_, -1, 1) ne '/'
372 0 0 0 $arg =~ /^\-(h|\-help)$/ or $arg =~ /^\-(c|\-create)$/
0 0 0 $arg =~ /^\-(h|\-help)$/ or $arg =~ /^\-(c|\-create)$/ or $arg =~ /^\-(l|\-list)$/
0 0 0 $arg =~ /^\-(h|\-help)$/ or $arg =~ /^\-(c|\-create)$/ or $arg =~ /^\-(l|\-list)$/ or $arg =~ /^\-(m|\-list-modules)$/
0 0 0 $arg =~ /^\-(h|\-help)$/ or $arg =~ /^\-(c|\-create)$/ or $arg =~ /^\-(l|\-list)$/ or $arg =~ /^\-(m|\-list-modules)$/ or $arg =~ /^\-(f|\-list-files)$/
396 0 0 0 exists $args->{'-e'} || exists $args->{'--empty'}
400 0 0 0 exists $args->{'-1'} || exists $args->{'--one'}
404 0 0 0 exists $args->{'-1'} || exists $args->{'--one'}
408 0 0 0 exists $args->{'-1'} || exists $args->{'--one'}