Wiki/Plugin/Inline/Italic.pm

filter: Statementstmt 100% 15 / 15 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 4 / 4 Podpod 100% 1 / 1 totaltotal 100% 20 / 20 CC 1 SCAR 0.0
CC
1
Cov
100%
BEGIN
1.0
BEGIN
1.0
BEGIN
1.0
CRAP 1.0
« Wiki/Plugin/Inline/Email.pm ↑ Summary Wiki/Plugin/Inline/Subscript.pm »
1 package Text::Livedoor::Wiki::Plugin::Inline::Italic;
2  
3 10 ▶use warnings;
Subroutine BEGIN: called CC=1 SCAR=0.0
4 10 ▶use strict;
Subroutine BEGIN: called CC=1 SCAR=0.0
5 10 ▶use base qw(Text::Livedoor::Wiki::Plugin::Inline);
Subroutine BEGIN: called CC=1 SCAR=0.0
6  
7 10 __PACKAGE__->regex(q{'''([^']*)'''});
8 10 __PACKAGE__->n_args(1);
9  
10 2 ▶sub process {
Subroutine process: called CC=1 SCAR=0.0
Pod documented
11 2 my ( $class , $inline , $line ) = @_;
12 2 $line = $inline->parse($line);
13 2 return "<i>$line</i>";
14 }
15  
16 10 1;
17  
18 =head1 NAME
19  
20 Text::Livedoor::Wiki::Plugin::Inline::Italic - Italic Inline Plugin
21  
22 =head1 DESCRIPTION
23  
24 write italic text.
25  
26 =head1 SYNOPSIS
27  
28 '''italic'''
29  
30 =head1 FUNCTION
31  
32 =head2 process
33  
34 =head1 AUTHOR
35  
36 polocky
37  
38 =cut
« Wiki/Plugin/Inline/Email.pm ↑ Summary Wiki/Plugin/Inline/Subscript.pm »