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 2.2000;
6              
7 2     2   14 use strict;
  2         4  
  2         81  
8 2     2   10 use warnings;
  2         3  
  2         191  
9 2     2   15 use vars qw(@ISA);
  2         3  
  2         453  
10              
11             @ISA = qw(Authen::SASL::Perl);
12              
13             my %secflags = (
14             noplaintext => 1,
15             );
16              
17 38     38   123 sub _order { 0 }
18             sub _secflags {
19 16     16   27 shift;
20 16         66 grep { $secflags{$_} } @_;
  0         0  
21             }
22              
23 2     2 0 2180 sub mechanism { 'ANONYMOUS' }
24              
25             sub client_start {
26 1     1 0 8 shift->_call('authname')
27             }
28              
29             sub client_step {
30 1     1 0 288 shift->_call('authname')
31             }
32              
33             1;
34              
35             __END__