line |
true |
false |
branch |
66
|
0 |
0 |
unless (defined $opts{'url'}) |
70
|
0 |
0 |
unless (defined $opts{'verify_hostname'}) |
71
|
0 |
0 |
if (defined $ENV{'VIRANI_VERIFY_HOSTNAME'}) { } |
|
0 |
0 |
elsif (defined $ENV{'HTTPS_VERIFY_HOSTNAME'}) { } |
|
0 |
0 |
elsif (defined $ENV{'PERL_LWP_VERIFY_HOSTNAME'}) { } |
136
|
0 |
0 |
unless (defined $opts{'filter'}) |
140
|
0 |
0 |
unless (defined $opts{'file'}) |
145
|
0 |
0 |
if (not defined $opts{'start'}) { } |
|
0 |
0 |
elsif (not defined $opts{'end'}) { } |
|
0 |
0 |
elsif (ref $opts{'start'} ne 'Time::Piece') { } |
|
0 |
0 |
elsif (ref $opts{'end'} ne 'Time::Piece') { } |
162
|
0 |
0 |
if ($self->{'verify_hostname'}) { } |
173
|
0 |
0 |
if (defined $opts{'type'}) |
176
|
0 |
0 |
if (defined $self->{'apikey'}) |
179
|
0 |
0 |
if (defined $opts{'set'}) |
187
|
0 |
0 |
if ($@) |
190
|
0 |
0 |
if ($res->is_success) { } |
192
|
0 |
0 |
unless write_file($opts{'file'}, $pcap) |
202
|
0 |
0 |
if ($@) |
205
|
0 |
0 |
if ($res->is_success) { } |