blib/lib/Kwiki/Markdown.pm

filter: Statementstmt 91.6% 11 / 12 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 66.6% 4 / 6 Podpod 0.0% 0 / 3 totaltotal 71.4% 15 / 21 CC 1 SCAR 1.5
CC
1
Cov
92%
new
2.0
BEGIN
1.0
BEGIN
1.0
CRAP 1.2
↑ Summary
1 package Kwiki::Markdown;
2 2 ▶use v5.6.1;
Subroutine BEGIN: called CC=1 SCAR=0.0
3 2 ▶use Text::Markdown 'markdown';
Subroutine BEGIN: called CC=1 SCAR=0.0
4 2 our $VERSION = '0.02';
5  
6 use constant
7 2 ▶ class_id => 'formatter',
Subroutine BEGIN: called CC=1 SCAR=0.0
8 2 class_title => 'Kwiki Markdown Formatter';
9  
10 0 ▶sub new { bless {} }
Subroutine new: not called CC=1 SCAR=6.9
Pod undocumented
11 0 ▶sub init {}
Subroutine init: not called CC=1 SCAR=0.0
Pod undocumented
12  
13 1 ▶sub text_to_html {
Subroutine text_to_html: called CC=1 SCAR=0.0
Pod undocumented
14 1 my $self = shift;
15 1 return markdown(shift);
16 }
17  
18 __END__
↑ Summary