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 | 69275 | use strict; | |||
1 | 3 | ||||||
1 | 28 | ||||||
3 | 1 | 1 | 6 | use warnings; | |||
1 | 2 | ||||||
1 | 35 | ||||||
4 | |||||||
5 | our $VERSION = '20230801'; | ||||||
6 | |||||||
7 | 1 | 1 | 6 | use File::Spec (); | |||
1 | 3 | ||||||
1 | 17 | ||||||
8 | 1 | 1 | 5 | use File::Basename qw(dirname); | |||
1 | 2 | ||||||
1 | 163 | ||||||
9 | |||||||
10 | sub SSL_ca_file { | ||||||
11 | 1 | 1 | 1 | 204 | my $file = File::Spec->catfile(dirname(__FILE__), "CA", "cacert.pem"); | ||
12 | 1 | 19 | return File::Spec->rel2abs($file); | ||||
13 | } | ||||||
14 | |||||||
15 | 1; | ||||||
16 | |||||||
17 | __END__ |