blib/lib/File/Assets/Filter/Minifier/CSS/XS.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
statement | 14 | 14 | 100.0 |
branch | n/a | ||
condition | n/a | ||
subroutine | 5 | 5 | 100.0 |
pod | 0 | 1 | 0.0 |
total | 19 | 20 | 95.0 |
line | stmt | bran | cond | sub | pod | time | code |
---|---|---|---|---|---|---|---|
1 | package File::Assets::Filter::Minifier::CSS::XS; | ||||||
2 | |||||||
3 | 9 | 9 | 50 | use strict; | |||
9 | 23 | ||||||
9 | 363 | ||||||
4 | 9 | 9 | 53 | use warnings; | |||
9 | 20 | ||||||
9 | 3606 | ||||||
5 | |||||||
6 | 9 | 9 | 224 | use base qw/File::Assets::Filter::Minifier::Base/; | |||
9 | 13 | ||||||
9 | 2937 | ||||||
7 | 9 | 9 | 239 | use File::Assets::Carp; | |||
9 | 19 | ||||||
9 | 120 | ||||||
8 | |||||||
9 | sub minify { | ||||||
10 | 2 | 2 | 0 | 13 | require CSS::Minifier::XS; | ||
11 | 2 | 116 | return CSS::Minifier::XS::minify(shift); | ||||
12 | } | ||||||
13 | |||||||
14 | 1; |