Branch Coverage

blib/lib/App/PAUSE/cleanup.pm
Criterion Covered Total %
branch 8 36 22.2


line true false branch
51 0 0 if $help
54 0 0 unless defined $username
55 0 0 unless defined $password
57 0 0 unless defined $username and defined $password
68 0 0 if ($dump)
101 0 0 unless $App::PAUSE::cleanup::a->{'scheduled'} cmp $App::PAUSE::cleanup::b->{'scheduled'}
108 0 0 if ($latest->{'scheduled'}) { }
115 0 0 $_->{'scheduled'} ? :
129 0 0 unless $line =~ /^\s*(delete|undelete)\s*(\S+)/i
130 0 0 if (lc $1 eq 'delete') { }
138 0 0 if (@$delete)
149 0 0 if (@$undelete)
157 0 0 unless (@$delete or @$undelete)
170 0 0 unless $package =~ s/-([\d\._]+)\.tar\.gz$//
206 5 8 if ($file->{'version'} =~ /_/) { }
5 3 elsif (not $found) { }
207 3 2 if (not @latest) { }
231 2 3 if ($version =~ /_/) { }