Tabular/Config/Extra.pm

filter: Statementstmt 63.6% 7 / 11 Branchbran 0.0% 0 / 2 Conditioncond n/a MC/DCmcdc n/a Subroutinesub 66.6% 2 / 3 Podpod 0.0% 0 / 2 totaltotal 50.0% 9 / 18 CC 2 SCAR 12.5
CC
2
Cov
54%
output
6.0
BEGIN
1.0
new
1.0
CRAP 3.5
« Tabular/Extra.pm ↑ Summary Tabular/Output.pm »
1 # Copyright (C) 2003-2007, G. Allen Morris III, all rights reserved
2 8 ▶use strict;
Subroutine BEGIN: called CC=1 SCAR=0.0
3  
4 package Data::Tabular::Config::Extra;
5  
6 sub new
7 9 ▶{
Subroutine new: called CC=1 SCAR=0.0
Pod undocumented
8 9 my $class = shift;
9 9 my $self = bless { @_ }, $class;
10 9 $self;
11 }
12  
13 sub output
14 0 ▶{
Subroutine output: not called CC=2 SCAR=17.9
Pod undocumented
15 0 die;
16 0 my $ret = $_[0]->{output};
17 0 ▶ $_[0]->{output} = $_[1] if $_[1];
Branch: 1 branch
BranchTrueFalseTotal
if $_[1] 0 0 0
18 0 $ret;
19 }
20  
21 8 1;
« Tabular/Extra.pm ↑ Summary Tabular/Output.pm »