URI/ldapi.pm

filter: Statementstmt 91.6% 22 / 24 Branchbran 100% 2 / 2 Conditioncond n/a MC/DCmcdc n/a Subroutinesub 83.3% 5 / 6 Podpod 0.0% 0 / 1 totaltotal 87.8% 29 / 33 CC 2 SCAR 3.6
CC
2
Cov
92%
un_path
2.0
_nonldap_canonical
2.0
BEGIN
1.0
CRAP 1.4
« URI/ftp.pm ↑ Summary URI/rlogin.pm »
1 package URI::ldapi;
2  
3 1 ▶use strict;
Subroutine BEGIN: called CC=1 SCAR=0.0
4 1 ▶use warnings;
Subroutine BEGIN: called CC=1 SCAR=0.0
5  
6 1 our $VERSION = '5.40';
7  
8 1 ▶use parent qw(URI::_ldap URI::_generic);
Subroutine BEGIN: called CC=1 SCAR=0.0
9  
10 1 ▶use URI::Escape ();
Subroutine BEGIN: called CC=1 SCAR=0.0
11  
12 2 ▶sub un_path {
Subroutine un_path: called CC=2 SCAR=6.9
Pod undocumented
13 2 my $self = shift;
14 2 my $old = URI::Escape::uri_unescape($self->authority);
15 2 ▶ if (@_) {
Branch: 1 branch
BranchTrueFalseTotal
if (@_) 1 1 2
16 1 my $p = shift;
17 1 $p =~ s/:/%3A/g;
18 1 $p =~ s/\@/%40/g;
19 1 $self->authority($p);
20 }
21 2 return $old;
22 }
23  
24 0 ▶sub _nonldap_canonical {
Subroutine _nonldap_canonical: not called CC=1 SCAR=6.9
25 0 my $self = shift;
26 0 $self->URI::_generic::canonical(@_);
27 }
28  
29 1 1;
« URI/ftp.pm ↑ Summary URI/rlogin.pm »