WC_VAT_Number_Lookup_Service_hmrc A

Total Complexity 70
Dependencies 2
Dependents 0
Total lines 433
Lines of code 228
Logical lines of code 143
Comment lines 110
Methods 17
Properties 5

Methods 17

Method Rating Maintainability Complexity Lines of code
get_validation_result_from_network()
A
48 12 28
action_auth()
A
48 10 29
refresh_access_token()
A
45 7 39
fetch()
S
49 6 31
auth()
S
59 7 12
do_settings_output()
S
52 5 21
handle_url_actions()
S
67 6 7
get_access_token()
S
59 5 14
get_authorise_url()
S
54 2 19
lookup_vat_number()
S
68 2 6
is_configured()
S
75 2 4
generate_random_string()
S
76 1 3
__construct()
S
79 1 3
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