blib/lib/Salvation/TC/Exception/WrongType/TC.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
statement | 7 | 8 | 87.5 |
branch | 1 | 4 | 25.0 |
condition | n/a | ||
subroutine | 3 | 4 | 75.0 |
pod | 0 | 2 | 0.0 |
total | 11 | 18 | 61.1 |
line | stmt | bran | cond | sub | pod | time | code |
---|---|---|---|---|---|---|---|
1 | package Salvation::TC::Exception::WrongType::TC; | ||||||
2 | |||||||
3 | 4 | 4 | 15 | use strict; | |||
4 | 5 | ||||||
4 | 121 | ||||||
4 | 4 | 4 | 14 | use base 'Salvation::TC::Exception::WrongType'; | |||
4 | 4 | ||||||
4 | 1296 | ||||||
5 | |||||||
6 | sub getPrev { | ||||||
7 | 2 | 50 | 2 | 0 | 9 | return( ref( $_[0] ) ? $_[0]->{ 'prev' } : undef ); | |
8 | } | ||||||
9 | |||||||
10 | sub getParamName { | ||||||
11 | 0 | 0 | 0 | 0 | return( ref( $_[0] ) ? $_[0]->{ 'param_name' } : undef ); | ||
12 | } | ||||||
13 | |||||||
14 | 1; | ||||||
15 | __END__ |