DJabberd/SASL/Connection/AuthenSASL.pm untested

filter: Statementstmt 0.0% 0 / 16 Branchbran n/a Conditioncond 0.0% 0 / 3 MC/DCmcdc 0.0% 0 / 2 Subroutinesub 0.0% 0 / 6 Podpod 0.0% 0 / 3 totaltotal 0.0% 0 / 30 CC 1 SCAR 6.9
CC
1
Cov
0%
new
2.0
DESTROY
2.0
AUTOLOAD
2.0
CRAP 2.0
1 package DJabberd::SASL::Connection::AuthenSASL;
2 use strict;
3 use warnings;
4 use base 'DJabberd::SASL::Connection';
5  
6 sub new {
7 my $class = shift;
8 my $sasl_conn = shift;
9 return bless { impl => $sasl_conn }, ref $class || $class;
10 }
11  
12 sub DESTROY { }
13  
14 sub AUTOLOAD {
15 my $obj = shift;
16 (my $meth = our $AUTOLOAD) =~ s/^.*:://;
17 return $obj->{impl}->$meth(@_);
18 }
19  
20 1;