File Coverage

blib/lib/Authen/SASL/Perl/ANONYMOUS.pm
Criterion Covered Total %
statement 15 16 93.7
branch n/a
condition n/a
subroutine 8 8 100.0
pod 0 3 0.0
total 23 27 85.1


line stmt bran cond sub pod time code
1             # Copyright (c) 2002 Graham Barr . All rights reserved.
2             # This program is free software; you can redistribute it and/or
3             # modify it under the same terms as Perl itself.
4              
5             package Authen::SASL::Perl::ANONYMOUS;
6             $Authen::SASL::Perl::ANONYMOUS::VERSION = '2.1700'; # TRIAL
7 2     2   14 use strict;
  2         4  
  2         61  
8 2     2   11 use warnings;
  2         3  
  2         58  
9 2     2   9 use vars qw($VERSION @ISA);
  2         3  
  2         436  
10              
11             $VERSION = "2.14";
12             @ISA = qw(Authen::SASL::Perl);
13              
14             my %secflags = (
15             noplaintext => 1,
16             );
17              
18 34     34   71 sub _order { 0 }
19             sub _secflags {
20 16     16   20 shift;
21 16         68 grep { $secflags{$_} } @_;
  0         0  
22             }
23              
24 2     2 0 298 sub mechanism { 'ANONYMOUS' }
25              
26             sub client_start {
27 1     1 0 8 shift->_call('authname')
28             }
29              
30             sub client_step {
31 1     1 0 291 shift->_call('authname')
32             }
33              
34             1;
35              
36             __END__