Wiki/Plugin/Inline/BreakClearAll.pm

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