Condition Coverage

lib/WorePAN.pm
Criterion Covered Total %
condition 13 55 23.6


and 3 conditions

line !l l&&!r l&&r condition
21 0 0 0 $local and -d $local
35 0 0 1 not defined $args{'no_network'} and $ENV{'HARNESS_ACTIVE'}
130 0 0 1 -f $file and $file =~ /\.(?:tar\.(?:gz|bz2)|tgz|zip)$/
192 0 0 0 $$_{'filename'} && $$_{'author'}
243 1 0 0 @_ == 1 && ref $_[0] eq ref sub { }
260 0 1 0 not $allow_dev_releases and $basename =~ /\d\.\d+_\d/ || $basename =~ /TRIAL/
492 0 0 1 $$self{'cleanup'} and $$ == $$self{'pid'}

or 2 conditions

line l !l condition
31 0 1 $args{'cpan'} ||= 'http://www.cpan.org/'
33 0 0 $args{'backpan'} ||= 'http://backpan.cpan.org/'

or 3 conditions

line l !l&&r !l&&!r condition
39 0 1 0 $args{'ua'} ||= 'HTTP::Tiny'->new('agent', "WorePAN/$VERSION")
246 0 0 1 $$self{'tmp'} || $args{'tmp'}
247 0 0 1 $args{'developer_releases'} || $$self{'developer_releases'}
260 0 0 1 $basename =~ /\d\.\d+_\d/ || $basename =~ /TRIAL/
286 0 0 1 $args{'developer_releases'} || $$self{'developer_releases'}
287 0 0 1 $args{'permissions'} || $$self{'permissions'}
299 0 0 1 $basedir->basename eq 'blib' or $basedir->subdir('blib')->exists
336 0 0 0 $new_version eq 'undef' or $new_version == 0
0 0 0 $new_version eq 'undef' or $new_version == 0 or 'Parse::PMFile'->_vcmp($new_version, $cur_version) == 0
480 0 0 0 not exists $dists{$name} or 'Parse::PMFile'->_vlt($dists{$name}->version, $dist->version)