Branch Coverage

lib/Comics/Fetcher/Cascade.pm
Criterion Covered Total %
branch 0 42 0.0


line true false branch
111 0 0 if ($self->{'path'}) { }
122 0 0 if ($reuse)
125 0 0 unless $data
127 0 0 unless ($data)
131 0 0 unless ($res->is_success)
132 0 0 if $self->{'optional'}
138 0 0 unless ($data =~ /$pat/)
139 0 0 if $self->{'optional'}
141 0 0 if main::debugging() and not $reuse
147 0 0 unless ($url)
152 0 0 if $+{'title'}
153 0 0 if $+{'alt'}
158 0 0 unless ($title)
159 0 0 if $data =~ m[(.*?)]
173 0 0 unless ($res->is_success)
175 0 0 if ($state->{'fail'} =~ /304 Not Modified/)
187 0 0 unless ($data and $info = Image::Info::image_info(\$data))
192 0 0 if ($state->{'md5'} and $state->{'md5'} eq $md5)
199 0 0 if ($state->{'c_img'} and my $oldimg = $self->spoolfile($state->{'c_img'}))
201 0 0 if unlink $oldimg
205 0 0 unless ($tag and $info->{'file_ext'})