auto/share/dist/Rhetoric/widgets/sidebar/init.pl untested

filter: Statementstmt 0.0% 0 / 16 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 3 Podpod n/a totaltotal 0.0% 0 / 19 CC 1 SCAR 6.9
CC
1
Cov
0%
BEGIN
2.0
BEGIN
2.0
BEGIN
2.0
CRAP 2.0
1 use common::sense;
2 use Template;
3 use File::Basename;
4  
5 # initialize some objects for the rest of the widgets to use
6 sub {
7 my ($self) = @_;
8 my $tt = Template->new({ POST_CHOMP => 1, INCLUDE_PATH => [ dirname(__FILE__) ] });
9 $self->env->{tt} = $tt;
10 undef;
11 # returning undef means this widget is invisible
12 }