Branch Coverage

blib/lib/Mojolicious/Plugin/AssetPack/Pipe/Sass.pm
Criterion Covered Total %
branch 0 46 0.0


line true false branch
29 0 0 if ($self->generate_source_map)
31 0 0 $self->app->mode eq 'development' ? :
38 0 0 unless $asset->format =~ /$FORMAT_RE/
43 0 0 $attrs->{'minified'} ? :
47 0 0 if $file = $store->load($attrs)
48 0 0 if $asset->isa('Mojolicious::Plugin::AssetPack::Asset::Null')
49 0 0 $asset->path ? :
53 0 0 if ($self->{'has_module'} //= eval { do { load_module('CSS::Sass'); 1 } }) { }
55 0 0 if $asset->format eq 'sass'
57 0 0 if ($err)
63 0 0 if $stats->{'source_map_string'}
68 0 0 if $asset->format eq 'scss'
83 0 0 if $asset->path
112 0 0 if $pre =~ m[^\s*//]
116 0 0 if $rel_path =~ /\.css$/
117 0 0 if $rel_path =~ m[^https?://] and not $dynamic
119 0 0 unless $name =~ /\.$ext$/
120 0 0 unless my $imported = $store->asset([map({join '/', @rel, $_;} @basename)], $paths)
123 0 0 if ($imported->path) { }
142 0 0 if $asset->url =~ m[^https?://]
143 0 0 if $asset->path
152 0 0 if -e $path
160 0 0 $_[0] ? :