File Coverage

blib/lib/Encode/JP.pm
Criterion Covered Total %
statement 16 16 100.0
branch n/a
condition n/a
subroutine 6 6 100.0
pod n/a
total 22 22 100.0


line stmt bran cond sub pod time code
1             package Encode::JP;
2             BEGIN {
3 14     14   429 if ( ord("A") == 193 ) {
4             die "Encode::JP not supported on EBCDIC\n";
5             }
6             }
7 14     14   102 use strict;
  14         42  
  14         375  
8 14     14   91 use warnings;
  14         39  
  14         510  
9 14     14   99 use Encode;
  14         39  
  14         2264  
10             our $VERSION = do { my @r = ( q$Revision: 2.4 $ =~ /\d+/g ); sprintf "%d." . "%02d" x $#r, @r };
11              
12 14     14   131 use XSLoader;
  14         109  
  14         653  
13             XSLoader::load( __PACKAGE__, $VERSION );
14              
15 14     14   6703 use Encode::JP::JIS7;
  14         47  
  14         519  
16              
17             1;
18             __END__