StaticVolt/Convertor/Textile.pm

filter: Statementstmt 88.8% 16 / 18 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 80.0% 4 / 5 Podpod 100% 1 / 1 totaltotal 87.5% 21 / 24 CC 1 SCAR 1.8
CC
1
Cov
89%
convert
2.0
BEGIN
1.0
BEGIN
1.0
CRAP 1.2
« StaticVolt/Convertor.pm ↑ Summary StaticVolt/Convertor/Markdown.pm »
1 # ABSTRACT: StaticVolt convertor for textile
2  
3 package StaticVolt::Convertor::Textile;
4 {
5 4 $StaticVolt::Convertor::Textile::VERSION = '1.00';
6 }
7  
8 4 ▶use strict;
Subroutine BEGIN: called CC=1 SCAR=0.0
9 4 ▶use warnings;
Subroutine BEGIN: called CC=1 SCAR=0.0
10  
11 4 ▶use base qw( StaticVolt::Convertor );
Subroutine BEGIN: called CC=1 SCAR=0.0
12  
13 4 ▶use Text::Textile qw( textile );
Subroutine BEGIN: called CC=1 SCAR=0.0
14  
15 0 ▶sub convert {
Subroutine convert: not called CC=1 SCAR=6.9
Pod documented
16 0 my $content = shift;
17 0 return textile $content;
18 }
19  
20 4 __PACKAGE__->register(qw/ textile /);
21  
22 4 1;
23  
24 __END__
« StaticVolt/Convertor.pm ↑ Summary StaticVolt/Convertor/Markdown.pm »