DBus/Authn/Mechanism.pm

filter: Statementstmt 100% 17 / 17 Branchbran n/a Conditioncond 33.3% 1 / 3 MC/DCmcdc 0.0% 0 / 2 Subroutinesub 100% 6 / 6 Podpod 0.0% 0 / 2 totaltotal 80.0% 24 / 30 CC 2 SCAR 3.1
CC
2
Cov
90%
label
2.3
BEGIN
1.0
BEGIN
1.0
CRAP 1.4
« DBus/Pack.pm ↑ Summary DBus/Address.pm »
1 package Protocol::DBus::Authn::Mechanism;
2  
3 8 ▶use strict;
Subroutine BEGIN: called CC=1 SCAR=0.0
4 8 ▶use warnings;
Subroutine BEGIN: called CC=1 SCAR=0.0
5  
6 8 ▶use constant INITIAL_RESPONSE => ();
Subroutine BEGIN: called CC=1 SCAR=0.0
7 8 ▶use constant AFTER_AUTH => ();
Subroutine BEGIN: called CC=1 SCAR=0.0
8  
9 sub new {
10 6 ▶ my $self = bless {}, shift;
Subroutine new: called CC=1 SCAR=0.0
Pod undocumented
11  
12 6 return $self;
13 }
14  
15 sub label {
16 7 ▶ my $class = ref($_[0]) || $_[0];
Subroutine label: called CC=2 SCAR=8.1
Pod undocumented
Condition33%1/3
ref $_[0] || $_[0]
l!l&&r!l&&!r
700
MC/DC0%0/2
ref $_[0] || $_[0]
ref $_[0] $_[0]
Truth table33%1/3
A || B
A= ref $_[0]B= $_[0]
ABresult
1X1
011
000
17  
18 7 return substr( $class, 1 + rindex($class, ':') );
19 }
20  
21 8 1;
« DBus/Pack.pm ↑ Summary DBus/Address.pm »