SRS/Keyring.pm

filter: Statementstmt 93.3% 14 / 15 Branchbran 0.0% 0 / 2 Conditioncond n/a MC/DCmcdc n/a Subroutinesub 80.0% 4 / 5 Podpod n/a totaltotal 81.8% 18 / 22 CC 2 SCAR 9.8
CC
2
Cov
82%
__ANON__
6.0
BEGIN
1.0
BEGIN
1.0
CRAP 2.7
« SRS/Time.pm ↑ Summary SRS/Version.pm »
1  
2 package XML::SRS::Keyring;
3 1 ▶BEGIN {
Subroutine BEGIN: called CC=1 SCAR=0.0
4 1 $XML::SRS::Keyring::VERSION = '0.09';
5 }
6  
7 1 ▶use Moose;
Subroutine BEGIN: called CC=1 SCAR=0.0
8 1 ▶use PRANG::Graph;
Subroutine BEGIN: called CC=1 SCAR=0.0
9 1 ▶use Moose::Util::TypeConstraints;
Subroutine BEGIN: called CC=1 SCAR=0.0
10  
11 subtype 'XML::SRS::PGP::PubKey'
12 => as "Str"
13 0 ▶ => where {
Subroutine __ANON__: not called CC=2 SCAR=17.9
14 0 ▶ m{\A-----BEGIN PGP PUBLIC KEY} &&
Branch: 1 branch
BranchTrueFalseTotal
/\A-----BEGIN PGP PUBLIC KEY/ and /-----END PGP PUBLIC KEY.*\Z/ 0 0 0
15 m{-----END PGP PUBLIC KEY.*\Z};
16 1 };
17  
18 1 has_element 'keys' =>
19 is => "rw",
20 isa => "ArrayRef[Str]",
21 xml_nodeName => "EncryptKey",
22 ;
23  
24 1 with 'XML::SRS::Node';
25  
26 1 1;
« SRS/Time.pm ↑ Summary SRS/Version.pm »