| line |
true |
false |
branch |
|
69
|
0 |
0 |
if ($_[1]) |
|
70
|
0 |
0 |
if ref $_[1] |
|
79
|
0 |
0 |
if ($_[1]) |
|
80
|
0 |
0 |
if ref $_[1] |
|
98
|
0 |
0 |
if ($template ne $self->template_file and not -f $template) |
|
101
|
0 |
0 |
if $template |
|
103
|
0 |
0 |
if ($obrazec ne $self->obrazec_file and not -f $obrazec) |
|
106
|
0 |
0 |
if $obrazec |
|
130
|
0 |
0 |
unless ($fh->binmode) |
|
134
|
0 |
0 |
if (not eval {
do {
$img = $imager->read('fh', $fh)
}
}) { } |
|
142
|
0 |
0 |
if ($size{'width'} > $max->{'width'} or $size{'height'} > $max->{'height'}) |
|
147
|
0 |
0 |
if ($thumb_size{'width'} > $thumbs->{'width'} or $thumb_size{'height'} > $thumbs->{'height'}) |
|
167
|
0 |
0 |
if (-f $csv_filepath) |
|
189
|
0 |
0 |
if (-d $raw_path) { } |
|
|
0 |
0 |
elsif (-f $raw_path) { } |
|
201
|
0 |
0 |
unless ($_ =~ /$FILETYPES/u) |
|
207
|
0 |
0 |
unless $path =~ /$$category/u |
|
222
|
0 |
0 |
if (@$matrix == 1) |
|
247
|
0 |
0 |
unless $_->[1] =~ /$FILETYPES/u |
|
249
|
0 |
0 |
if ($_->[1] eq $_processed->[$i][1] and $_->[-1] ne $_processed->[$i][-1] || $_->[-2] ne $_processed->[$i][-2]) |
|
256
|
0 |
0 |
if ($updated) { } |
|
280
|
0 |
0 |
unless ($row->[-2] and $row->[-1]) |
|
287
|
0 |
0 |
if (-s $sized_path and -s $thumb_path and -s $html_path) |
|
296
|
0 |
0 |
unless (-s $sized_path) |
|
297
|
0 |
0 |
unless (eval {
do {
$img = $imager->read('file', $raw_path)
}
}) |
|
301
|
0 |
0 |
unless (eval {
do {
$to_path->make_path({'mode', 457});
1
}
}) |
|
308
|
0 |
0 |
if ($maxi->write('file', $sized_path)) { } |
|
315
|
0 |
0 |
unless (-s $thumb_path) |
|
319
|
0 |
0 |
if ($thumbi->write('file', $thumb_path)) { } |
|
344
|
0 |
0 |
if $err |
|
370
|
0 |
0 |
if ($template_file) { } |
|
389
|
0 |
0 |
if ($obrazec_file and not $parsed) { } |
|
|
0 |
0 |
elsif (not $obrazec_file || $parsed) { } |
|
408
|
0 |
0 |
if path($html_path)->spurt(encode(_U(), $html)) |