SASL/Perl/EXTERNAL.pm

filter: Statementstmt 100% 20 / 20 Branchbran 100% 2 / 2 Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 7 / 7 Podpod 0.0% 0 / 2 totaltotal 93.5% 29 / 31 CC 2 SCAR 2.2
CC
2
Cov
100%
client_start
2.0
BEGIN
1.0
BEGIN
1.0
CRAP 1.2
« SASL/Perl/XOAUTH2.pm ↑ Summary SASL/Perl/CRAM_MD5.pm »
1 # Copyright (c) 1998-2002 Graham Barr <gbarr@pobox.com> and 2001 Chris Ridd
2 # <chris.ridd@isode.com>. All rights reserved. This program
3 # is free software; you can redistribute it and/or modify it under the
4 # same terms as Perl itself.
5  
6 package Authen::SASL::Perl::EXTERNAL 2.2100;
7  
8 2 ▶use strict;
Subroutine BEGIN: called CC=1 SCAR=0.0
9 2 ▶use warnings;
Subroutine BEGIN: called CC=1 SCAR=0.0
10 2 ▶use vars qw(@ISA);
Subroutine BEGIN: called CC=1 SCAR=0.0
11  
12 2 @ISA = qw(Authen::SASL::Perl);
13  
14 2 my %secflags = (
15 noplaintext => 1,
16 nodictionary => 1,
17 noanonymous => 1,
18 );
19  
20 33 ▶sub _order { 2 }
Subroutine _order: called CC=1 SCAR=0.0
21 13 ▶sub _secflags {
Subroutine _secflags: called CC=1 SCAR=0.0
22 13 shift;
23 13 grep { $secflags{$_} } @_;
24 }
25  
26 2 ▶sub mechanism { 'EXTERNAL' }
Subroutine mechanism: called CC=1 SCAR=0.0
Pod undocumented
27  
28 2 ▶sub client_start {
Subroutine client_start: called CC=2 SCAR=6.9
Pod undocumented
29 2 my $self = shift;
30 2 my $v = $self->_call('user');
31 2 ▶ defined($v) ? $v : ''
Branch: 1 branch
BranchTrueFalseTotal
defined $v ? : 1 1 2
32 }
33  
34 #sub client_step {
35 # shift->_call('user');
36 #}
37  
38 2 1;
39  
40 __END__
« SASL/Perl/XOAUTH2.pm ↑ Summary SASL/Perl/CRAM_MD5.pm »