blib/lib/Spork/Template/Mason.pm

filter: Statementstmt 77.2% 17 / 22 Branchbran 0.0% 0 / 2 Conditioncond n/a MC/DCmcdc n/a Subroutinesub 62.5% 5 / 8 Podpod 0.0% 0 / 3 totaltotal 62.8% 22 / 35 CC 2 SCAR 8.5
CC
2
Cov
71%
path
6.0
plugins
2.0
extract_to
2.0
CRAP 2.3
↑ Summary
1 package Spork::Template::Mason;
2  
3 1 ▶use strict;
Subroutine BEGIN: called CC=1 SCAR=0.0
4 1 ▶use warnings;
Subroutine BEGIN: called CC=1 SCAR=0.0
5  
6 1 ▶use vars qw($VERSION);
Subroutine BEGIN: called CC=1 SCAR=0.0
7  
8 1 ▶use Spoon::Template::Mason '-base';
Subroutine BEGIN: called CC=1 SCAR=0.0
9 1 ▶use Spoon::Installer '-base';
Subroutine BEGIN: called CC=1 SCAR=0.0
10  
11 1 $VERSION = 0.04;
12  
13 0 ▶sub plugins { {} }
Subroutine plugins: not called CC=1 SCAR=6.9
Pod undocumented
14  
15 sub extract_to
16 0 ▶{
Subroutine extract_to: not called CC=1 SCAR=6.9
Pod undocumented
17 0 my $self = shift;
18 0 $self->hub->config->template_directory;
19 }
20  
21 sub path
22 0 ▶{
Subroutine path: not called CC=2 SCAR=17.9
Pod undocumented
23 0 my $self = shift;
24 0 ▶ $self->hub->config->template_path ||
Branch: 1 branch
BranchTrueFalseTotal
$self->hub->config->template_path or [$self->hub->config->template_directory] 0 0 0
25 [ $self->hub->config->template_directory ];
26 }
27  
28 1 1;
29  
30 __DATA__
↑ Summary