Branch Coverage

script/cpan-outdated
Criterion Covered Total %
branch 4 46 8.7


line true false branch
69 0 0 if (not $exclude_core or $local_lib and not $self_contained)
82 0 0 $meta ? :
88 0 0 if (not defined $index_file && -e $index_file or -z $index_file or not $index_url->isa('URI::file'))
97 0 0 unless my $fh = zopen($index_file)
100 0 0 if $line eq "\n"
107 0 0 unless $installed{$pkg}
108 0 0 if $version eq 'undef'
111 0 0 if $seen{$dist}
115 0 0 unless $version =~ /[0-9]/
118 0 0 if $exclude_core and exists $core_modules->{$pkg}
120 0 0 if $dist =~ m[/perl-[0-9._]+\.tar\.(gz|bz2)$]
122 0 0 unless my $inst_version = installed_version_for($pkg, \@inc)
125 0 0 if (compare_version($inst_version, $version))
127 0 0 if ($verbose) { }
0 0 elsif ($print_package) { }
142 2 5 if $inst_version eq $version
147 3 2 $inst_version_obj < $version_obj ? :
169 0 0 if (defined $fname) { }
171 0 0 if (-s $fname) { }
195 0 0 if ($response->{'status'} == 599) { }
0 0 elsif (not $response->{'success'}) { }
214 0 0 if ($base) { }
220 0 0 if ($self_contained) { }