| 1 | 26 | ▶ | use strict; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 2 | 26 | ▶ | use warnings; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 3 | |||||||||||
| 4 | package Test::Deep::Ref 1.205; | ||||||||||
| 5 | |||||||||||
| 6 | 26 | ▶ | use Test::Deep::Cmp; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 7 | |||||||||||
| 8 | 26 | ▶ | use Scalar::Util qw( blessed ); | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 9 | |||||||||||
| 10 | sub test_class | ||||||||||
| 11 | 155 | ▶ | { | ||||||||
|
Subroutine
test_class: called CC=2 SCAR=6.9
Pod
undocumented
| |||||||||||
| 12 | 155 | my $self = shift; | |||||||||
| 13 | 155 | my $got = shift; | |||||||||
| 14 | |||||||||||
| 15 | 155 | my $exp = $self->{val}; | |||||||||
| 16 | |||||||||||
| 17 | 155 | ▶ | if ($Test::Deep::Snobby) | ||||||||
|
Branch: 1 branch
| |||||||||||
| 18 | { | ||||||||||
| 19 | 151 | return Test::Deep::descend($got, Test::Deep::blessed(blessed($exp))); | |||||||||
| 20 | } | ||||||||||
| 21 | else | ||||||||||
| 22 | { | ||||||||||
| 23 | 4 | return 1; | |||||||||
| 24 | } | ||||||||||
| 25 | } | ||||||||||
| 26 | |||||||||||
| 27 | sub test_reftype | ||||||||||
| 28 | 245 | ▶ | { | ||||||||
|
Subroutine
test_reftype: called CC=1 SCAR=0.0
Pod
undocumented
| |||||||||||
| 29 | 245 | my $self = shift; | |||||||||
| 30 | 245 | my $got = shift; | |||||||||
| 31 | 245 | my $reftype = shift; | |||||||||
| 32 | |||||||||||
| 33 | 245 | return Test::Deep::descend($got, Test::Deep::reftype($reftype)); | |||||||||
| 34 | } | ||||||||||
| 35 | |||||||||||
| 36 | 26 | 1; | |||||||||
| 37 | |||||||||||
| 38 | __END__ | ||||||||||