Pardot_Settings D

Total Complexity 182
Dependencies 4
Dependents 7
Total lines 1,622
Lines of code 797
Logical lines of code 376
Comment lines 591
Methods 48
Properties 8

Methods 48

Method Rating Maintainability Complexity Lines of code
admin_init()
C
31 28 95
sanitize_fields()
B
37 22 69
get_settings()
B
49 18 30
auth_status_field()
A
47 8 41
is_admin_page()
A
59 9 13
__construct()
A
52 8 23
admin_notices()
S
55 7 19
campaign_field()
S
47 6 34
admin_head()
S
42 1 105
get_api()
S
59 7 13
set_setting()
S
57 5 17
decrypt_or_original()
S
63 4 11
get_admin_page_link()
S
60 4 11
old_decrypt_or_original()
S
63 4 11
reset_settings()
S
56 3 22
auth_type_field()
S
58 3 17
version_field()
S
58 3 17
old_pardot_decrypt()
S
58 3 14
retrieve_api_error()
S
66 3 8
client_secret_field()
S
62 2 12
password_field()
S
62 2 12
https_field()
S
63 2 11
submit_field()
S
55 1 23
settings_page()
S
57 1 16
pardot_chosen_enqueue()
S
67 2 7
pardot_chosen_init()
S
67 1 15
get_api_key()
S
79 2 3
get_empty_settings()
S
65 2 9
get_setting()
S
66 2 8
client_id_field()
S
61 1 13
user_key_field()
S
61 1 13
business_unit_id_field()
S
61 1 13
admin_menu()
S
74 1 4
upgrade_old_password()
S
75 1 4
is_authenticated()
S
80 1 3
base64url_encode()
S
70 1 6
get_admin_page_url()
S
79 1 3
clear_setting()
S
79 1 3
create_code_verifier()
S
72 1 5
extract_auth_args()
S
76 1 3
authenticate()
S
80 1 3
pre_update_option_pardot_settings()
S
64 1 10
user_account_section()
S
75 1 4
_get_html_name()
S
79 1 3
pardot_decrypt()
S
75 1 4
pardot_encrypt()
S
75 1 4
email_field()
S
65 1 10
self()
S
81 1 3