EP/Error.pm

filter: Statementstmt 16.6% 1 / 6 Branchbran n/a Conditioncond 0.0% 0 / 3 MC/DCmcdc 0.0% 0 / 2 Subroutinesub 0.0% 0 / 1 Podpod 0.0% 0 / 1 totaltotal 7.6% 1 / 13 CC 2 SCAR 17.9
CC
2
Cov
11%
new
6.0
CRAP 6.0
« EP/Response.pm ↑ Summary EP/Control.pm »
1 # -*- perl -*-
2
3 package XML::EP::Error;
4
5 1 $XML::EP::Error::VERSION = '0.01';
6
7 0 ▶sub new {
Subroutine new: not called CC=2 SCAR=17.9
Pod undocumented
8 0 my $proto = shift; my $msg = shift; my $code = shift;
9 0 $self = { msg => $msg, code => $code };
10 0 ▶ bless($self, (ref($proto) || $proto));
Condition0%0/3
ref $proto || $proto
l!l&&r!l&&!r
000
MC/DC0%0/2
ref $proto || $proto
ref $proto $proto
Truth table0%0/3
A || B
A= ref $protoB= $proto
ABresult
1X1
011
000
11 }
« EP/Response.pm ↑ Summary EP/Control.pm »