Miril/Template/Abstract.pm untested

filter: Statementstmt 0.0% 0 / 18 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 6 Podpod 0.0% 0 / 3 totaltotal 0.0% 0 / 27 CC 1 SCAR 6.9
CC
1
Cov
0%
new
2.0
tmpl_path
2.0
miril
2.0
CRAP 2.0
1 package Miril::Template::Abstract;
2
3 use strict;
4 use warnings;
5 use autodie;
6
7 sub new {
8 my $class = shift;
9 my $miril = shift;
10 my $tmpl_path = $miril->cfg->tmpl_path;
11
12 my $self = bless {}, $class;
13
14 $self->{miril} = $miril;
15
16 $self->{tmpl_path} = $tmpl_path;
17
18 return $self;
19 }
20
21 sub tmpl_path {shift->{tmpl_path}}
22 sub miril {shift->{miril}}
23
24 1;