Subroutine Coverage

blib/lib/Tesla/API.pm
Criterion Covered Total %
subroutine 43 45 95.5
pod 11 11 100.0


line count pod subroutine
3 28 n/a BEGIN
4 28 n/a BEGIN
6 28 n/a BEGIN
7 28 n/a BEGIN
8 28 n/a BEGIN
9 28 n/a BEGIN
10 28 n/a BEGIN
11 28 n/a BEGIN
12 28 n/a BEGIN
13 28 n/a BEGIN
14 28 n/a BEGIN
15 28 n/a BEGIN
16 28 n/a BEGIN
17 28 n/a BEGIN
33 28 n/a BEGIN
52 28 n/a BEGIN
57 28 Yes new
78 7 Yes api
147 7 Yes api_cache_clear
151 17 Yes api_cache_persist
158 20 Yes api_cache_time
168 45 Yes endpoints
195 10 Yes mech
214 1165 Yes option_codes
243 5 Yes update_data_files
319 8 Yes useragent_string
329 21 Yes useragent_timeout
348 0 n/a _access_token
365 9 n/a _access_token_data
387 1 n/a _access_token_generate
421 2 n/a _access_token_valid
437 5 n/a _access_token_set_expiry
452 0 n/a _access_token_refresh
489 2 n/a _access_token_update
504 16 n/a _api_attempts
519 14 n/a _api_cache
538 6 n/a _api_cache_data
541 11 n/a _authentication_cache_file
555 3 n/a _authentication_code
587 3 n/a _authentication_code_extract
603 2 n/a _authentication_code_url
630 6 n/a _authentication_code_verifier
644 4 n/a _decode
652 4 n/a _random_string
660 2 n/a _tesla_api_call