blib/lib/Mozilla/CA.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
statement | 14 | 14 | 100.0 |
branch | n/a | ||
condition | n/a | ||
subroutine | 5 | 5 | 100.0 |
pod | 1 | 1 | 100.0 |
total | 20 | 20 | 100.0 |
line | stmt | bran | cond | sub | pod | time | code |
---|---|---|---|---|---|---|---|
1 | package Mozilla::CA; | ||||||
2 | 1 | 1 | 70415 | use strict; | |||
1 | 2 | ||||||
1 | 29 | ||||||
3 | 1 | 1 | 5 | use warnings; | |||
1 | 2 | ||||||
1 | 35 | ||||||
4 | |||||||
5 | our $VERSION = '20230821'; | ||||||
6 | |||||||
7 | 1 | 1 | 6 | use File::Spec (); | |||
1 | 1 | ||||||
1 | 18 | ||||||
8 | 1 | 1 | 4 | use File::Basename qw(dirname); | |||
1 | 1 | ||||||
1 | 158 | ||||||
9 | |||||||
10 | sub SSL_ca_file { | ||||||
11 | 1 | 1 | 1 | 187 | my $file = File::Spec->catfile(dirname(__FILE__), "CA", "cacert.pem"); | ||
12 | 1 | 15 | return File::Spec->rel2abs($file); | ||||
13 | } | ||||||
14 | |||||||
15 | 1; | ||||||
16 | |||||||
17 | __END__ |