WC_VAT_Number_Lookup_Service_hmrc A

Total Complexity 70
Dependencies 2
Dependents 0
Total lines 432
Lines of code 222
Logical lines of code 140
Comment lines 109
Methods 17
Properties 5

Methods 17

Method Rating Maintainability Complexity Lines of code
get_validation_result_from_network()
B
43 18 41
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
do_settings_output()
S
55 3 17
fetch()
S
57 3 15
get_authorise_url()
S
54 2 19
lookup_vat_number()
S
68 2 6
generate_random_string()
S
76 1 3
__construct()
S
79 1 3
is_configured()
S
72 1 5
get_service_name()
S
82 1 3
get_hmrc_mode()
S
79 1 3
get_supported_region_codes()
S
81 1 3
get_client_id()
S
79 1 3