Common/URI/pop.pm

filter: Statementstmt 100% 24 / 24 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 6 / 6 Podpod n/a totaltotal 100% 30 / 30 CC 1 SCAR 0.0
CC
1
Cov
100%
BEGIN
1.0
BEGIN
1.0
BEGIN
1.0
CRAP 1.0
« Common/URI/news.pm ↑ Summary Common/URI/prospero.pm »
1 package Regexp::Common::URI::pop;
2  
3 71 ▶use Regexp::Common qw /pattern clean no_defaults/;
Subroutine BEGIN: called CC=1 SCAR=0.0
4 71 ▶use Regexp::Common::URI qw /register_uri/;
Subroutine BEGIN: called CC=1 SCAR=0.0
5 71 ▶use Regexp::Common::URI::RFC1738 qw /$host $port/;
Subroutine BEGIN: called CC=1 SCAR=0.0
6 71 ▶use Regexp::Common::URI::RFC2384 qw /$enc_user $enc_auth_type/;
Subroutine BEGIN: called CC=1 SCAR=0.0
7  
8 71 ▶use strict;
Subroutine BEGIN: called CC=1 SCAR=0.0
9 71 ▶use warnings;
Subroutine BEGIN: called CC=1 SCAR=0.0
10  
11 71 our $VERSION = '2024080801';
12  
13  
14 71 my $scheme = "pop";
15 71 my $uri = "(?k:(?k:$scheme)://(?:(?k:$enc_user)" .
16 "(?:;AUTH=(?k:[*]|$enc_auth_type))?\@)?" .
17 "(?k:$host)(?::(?k:$port))?)";
18  
19 71 register_uri $scheme => $uri;
20  
21 71 pattern name => [qw (URI POP)],
22 create => $uri,
23 ;
24  
25 71 1;
26  
27 __END__
« Common/URI/news.pm ↑ Summary Common/URI/prospero.pm »