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 | 68985 | use strict; | |||
1 | 3 | ||||||
1 | 30 | ||||||
3 | 1 | 1 | 5 | use warnings; | |||
1 | 3 | ||||||
1 | 35 | ||||||
4 | |||||||
5 | our $VERSION = '20230807'; | ||||||
6 | |||||||
7 | 1 | 1 | 6 | use File::Spec (); | |||
1 | 1 | ||||||
1 | 17 | ||||||
8 | 1 | 1 | 5 | use File::Basename qw(dirname); | |||
1 | 1 | ||||||
1 | 165 | ||||||
9 | |||||||
10 | sub SSL_ca_file { | ||||||
11 | 1 | 1 | 1 | 174 | 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__ |