WC_VAT_Number_Lookup_Service_hmrc A

Total Complexity 66
Dependencies 2
Dependents 0
Total lines 418
Lines of code 203
Logical lines of code 123
Comment lines 116
Methods 17
Properties 5

Methods 17

Method Rating Maintainability Complexity Lines of code
get_validation_result_from_network()
B
43 17 40
action_auth()
A
48 10 29
refresh_access_token()
A
45 7 39
auth()
S
59 7 12
handle_url_actions()
S
67 6 7
get_access_token()
S
59 5 14
get_authorise_url()
S
54 2 19
fetch()
S
60 2 12
lookup_vat_number()
S
68 2 6
generate_random_string()
S
76 1 3
__construct()
S
91 1 2
is_configured()
S
72 1 5
get_service_name()
S
82 1 3
get_hmrc_mode()
S
79 1 3
do_settings_output()
S
80 1 3
get_supported_region_codes()
S
81 1 3
get_client_id()
S
79 1 3