Branch Coverage

blib/lib/Minilla/Release/UploadToCPAN.pm
Criterion Covered Total %
branch 0 22 0.0


line true false branch
21 0 0 if ($opts->{'dry_run'} or $ENV{'FAKE_RELEASE'}) { }
0 0 elsif ($project->config->{'release'}{'do_not_upload_to_cpan'}) { }
30 0 0 $project->config->{'release'}{'pause_config'} ? :
0 0 $opts->{'pause_config'} ? :
32 0 0 unless ($config and $config->{'user'} and $config->{'password'})
47 0 0 if ($answer =~ /y/i) { }
0 0 elsif ($answer =~ /n/i) { }
56 0 0 if ($opts->{'trial'})
58 0 0 unless $tar =~ s/\.(tar\.gz|tgz|tar.bz2|tbz|zip)$/-TRIAL.$1/
61 0 0 unless rename $orig_file, $tar
71 0 0 unless "Minilla"->debug