Condition Coverage

lib/CPANPLUS/Backend.pm
Criterion Covered Total %
condition 28 48 58.3


and 2 conditions

line l !l condition
969 1 0 0 do { not -w _ } && do { error(loc(q[Could not write to '%1', giving up], $path)); return }
1093 0 0 ++$ext && (redo BLOCK)

and 3 conditions

line !l l&&!r l&&r condition
103 0 0 14 $_[0] and sub { ; } ->('conf', $_[0])
498 0 44 1 $mod and -d 'File::Spec'->rel2abs($mod)
616 5 20 3 defined $parts[0] and length $parts[0] == 1
0 0 3 defined $parts[1] and length $parts[1] == 2
25 0 3 defined $parts[0] and length $parts[0] == 1 and (defined $parts[1] and length $parts[1] == 2)
0 0 3 defined $parts[0] and length $parts[0] == 1 and (defined $parts[1] and length $parts[1] == 2) and $parts[2] =~ /^$parts[0]/i
0 0 3 defined $parts[0] and length $parts[0] == 1 and (defined $parts[1] and length $parts[1] == 2) and $parts[2] =~ /^$parts[0]/i and $parts[2] =~ /^$parts[1]/i
645 1 0 17 $author and $version
706 2 3 1 $author and $author ne $modobj->author->cpanid

or 2 conditions

line l !l condition
156 149 2837 $modobj || ''
186 3 1 $authtree->{$name} || ''
387 1 0 $self->parse_module('module', $_) || ''
625 20 5 shift @parts || ''
1108 2 0 $_->installed_version('verbose', 0) || 'undef'

or 3 conditions

line l !l&&r !l&&!r condition
529 0 1 0 $pkgname ne $modobj->package_name or not $pkgname =~ /-/
568 6 7 0 $pkgname ne $modobj->package_name or not $pkgname =~ /-/