| lib/Mojolicious/Plugin/AssetPack/Pipe/CombineFile.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| branch | 7 | 12 | 58.3 |
| line | true | false | branch |
|---|---|---|---|
| 29 | 0 | 12 | if $asset->isa('Mojolicious::Plugin::AssetPack::Asset::Null') |
| 31 | 12 | 0 | if grep(($asset->format eq $_), ('css', 'js', 'json', 'html')) |
| 41 | 6 | 0 | if (@$combine) |
| 45 | 1 | 5 | unless $self->enabled or $format ~~ ['html', 'json'] |
| 47 | 0 | 10 | /\n$/u ? : |
| 55 | 0 | 5 | if ($self->config->{'gzip'} and ($self->config->{'gzip'}{'min_size'} || 1000) < $content->size) |