| blib/lib/Mojolicious/Command/Author/generate/obrazi.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| condition | 0 | 46 | 0.0 |
| line | l | !l | condition |
|---|---|---|---|
| 70 | 0 | 0 | $_[1] && (return $_[0]) |
| 80 | 0 | 0 | $_[1] && (return $_[0]) |
| line | !l | l&&!r | l&&r | condition |
|---|---|---|---|---|
| 98 | 0 | 0 | 0 | $template ne $self->template_file and not -f $template |
| 103 | 0 | 0 | 0 | $obrazec ne $self->obrazec_file and not -f $obrazec |
| 249 | 0 | 0 | 0 | $_->[1] eq $_processed->[$i][1] and $_->[-1] ne $_processed->[$i][-1] || $_->[-2] ne $_processed->[$i][-2] |
| 280 | 0 | 0 | 0 | $row->[-2] and $row->[-1] |
| 287 | 0 | 0 | 0 | -s $sized_path and -s $thumb_path |
| 0 | 0 | 0 | -s $sized_path and -s $thumb_path and -s $html_path | |
| 389 | 0 | 0 | 0 | $obrazec_file and not $parsed |
| line | l | !l | condition |
|---|---|---|---|
| 74 | 0 | 0 | $_[0]{'max'} //= {'width', 1000, 'height', 1000} |
| 84 | 0 | 0 | $_[0]{'thumbs'} //= {'width', 100, 'height', 100} |
| 353 | 0 | 0 | $template_file || 'obrazi.html' |
| line | l | !l&&r | !l&&!r | condition |
|---|---|---|---|---|
| 142 | 0 | 0 | 0 | $size{'width'} > $max->{'width'} or $size{'height'} > $max->{'height'} |
| 147 | 0 | 0 | 0 | $thumb_size{'width'} > $thumbs->{'width'} or $thumb_size{'height'} > $thumbs->{'height'} |
| 249 | 0 | 0 | 0 | $_->[-1] ne $_processed->[$i][-1] || $_->[-2] ne $_processed->[$i][-2] |
| 385 | 0 | 0 | 0 | $obrazec_file || $obrazec_data |
| 389 | 0 | 0 | 0 | $obrazec_file || $parsed |