Wiki/Plugin/Inline/Bold.pm

filter: Statementstmt 100% 16 / 16 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 4 / 4 Podpod 100% 1 / 1 totaltotal 100% 21 / 21 CC 1 SCAR 0.0
CC
1
Cov
100%
BEGIN
1.0
BEGIN
1.0
BEGIN
1.0
CRAP 1.0
« Wiki/Plugin/Inline.pm ↑ Summary Wiki/Plugin/Inline/Break.pm »
1 package Text::Livedoor::Wiki::Plugin::Inline::Bold;
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 __PACKAGE__->dependency('Text::Livedoor::Wiki::Plugin::Inline::Italic' );
10  
11 2 ▶sub process {
Subroutine process: called CC=1 SCAR=0.0
Pod documented
12 2 my ( $class , $inline , $line ) = @_;
13 2 $line = $inline->parse($line);
14 2 return "<b>$line</b>";
15 }
16  
17 10 1;
18  
19 =head1 NAME
20  
21 Text::Livedoor::Wiki::Plugin::Inline::Bold - Bold Inline Plugin
22  
23 =head1 DESCRIPTION
24  
25 make text italic.
26  
27 =head1 SYNOPSIS
28  
29 ''Bold Text''
30  
31 =head1 FUNCTION
32  
33 =head2 process
34  
35 =head1 AUTHOR
36  
37 polocky
38  
39 =cut
« Wiki/Plugin/Inline.pm ↑ Summary Wiki/Plugin/Inline/Break.pm »