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 5     5   830041 use v5.14;
  5         17  
6 5     5   26 use warnings;
  5         23  
  5         253  
7              
8 5     5   20 use Exporter 5.57 qw( import );
  5         81  
  5         143  
9 5     5   26 use XSLoader;
  5         7  
  5         313  
10              
11             our @EXPORT_OK = qw(minify minify_utf8 minify_ascii);
12              
13             our $VERSION = 'v0.7.8';
14              
15             XSLoader::load( __PACKAGE__, $VERSION );
16              
17             {
18             ## no critic (TestingAndDebugging::ProhibitNoStrict)
19 5     5   18 no strict 'refs';
  5         8  
  5         271  
20             *minify_utf8 = \&minify;
21             }
22              
23             1;
24              
25             __END__