ActiveDirectory/Group.pm

filter: Statementstmt 100% 15 / 15 Branchbran 100% 2 / 2 Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 4 / 4 Podpod 100% 2 / 2 totaltotal 100% 23 / 23 CC 2 SCAR 3.4
CC
2
Cov
100%
name
2.0
BEGIN
1.0
BEGIN
1.0
CRAP 1.4
« ActiveDirectory/User.pm ↑ Summary
1 package Auth::ActiveDirectory::Group;
2  
3 2 ▶use strict;
Subroutine BEGIN: called CC=1 SCAR=0.0
4 2 ▶use warnings;
Subroutine BEGIN: called CC=1 SCAR=0.0
5  
6 =head1 NAME
7  
8 Auth::ActiveDirectory::Group - Authentication module for MS ActiveDirectory
9  
10 =head1 VERSION
11  
12 Version 0.02
13  
14 =cut
15  
16 2 our $VERSION = '0.02';
17  
18 =head1 SYNOPSIS
19  
20 Quick summary of what the module does.
21  
22 =head1 SUBROUTINES/METHODS
23  
24 =cut
25  
26 =head2 new
27  
28 Constructor
29  
30 =cut
31  
32 10 ▶sub new {
Subroutine new: called CC=1 SCAR=0.0
Pod documented
33 10 my $class = shift;
34 10 my $self = {@_};
35 10 bless $self, $class;
36 10 return $self;
37 }
38  
39 =head2 name
40  
41 Getter/Setter for internal hash key name.
42  
43 =cut
44  
45 6 ▶sub name {
Subroutine name: called CC=2 SCAR=6.9
Pod documented
46 6 ▶ return $_[0]->{name} unless $_[1];
Branch: 1 branch
BranchTrueFalseTotal
unless $_[1] 5 1 6
47 1 $_[0]->{name} = $_[1];
48 1 return $_[0]->{name};
49 }
50  
51 2 1; # End of uth::ActiveDirectory::Group
52  
53 __END__
« ActiveDirectory/User.pm ↑ Summary