DBus/Authn/Mechanism.pm

filter: Statementstmt 100% 20 / 20 Branchbran n/a Conditioncond 33.3% 1 / 3 MC/DCmcdc 0.0% 0 / 2 Subroutinesub 100% 7 / 7 Podpod 0.0% 0 / 2 totaltotal 82.3% 28 / 34 CC 2 SCAR 2.7
CC
2
Cov
91%
label
2.3
BEGIN
1.0
BEGIN
1.0
CRAP 1.3
« DBus/Pack.pm ↑ Summary DBus/Address.pm »
1 package Protocol::DBus::Authn::Mechanism;
2  
3 17 ▶use strict;
Subroutine BEGIN: called CC=1 SCAR=0.0
4 17 ▶use warnings;
Subroutine BEGIN: called CC=1 SCAR=0.0
5  
6 17 ▶use constant INITIAL_RESPONSE => ();
Subroutine BEGIN: called CC=1 SCAR=0.0
7 17 ▶use constant AFTER_AUTH => ();
Subroutine BEGIN: called CC=1 SCAR=0.0
8  
9 17 ▶use constant on_rejected => ();
Subroutine BEGIN: called CC=1 SCAR=0.0
10  
11 10 ▶sub new {
Subroutine new: called CC=1 SCAR=0.0
Pod undocumented
12 10 my $self = bless {}, shift;
13  
14 10 return $self;
15 }
16  
17 17 ▶sub label {
Subroutine label: called CC=2 SCAR=8.1
Pod undocumented
18 17 ▶ my $class = ref($_[0]) || $_[0];
Condition33%1/3
ref $_[0] || $_[0]
l!l&&r!l&&!r
1700
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
19  
20 17 return substr( $class, 1 + rindex($class, ':') );
21 }
22  
23 17 1;
« DBus/Pack.pm ↑ Summary DBus/Address.pm »