| line |
true |
false |
branch |
|
26
|
1 |
12 |
unless $self->server |
|
28
|
1 |
11 |
unless $self->project_id |
|
30
|
1 |
10 |
unless $self->username |
|
32
|
1 |
9 |
unless $self->password |
|
34
|
1 |
8 |
unless @_ |
|
45
|
1 |
7 |
unless $server =~ /^http/ |
|
56
|
1 |
10 |
unless -r $report_file |
|
59
|
1 |
9 |
if ($self->dry_run) |
|
75
|
8 |
1 |
if ($response->code == 302) { } |
|
76
|
6 |
2 |
unless ($reports_url) |
|
78
|
6 |
0 |
unless $reports_url =~ /^http/ |
|
84
|
2 |
6 |
if ($self->delete) |
|
85
|
0 |
2 |
unless (unlink $report_file) |
|
99
|
5 |
1 |
if $reports_url |
|
112
|
5 |
0 |
if $ENV{'HOME'} |
|
113
|
4 |
1 |
if $ENV{'APP_SMOLDER_REPORT_CONF'} |
|
127
|
0 |
15 |
unless $cfg |
|
131
|
1 |
14 |
if (%$cfg) |
|
144
|
0 |
17 |
unless open my $fh, '<', $file |
|
147
|
13 |
44 |
if /^(#.*)?$/ |
|
149
|
32 |
12 |
if (/^(\S+)\s*=\s*(["'])(.*)\2$/) { } |
|
|
11 |
1 |
elsif (/^(\S+)\s*=\s*(.+)$/) { } |
|
173
|
71 |
49 |
unless exists $$cfg{$cfg_key} |
|
197
|
0 |
2 |
unless $ok |
|
201
|
1 |
1 |
if defined $username |
|
202
|
2 |
0 |
if defined $password |
|
203
|
1 |
1 |
if defined $server |
|
204
|
1 |
1 |
if defined $project_id |
|
205
|
1 |
1 |
if defined $dry_run |
|
206
|
1 |
1 |
if defined $quiet |
|
207
|
2 |
0 |
if defined $delete |
|
231
|
9 |
0 |
if $self->run_as_api |
|
239
|
12 |
2 |
if $self->run_as_api |
|
240
|
0 |
2 |
if $self->quiet |
|
257
|
2 |
5 |
if (ref $_[0]) { } |
|
260
|
1 |
6 |
if delete $args{'load_config'} |