Reporter/Sender.pm

filter: Statementstmt 72.7% 8 / 11 Branchbran 0.0% 0 / 2 Conditioncond n/a MC/DCmcdc n/a Subroutinesub 66.6% 2 / 3 Podpod 0.0% 0 / 1 totaltotal 58.8% 10 / 17 SCAR 8.0
CC
2
Cov
62%
new
6.0
BEGIN
1.0
BEGIN
1.0
CRAP 2.2
« Reporter/Summarizer.pm ↑ Summary Reporter/Summarizer/File.pm »
1 1 ▶use strict;
Subroutine BEGIN: called CC=1 SCAR=0.0
2 1 ▶use warnings;
Subroutine BEGIN: called CC=1 SCAR=0.0
3 package Exception::Reporter::Sender;
4 # ABSTRACT: a thing that sends exception reports
5 1 $Exception::Reporter::Sender::VERSION = '0.014';
6 #pod =head1 OVERVIEW
7 #pod
8 #pod This class exists almost entirely to allow C<isa>-checking. It provides a
9 #pod C<new> method that returns a blessed, empty object. Passing it any parameters
10 #pod will cause an exception to be thrown.
11 #pod
12 #pod =cut
13  
14 sub new {
15 0 ▶ my $class = shift;
Subroutine new: not called CC=2 SCAR=17.9
Pod undocumented
16  
17 0 ▶ Carp::confess("$class constructor does not take any parameters") if @_;
Branch: 1 branch
BranchTrueFalseTotal
if @_ 0 0 0
18  
19 0 return bless {}, $class;
20 }
21  
22 1 1;
23  
24 __END__
« Reporter/Summarizer.pm ↑ Summary Reporter/Summarizer/File.pm »