| blib/lib/cPanel/APIClient/Authn.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| statement | 8 | 8 | 100.0 |
| branch | n/a | ||
| condition | n/a | ||
| subroutine | 4 | 5 | 80.0 |
| pod | 0 | 3 | 0.0 |
| total | 12 | 16 | 75.0 |
| line | stmt | bran | cond | sub | pod | time | code |
|---|---|---|---|---|---|---|---|
| 1 | package cPanel::APIClient::Authn; | ||||||
| 2 | |||||||
| 3 | # Copyright 2020 cPanel, L. L. C. | ||||||
| 4 | # All rights reserved. | ||||||
| 5 | # http://cpanel.net | ||||||
| 6 | # | ||||||
| 7 | # This is free software; you can redistribute it and/or modify it under the | ||||||
| 8 | # same terms as Perl itself. See L |
||||||
| 9 | |||||||
| 10 | 2 | 2 | 1025 | use strict; | |||
| 2 | 4 | ||||||
| 2 | 67 | ||||||
| 11 | 2 | 2 | 11 | use warnings; | |||
| 2 | 12 | ||||||
| 2 | 169 | ||||||
| 12 | |||||||
| 13 | 14 | 14 | 0 | 51 | sub needs_session { 0 } | ||
| 14 | |||||||
| 15 | 7 | 7 | 0 | 21 | sub get_url_path_prefix { q<> } | ||
| 16 | |||||||
| 17 | 0 | 0 | sub get_http_headers_for_service { } | ||||
| 18 | |||||||
| 19 | 1; |