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 | 53 | use strict; | |||
9 | 19 | ||||||
9 | 802 | ||||||
4 | 9 | 9 | 66 | use warnings; | |||
9 | 17 | ||||||
9 | 293 | ||||||
5 | |||||||
6 | 9 | 9 | 50 | use base qw/File::Assets::Filter::Minifier::Base/; | |||
9 | 20 | ||||||
9 | 833 | ||||||
7 | 9 | 9 | 55 | use File::Assets::Carp; | |||
9 | 22 | ||||||
9 | 99 | ||||||
8 | |||||||
9 | sub minify { | ||||||
10 | 2 | 2 | 0 | 13 | require CSS::Minifier::XS; | ||
11 | 2 | 99 | return CSS::Minifier::XS::minify(shift); | ||||
12 | } | ||||||
13 | |||||||
14 | 1; |