blib/lib/Text/Emoticon/Unicode.pm

filter: Statementstmt 100% 20 / 20 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 7 / 7 Podpod 0.0% 0 / 2 totaltotal 93.1% 27 / 29 CC 1 SCAR 0.0
CC
1
Cov
100%
BEGIN
1.0
BEGIN
1.0
BEGIN
1.0
CRAP 1.0
↑ Summary
1 package Text::Emoticon::Unicode;
2  
3 2 ▶use 5.006;
Subroutine BEGIN: called CC=1 SCAR=0.0
4 2 ▶use strict;
Subroutine BEGIN: called CC=1 SCAR=0.0
5 2 ▶use warnings;
Subroutine BEGIN: called CC=1 SCAR=0.0
6 2 ▶use utf8;
Subroutine BEGIN: called CC=1 SCAR=0.0
7 2 ▶use parent 'Text::Emoticon';
Subroutine BEGIN: called CC=1 SCAR=0.0
8  
9 2 our $VERSION = '0.02';
10  
11 1 ▶sub default_config {
Subroutine default_config: called CC=1 SCAR=0.0
Pod undocumented
12 return {
13 1 strict => 0,
14 };
15 }
16  
17 4 ▶sub do_filter {
Subroutine do_filter: called CC=1 SCAR=0.0
Pod undocumented
18 4 my ($self, $char) = @_;
19 4 return $char;
20 }
21  
22 2 __PACKAGE__->register_subclass({
23 ':-)' => '☺',
24 ':)' => '☺',
25 ':-(' => '☹',
26 ':(' => '☹',
27 });
28  
29 2 1;
30  
31 __END__
↑ Summary