line |
true |
false |
branch |
63
|
2 |
4 |
unless ($self->token) |
64
|
0 |
2 |
if $ENV{'GITHUB_TOKEN'} |
68
|
4 |
9 |
unless ($self->{$key}) |
75
|
1 |
1 |
if ($self->proxy) |
92
|
2 |
0 |
unless defined $self->user |
94
|
0 |
2 |
if (-d $self->stg) |
95
|
0 |
0 |
unless rmtree($self->stg) |
98
|
0 |
2 |
unless mkdir $self->stg |
104
|
0 |
0 |
unless ($self->{'repo_list'}) |
122
|
0 |
0 |
if ($self->limit) |
123
|
0 |
0 |
if $repo_count >= $self->limit |
132
|
0 |
0 |
if (not $self->forks) { } |
133
|
0 |
0 |
unless (exists $repo->{'parent'}) |
152
|
0 |
0 |
unless mkdir $self->stg . "/issues" |
161
|
0 |
0 |
if ($self->limit) |
162
|
0 |
0 |
if $repo_count >= $self->limit |
189
|
0 |
0 |
unless ($dir_created) |
190
|
0 |
0 |
unless mkdir $issue_dir |
191
|
0 |
0 |
unless mkdir "$issue_dir/open" |
192
|
0 |
0 |
unless mkdir "$issue_dir/closed" |
196
|
0 |
0 |
$issue->{'state'} eq 'open' ? : |
200
|
0 |
0 |
unless open my $fh, ">", $issue_path |
210
|
0 |
0 |
if ($self->stg and -d $self->stg) |
211
|
0 |
0 |
unless move($self->stg, $self->dir) |
217
|
0 |
0 |
unless ($self->{'trap'}) |
226
|
0 |
6 |
if ($self->dir and -d $self->dir) |
227
|
0 |
0 |
unless rmtree($self->dir) |
230
|
2 |
4 |
if ($self->stg and -d $self->stg) |
231
|
0 |
2 |
unless move($self->stg, $self->dir) |
235
|
1 |
3 |
if ($self->dir and -d $self->dir and $self->_clean) |
237
|
0 |
1 |
unless rmtree($self->dir) |