line |
true |
false |
branch |
40
|
22 |
0 |
if $self->debug |
46
|
2 |
1 |
unless defined $self->status_codes |
54
|
0 |
12 |
unless my $path_match = $self->path |
58
|
4 |
8 |
'CODE' eq ref $path_match ? : |
59
|
1 |
11 |
unless $matched |
70
|
11 |
0 |
if $self->debug |
79
|
2 |
9 |
unless $self->should_mirror_status($$res[0]) |
86
|
9 |
9 |
if (not defined $chunk) { } |
88
|
9 |
0 |
if $self->debug |
95
|
5 |
4 |
unless -d $fdir |
97
|
0 |
9 |
unless open my $fh, '>', $file |
100
|
0 |
9 |
unless print $fh $content |
103
|
0 |
9 |
unless close $fh |
107
|
4 |
5 |
if (my $lm = Plack::Util::header_get($$res[1], 'Last-Modified')) |
111
|
3 |
1 |
if (defined(my $ts = &HTTP::Date::str2time($lm))) |
116
|
0 |
9 |
if $@ |
133
|
3 |
19 |
unless @$codes |
137
|
13 |
8 |
if $res_code == $code |
141
|
2 |
4 |
if $self->debug |