blib/lib/Tiny/OpenSSL/CertificateAuthority.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
statement | 15 | 17 | 88.2 |
branch | n/a | ||
condition | n/a | ||
subroutine | 5 | 6 | 83.3 |
pod | 1 | 1 | 100.0 |
total | 21 | 24 | 87.5 |
line | stmt | bran | cond | sub | pod | time | code |
---|---|---|---|---|---|---|---|
1 | 1 | 1 | 470 | use strict; | |||
1 | 1 | ||||||
1 | 30 | ||||||
2 | 1 | 1 | 4 | use warnings; | |||
1 | 1 | ||||||
1 | 47 | ||||||
3 | |||||||
4 | package Tiny::OpenSSL::CertificateAuthority; | ||||||
5 | |||||||
6 | # ABSTRACT: Certificate Authority object. | ||||||
7 | our $VERSION = '0.1.2'; # VERSION | ||||||
8 | |||||||
9 | 1 | 1 | 3 | use Moo; | |||
1 | 1 | ||||||
1 | 7 | ||||||
10 | 1 | 1 | 266 | use Capture::Tiny qw( :all ); | |||
1 | 1 | ||||||
1 | 135 | ||||||
11 | 1 | 1 | 5 | use Tiny::OpenSSL::Config qw($CONFIG); | |||
1 | 1 | ||||||
1 | 111 | ||||||
12 | |||||||
13 | extends 'Tiny::OpenSSL::Certificate'; | ||||||
14 | |||||||
15 | sub sign { | ||||||
16 | 0 | 0 | 1 | my $self = shift; | |||
17 | |||||||
18 | 0 | return 1; | |||||
19 | } | ||||||
20 | |||||||
21 | 1; | ||||||
22 | |||||||
23 | __END__ |