Branch Coverage

blib/lib/cPanel/APIClient.pm
Criterion Covered Total %
branch 12 22 54.5


line true false branch
178 0 7 if @missing
184 0 7 if (my(@extra) = sort(keys %opts))
201 0 7 if ("ARRAY" ne ref $transport)
213 0 7 if ($module->NEEDS_CREDENTIALS and not $authn)
223 0 21 if not eval "require $full_ns; 1"
233 0 7 unless (defined $username)
239 6 1 if (exists $creds_copy{'api_token'}) { }
1 0 elsif (exists $creds_copy{'password'}) { }
246 0 1 if (exists $creds_copy{'tfa_token'}) { }
260 0 7 unless (defined $val)
265 0 7 if %creds_copy