File Coverage

lib/Lingua/JA/Romaji/Valid/Rule/HepburnRevised.pm
Criterion Covered Total %
statement 9 9 100.0
branch n/a
condition n/a
subroutine 3 3 100.0
pod n/a
total 12 12 100.0


line stmt bran cond sub pod time code
1             package Lingua::JA::Romaji::Valid::Rule::HepburnRevised;
2              
3 2     2   1348 use strict;
  2         3  
  2         87  
4 2     2   12 use warnings;
  2         4  
  2         68  
5 2     2   9 use base qw( Lingua::JA::Romaji::Valid::Rule );
  2         4  
  2         863  
6              
7             __PACKAGE__->valid_consonants(qw(
8             k s t n h m y r g z d b p
9             ky sh ch ny hy my ry gy j by py
10             ));
11              
12             __PACKAGE__->should_delete(qw( si ti tu hu zi di du ));
13             __PACKAGE__->should_add(qw( shi chi tsu fu ye wa wo ji ));
14              
15             __PACKAGE__->filters(qw(
16             normalize_n_with_apostrophe
17             normalize_syllabic_n
18             normalize_geminate_tch
19             ));
20              
21             1;
22              
23             __END__