| lib/Mojolicious/Plugin/AssetPack/Pipe/CombineFile.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| branch | 9 | 14 | 64.2 |
| line | true | false | branch |
|---|---|---|---|
| 28 | 6 | 0 | $topicURL->path->[-1] =~ /\.(\w+)$/u ? : |
| 34 | 1 | 5 | unless $self->enabled or $format ~~ ['html', 'json'] |
| 45 | 0 | 10 | if $asset->isa('Mojolicious::Plugin::AssetPack::Asset::Null') |
| 47 | 10 | 0 | if grep(($asset->format eq $_), ('css', 'js', 'json', 'html')) |
| 58 | 5 | 0 | if (@$collect) |
| 64 | 0 | 10 | /\n$/u ? : |
| 78 | 3 | 2 | if ($content and $self->config->{'gzip'} and ($self->config->{'gzip'}{'min_size'} || 1000) < $content->size) |