LDAP.pm

filter: Statementstmt 79.1% 19 / 24 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 83.3% 5 / 6 Podpod 0.0% 0 / 1 totaltotal 77.4% 24 / 31 CC 1 SCAR 1.5
CC
1
Cov
79%
run
2.0
BEGIN
1.0
BEGIN
1.0
CRAP 1.2
« LDAP/LDIF/User.pm ↑ Summary LDAP/Command/Migrate/Group.pm »
1 package App::LDAP;
2  
3 1 our $VERSION = '0.1.2';
4  
5 1 ▶use Modern::Perl;
Subroutine BEGIN: called CC=1 SCAR=0.0
6  
7 1 ▶use Moose;
Subroutine BEGIN: called CC=1 SCAR=0.0
8 1 ▶use MooseX::Singleton;
Subroutine BEGIN: called CC=1 SCAR=0.0
9  
10 1 ▶use App::LDAP::Command;
Subroutine BEGIN: called CC=1 SCAR=0.0
11  
12 1 with 'App::LDAP::Role';
13  
14 0 ▶sub run {
Subroutine run: not called CC=1 SCAR=6.9
Pod undocumented
15 0 my ($self,) = @_;
16  
17 0 App::LDAP::Config->read;
18 0 App::LDAP::Secret->read;
19  
20 App::LDAP::Connection->new(
21 config()->{uri},
22 port => config()->{port},
23 version => config()->{ldap_version},
24 0 onerror => 'die',
25 );
26  
27 0 App::LDAP::Command
28 ->dispatch(@ARGV)
29 ->new_with_options
30 ->prepare()
31 ->run();
32 }
33  
34 1 __PACKAGE__->meta->make_immutable;
35 1 ▶no Moose;
Subroutine BEGIN: called CC=1 SCAR=0.0
36  
37 1 1;
38 __END__
« LDAP/LDIF/User.pm ↑ Summary LDAP/Command/Migrate/Group.pm »