Branch Coverage

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


line true false branch
29 0 0 if ($self->generate_source_map)
31 0 0 $self->app->mode eq 'development' ? :
37 0 0 unless $asset->format =~ /$FORMAT_RE/u
42 0 0 $attrs->{'minified'} ? :
46 0 0 if $file = $store->load($attrs)
47 0 0 if $asset->isa("Mojolicious::Plugin::AssetPack::Asset::Null")
48 0 0 $asset->path ? :
52 0 0 if ($self->{'has_module'} //= eval { do { load_module('CSS::Sass'); 1 } }) { }
54 0 0 if $asset->format eq "sass"
56 0 0 if ($err)
60 0 0 if $stats->{'source_map_string'}
65 0 0 if $asset->format eq "scss"
66 0 0 if $attrs->{'minified'}
68 0 0 $? > 0 ? :
69 0 0 if ($exit)
83 0 0 if $asset->path
112 0 0 if $pre =~ m[^\s*//]u
116 0 0 if $rel_path =~ /\.css$/u
117 0 0 if $rel_path =~ m[^https?://]u and not $dynamic
119 0 0 unless $name =~ /\.$ext$/u
120 0 0 unless my $imported = $store->asset([map({join "/", @rel, $_;} @basename)], $paths)
123 0 0 if ($imported->path) { }
141 0 0 if $asset->url =~ m[^https?://]u
142 0 0 if $asset->path
151 0 0 if -e $path
158 0 0 $_[0] ? :