lib/Kwiki/PoweredBy.pm

filter: Statementstmt 80.0% 16 / 20 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 80.0% 4 / 5 Podpod 0.0% 0 / 1 totaltotal 76.9% 20 / 26 CC 1 SCAR 1.8
CC
1
Cov
80%
register
2.0
BEGIN
1.0
BEGIN
1.0
CRAP 1.2
↑ Summary
1 package Kwiki::PoweredBy;
2 1 ▶use Kwiki::Plugin -Base;
Subroutine BEGIN: called CC=1 SCAR=0.0
3 1 ▶use mixin 'Kwiki::Installer';
Subroutine BEGIN: called CC=1 SCAR=0.0
Subroutine BEGIN: called CC=1 SCAR=0.0
Subroutine BEGIN: called CC=1 SCAR=0.0
4 1 our $VERSION = '0.11';
5  
6 1 const class_id => 'powered_by';
7 1 const css_file => 'powered_by.css';
8  
9 0 ▶sub register {
Subroutine register: not called CC=1 SCAR=6.9
Pod undocumented
10 0 my $registry = shift;
11 0 $registry->add(preload => $self->class_id);
12 0 $registry->add(widget => 'powered_by',
13 template => 'powered_by.html',
14 );
15 }
16  
17 1 __DATA__
↑ Summary