| 1 | 2 | ▶ | use strict; | ||||||||||||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||||||||||||
| 2 | 2 | ▶ | use warnings; | ||||||||||||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||||||||||||
| 3 | package Exception::Reporter::Dumper; | ||||||||||||||||||||
| 4 | # ABSTRACT: something that dumps values into records | ||||||||||||||||||||
| 5 | 2 | $Exception::Reporter::Dumper::VERSION = '0.014'; | |||||||||||||||||||
| 6 | sub new { | ||||||||||||||||||||
| 7 | 3 | ▶ | my $class = shift; | ||||||||||||||||||
|
Subroutine
new: called CC=2 SCAR=7.1
Pod
undocumented
| |||||||||||||||||||||
| 8 | |||||||||||||||||||||
| 9 | 3 | ▶ | Carp::confess("$class constructor does not take any parameters") if @_; | ||||||||||||||||||
|
Branch: 1 branch
| |||||||||||||||||||||
| 10 | |||||||||||||||||||||
| 11 | 3 | return bless {}, $class; | |||||||||||||||||||
| 12 | } | ||||||||||||||||||||
| 13 | |||||||||||||||||||||
| 14 | sub dump { | ||||||||||||||||||||
| 15 | 0 | ▶ | my $class = ref $_[0] || $_[0]; | ||||||||||||||||||
|
Subroutine
dump: not called CC=2 SCAR=17.9
Pod
undocumented
Condition0%0/3
ref $_[0] || $_[0]
MC/DC0%0/2
ref $_[0] || $_[0]
ref $_[0]
$_[0]
Truth table0%0/3
A || B
A= ref $_[0]B= $_[0]
| |||||||||||||||||||||
| 16 | 0 | Carp::confess("$class does not implement required Exception::Reporter::Dumper method 'dump'"); | |||||||||||||||||||
| 17 | } | ||||||||||||||||||||
| 18 | |||||||||||||||||||||
| 19 | 2 | 1; | |||||||||||||||||||
| 20 | |||||||||||||||||||||
| 21 | __END__ | ||||||||||||||||||||