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 SCAR 6.9
CC
2
Cov
91%
label
2.3
BEGIN
1.0
BEGIN
1.0
CRAP 2.0
« DBus/X/Base.pm ↑ Summary DBus/Address.pm »
1 package Protocol::DBus::Authn::Mechanism;
2  
3 9 ▶use strict;
Subroutine BEGIN: called CC=1 SCAR=0.0
4 9 ▶use warnings;
Subroutine BEGIN: called CC=1 SCAR=0.0
5  
6 9 ▶use constant INITIAL_RESPONSE => ();
Subroutine BEGIN: called CC=1 SCAR=0.0
7 9 ▶use constant AFTER_AUTH => ();
Subroutine BEGIN: called CC=1 SCAR=0.0
8  
9 9 ▶use constant on_rejected => ();
Subroutine BEGIN: called CC=1 SCAR=0.0
10  
11 sub new {
12 6 ▶ my $self = bless {}, shift;
Subroutine new: called CC=1 SCAR=0.0
Pod undocumented
13  
14 6 return $self;
15 }
16  
17 sub label {
18 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
19  
20 7 return substr( $class, 1 + rindex($class, ':') );
21 }
22  
23 9 1;
« DBus/X/Base.pm ↑ Summary DBus/Address.pm »