line |
true |
false |
branch |
15
|
0 |
4 |
ref $_[1] ? : |
16
|
0 |
4 |
ref $_[0] ? : |
18
|
0 |
4 |
if exists $self->{'cache_file'} |
19
|
0 |
4 |
if exists $self->{'url'} |
25
|
4 |
6 |
unless exists $_[0]{'cache_file'} |
56
|
0 |
1001 |
if $done |
61
|
1 |
1000 |
unless defined $handle |
66
|
1 |
1000 |
unless $line =~ /\A\s*\[/ |
76
|
4 |
1 |
unless exists $_[0]{'url'} |
112
|
1 |
4 |
unless exists $_[0]{'_ua'} |
146
|
0 |
0 |
unless -e $dir and -d $dir and -r $dir |
150
|
0 |
0 |
unless (-e $path) |
156
|
0 |
0 |
if -e $path and not -d $path and -w $path |
161
|
0 |
0 |
unless $_[0]{'url'} =~ qr"://" |
163
|
0 |
0 |
if not $_[0]{'url'} =~ qr"\Ahttps?://" |