File Coverage

lib/Kwiki/PoweredBy.pm
Criterion Covered Total %
statement 1 3 33.3
branch n/a
condition n/a
subroutine 1 1 100.0
pod n/a
total 2 4 50.0


line stmt bran cond sub pod time code
1             package Kwiki::PoweredBy;
2 1     1   56461 use Kwiki::Plugin -Base;
  0            
  0            
3             use mixin 'Kwiki::Installer';
4             our $VERSION = '0.11';
5              
6             const class_id => 'powered_by';
7             const css_file => 'powered_by.css';
8              
9             sub register {
10             my $registry = shift;
11             $registry->add(preload => $self->class_id);
12             $registry->add(widget => 'powered_by',
13             template => 'powered_by.html',
14             );
15             }
16              
17             __DATA__