WC_VAT_Number_Lookup_Service_hmrc B

Total Complexity 90
Dependencies 2
Dependents 0
Total lines 560
Lines of code 283
Logical lines of code 186
Comment lines 145
Methods 21
Properties 0

Methods 21

Method Rating Maintainability Complexity Lines of code
get_validation_result_from_network()
B
43 18 41
action_auth()
A
44 12 41
refresh_access_token()
A
42 8 48
get_access_token()
A
51 9 25
auth()
S
59 7 12
get_encryption_key()
S
60 7 12
handle_url_actions()
S
67 6 7
do_settings_output()
S
54 4 18
fetch()
S
57 3 15
get_authorise_url()
S
54 2 19
lookup_vat_number()
S
68 2 6
get_encryption_key_length()
S
79 2 3
encrypt_string()
S
65 2 8
get_service_name()
S
82 1 3
is_configured()
S
72 1 5
get_client_id()
S
79 1 3
get_hmrc_mode()
S
79 1 3
decrypt_string()
S
72 1 5
generate_random_string()
S
76 1 3
get_supported_region_codes()
S
81 1 3
__construct()
S
79 1 3