File Coverage

blib/lib/Text/Minify/XS.pm
Criterion Covered Total %
statement 14 14 100.0
branch n/a
condition n/a
subroutine 5 5 100.0
pod n/a
total 19 19 100.0


line stmt bran cond sub pod time code
1             package Text::Minify::XS;
2              
3             # ABSTRACT: Remove indentation and trailing whitespace from multi-line text
4              
5 4     4   816251 use v5.14;
  4         17  
6 4     4   34 use warnings;
  4         31  
  4         312  
7              
8 4     4   26 use Exporter 5.57 qw( import );
  4         71  
  4         187  
9 4     4   22 use XSLoader;
  4         36  
  4         382  
10              
11             our @EXPORT_OK = qw(minify minify_utf8 minify_ascii);
12              
13             our $VERSION = 'v0.7.7';
14              
15             XSLoader::load( __PACKAGE__, $VERSION );
16              
17             {
18             ## no critic (TestingAndDebugging::ProhibitNoStrict)
19 4     4   24 no strict 'refs';
  4         9  
  4         326  
20             *minify_utf8 = \&minify;
21             }
22              
23             1;
24              
25             __END__