blib/lib/EBook/Ishmael/CharDet/ISO2022KR.pm

filter: Statementstmt 100% 19 / 19 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 6 / 6 Podpod 0.0% 0 / 2 totaltotal 92.5% 25 / 27 CC 1 SCAR 0.0
CC
1
Cov
100%
BEGIN
1.0
BEGIN
1.0
BEGIN
1.0
CRAP 1.0
« blib/lib/EBook/Ishmael/CharDet/ISO2022JP.pm ↑ Summary blib/lib/EBook/Ishmael/CharDet/Constants.pm »
1 package EBook::Ishmael::CharDet::ISO2022KR;
2 18 ▶use 5.016;
Subroutine BEGIN: called CC=1 SCAR=0.0
3 18 our $VERSION = '2.04';
4 18 ▶use strict;
Subroutine BEGIN: called CC=1 SCAR=0.0
5 18 ▶use warnings;
Subroutine BEGIN: called CC=1 SCAR=0.0
6  
7 18 ▶use parent 'EBook::Ishmael::CharDet::ISO2022';
Subroutine BEGIN: called CC=1 SCAR=0.0
8  
9 sub new {
10  
11 23 ▶ my ($class) = @_;
Subroutine new: called CC=1 SCAR=0.0
Pod undocumented
12  
13 23 my $self = bless {}, $class;
14 23 $self->SUPER::initialize;
15  
16 $self->{Unique} = [
17 23 '$)C', # KS X 1001 to G1
18 ];
19  
20 23 return $self;
21  
22 }
23  
24 19 ▶sub encoding { 'iso-2022-kr' }
Subroutine encoding: called CC=1 SCAR=0.0
Pod undocumented
25  
26 18 1;
« blib/lib/EBook/Ishmael/CharDet/ISO2022JP.pm ↑ Summary blib/lib/EBook/Ishmael/CharDet/Constants.pm »