ZofCMS/Plugin/HTMLFactory/Entry.pm

filter: Statementstmt 66.6% 8 / 12 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 50.0% 2 / 4 Podpod 0.0% 0 / 2 totaltotal 55.5% 10 / 18 CC 1 SCAR 4.1
CC
1
Cov
67%
new
2.0
process
2.0
BEGIN
1.0
CRAP 1.5
« ZofCMS/Plugin/RandomBashOrgQuote.pm ↑ Summary ZofCMS/Plugin/AutoDump.pm »
1 package App::ZofCMS::Plugin::HTMLFactory::Entry;
2  
3 1 ▶use warnings;
Subroutine BEGIN: called CC=1 SCAR=0.0
4 1 ▶use strict;
Subroutine BEGIN: called CC=1 SCAR=0.0
5  
6 1 our $VERSION = '1.001010'; # VERSION
7  
8 0 ▶sub new { bless {}, shift }
Subroutine new: not called CC=1 SCAR=6.9
Pod undocumented
9  
10 0 ▶sub process {
Subroutine process: not called CC=1 SCAR=6.9
Pod undocumented
11 0 my ( $self, $template ) = @_;
12 0 $template->{t}{entry_start} = <<"END";
13 <div class="entry">
14 <div class="entry_top">
15 <div class="entry_bottom">
16 END
17 0 $template->{t}{entry_end} = <<"END";
18 </div>
19 </div>
20 </div>
21 END
22 }
23  
24 1 1;
25 __END__
« ZofCMS/Plugin/RandomBashOrgQuote.pm ↑ Summary ZofCMS/Plugin/AutoDump.pm »