Authentication/Store/Null.pm

filter: Statementstmt 72.7% 16 / 22 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 62.5% 5 / 8 Podpod 100% 5 / 5 totaltotal 74.2% 26 / 35 CC 1 SCAR 3.2
CC
1
Cov
73%
for_session
2.0
from_session
2.0
user_supports
2.0
CRAP 1.4
« Plugin/Authentication/Store/Minimal.pm ↑ Summary Authentication/Realm/Compatibility.pm »
1 package Catalyst::Authentication::Store::Null;
2 2 ▶use Moose;
Subroutine BEGIN: called CC=1 SCAR=0.0
3 2 ▶use namespace::autoclean;
Subroutine BEGIN: called CC=1 SCAR=0.0
4  
5 2 with 'MooseX::Emulate::Class::Accessor::Fast';
6  
7 2 ▶use Catalyst::Authentication::User::Hash;
Subroutine BEGIN: called CC=1 SCAR=0.0
8  
9 2 __PACKAGE__->mk_accessors( qw( _config ) );
10  
11 2 ▶sub new {
Subroutine new: called CC=1 SCAR=0.0
Pod documented
12 2 my ( $class, $config, $app, $realm ) = @_;
13 2 bless { _config => $config }, $class;
14 }
15  
16 0 ▶sub for_session {
Subroutine for_session: not called CC=1 SCAR=6.9
Pod documented
17 0 my ( $self, $c, $user ) = @_;
18 0 return $user;
19 }
20  
21 0 ▶sub from_session {
Subroutine from_session: not called CC=1 SCAR=6.9
Pod documented
22 0 my ( $self, $c, $user ) = @_;
23 0 return $user;
24 }
25  
26 7 ▶sub find_user {
Subroutine find_user: called CC=1 SCAR=0.0
Pod documented
27 7 my ( $self, $userinfo, $c ) = @_;
28 7 return bless $userinfo, 'Catalyst::Authentication::User::Hash';
29 }
30  
31 0 ▶sub user_supports {
Subroutine user_supports: not called CC=1 SCAR=6.9
Pod documented
32 0 my $self = shift;
33 0 Catalyst::Authentication::User::Hash->supports(@_);
34 }
35  
36 2 1;
37  
38 __END__
« Plugin/Authentication/Store/Minimal.pm ↑ Summary Authentication/Realm/Compatibility.pm »