blib/lib/Salvation/TC/Exception/WrongType/TC.pm

filter: Statementstmt 88.8% 8 / 9 Branchbran 25.0% 1 / 4 Conditioncond n/a MC/DCmcdc n/a Subroutinesub 75.0% 3 / 4 Podpod 0.0% 0 / 2 totaltotal 63.1% 12 / 19 SCAR 11.8
CC
3
Cov
69%
getParamName
6.0
getPrev
2.1
BEGIN
1.0
CRAP 3.3
« blib/lib/Salvation/TC/Type/Text/English.pm ↑ Summary blib/lib/Salvation/TC/Exception.pm »
1 package Salvation::TC::Exception::WrongType::TC;
2  
3 4 ▶use strict;
Subroutine BEGIN: called CC=1 SCAR=0.0
4 4 ▶use base 'Salvation::TC::Exception::WrongType';
Subroutine BEGIN: called CC=1 SCAR=0.0
5  
6 sub getPrev {
7 2 ▶ return( ref( $_[0] ) ? $_[0]->{ 'prev' } : undef );
Subroutine getPrev: called CC=2 SCAR=7.6
Pod undocumented
Branch: 1 branch
BranchTrueFalseTotal
ref $_[0] ? : 2 0 2
8 }
9  
10 sub getParamName {
11 0 ▶ return( ref( $_[0] ) ? $_[0]->{ 'param_name' } : undef );
Subroutine getParamName: not called CC=2 SCAR=17.9
Pod undocumented
Branch: 1 branch
BranchTrueFalseTotal
ref $_[0] ? : 0 0 0
12 }
13  
14 4 1;
15 __END__
« blib/lib/Salvation/TC/Type/Text/English.pm ↑ Summary blib/lib/Salvation/TC/Exception.pm »