Branch Coverage

blib/lib/App/UpdateCPANfile.pm
Criterion Covered Total %
branch 23 26 88.4


line true false branch
87 7 29 if $self->_is_perl($module)
91 0 29 if $self->_is_core_module($module, $installed_version)
92 21 4 if (defined $installed_module and defined $installed_version and !defined($required_version) || $required_version ne "== $installed_version" and $installed_version ne 'undef')
120 7 26 if $self->_is_perl($module, $required_version)
123 0 26 unless $package_object
125 3 23 if $self->_is_core_module($module, $latest_version)
126 17 6 if (defined $latest_version and !defined($required_version) || $required_version ne "== $latest_version" and $latest_version ne 'undef')
136 25 119 if $dist->provides_module($module)
148 0 55 unless defined $target_version
151 49 6 unless defined $core_version
157 1 23 if (my $filter = $self->options->{'filter'})
160 1 23 if (my $ignore_filter = $self->options->{'ignore-filter'})
164 1 23 if (my $limit = $self->options->{'limit'})