| blib/lib/cPanel/APIClient/Transport.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| statement | 7 | 7 | 100.0 |
| branch | n/a | ||
| condition | n/a | ||
| subroutine | 3 | 3 | 100.0 |
| pod | 0 | 1 | 0.0 |
| total | 10 | 11 | 90.9 |
| line | stmt | bran | cond | sub | pod | time | code |
|---|---|---|---|---|---|---|---|
| 1 | package cPanel::APIClient::Transport; | ||||||
| 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 | 1031 | use strict; | |||
| 2 | 5 | ||||||
| 2 | 55 | ||||||
| 11 | 2 | 2 | 10 | use warnings; | |||
| 2 | 4 | ||||||
| 2 | 123 | ||||||
| 12 | |||||||
| 13 | sub NEEDS_CREDENTIALS { | ||||||
| 14 | 7 | 7 | 0 | 52 | return 1; | ||
| 15 | } | ||||||
| 16 | |||||||
| 17 | 1; |