Branch Coverage

blib/lib/App/UpdateCPANfile.pm
Criterion Covered Total %
branch 25 28 89.2


line true false branch
88 9 36 if $self->_is_perl($module)
92 0 36 if $self->_is_core_module($module, $installed_version)
93 28 4 if (defined $installed_module and defined $installed_version and !defined($required_version) || $required_version ne "== $installed_version" and $installed_version ne 'undef')
121 7 26 if $self->_is_perl($module, $required_version)
124 0 26 unless $package_object
126 3 23 if $self->_is_core_module($module, $latest_version)
127 17 6 if (defined $latest_version and !defined($required_version) || $required_version ne "== $latest_version" and $latest_version ne 'undef')
137 32 145 if $dist->provides_module($module)
149 0 62 unless defined $target_version
152 54 8 unless defined $core_version
158 1 26 if (my $filter = $self->options->{'filter'})
161 1 26 if (my $ignore_filter = $self->options->{'ignore-filter'})
165 2 25 if ($self->options->{'shuffle'})
169 4 23 if (my $limit = $self->options->{'limit'})