Client/Response/Success.pm

filter: Statementstmt 100% 14 / 14 Branchbran n/a Conditioncond 33.3% 1 / 3 MC/DCmcdc 0.0% 0 / 2 Subroutinesub 100% 4 / 4 Podpod 0.0% 0 / 1 totaltotal 79.1% 19 / 24 CC 2 SCAR 3.8
CC
2
Cov
88%
new
2.1
BEGIN
1.0
BEGIN
1.0
CRAP 1.5
« Client/Response.pm ↑ Summary ModPerl2.pm »
1 package LibCAS::Client::Response::Success;
2  
3 6 ▶use strict;
Subroutine BEGIN: called CC=1 SCAR=0.0
4 6 ▶use warnings;
Subroutine BEGIN: called CC=1 SCAR=0.0
5  
6 6 ▶use base "LibCAS::Client::Response";
Subroutine BEGIN: called CC=1 SCAR=0.0
7  
8 6 our $VERSION = '0.01';
9  
10 3 ▶sub new {
Subroutine new: called CC=2 SCAR=7.6
Pod undocumented
11 3 my $this = shift;
12 3 ▶ my $class = ref($this) || $this;
Condition33%1/3
ref $this || $this
l!l&&r!l&&!r
030
MC/DC0%0/2
ref $this || $this
ref $this $this
Truth table33%1/3
A || B
A= ref $thisB= $this
ABresult
1X1
011
000
13
14 3 return $class->SUPER::new(@_, ok => 1);
15 }
16  
17 6 1;
« Client/Response.pm ↑ Summary ModPerl2.pm »