-
Home
-
Account Engagement
-
2.1.2 (latest)
-
Code
-
Classes
- Pardot_Settings
| Total Complexity |
140 |
| Dependencies |
5 |
| Dependents |
7 |
| Total lines |
1,385 |
| Lines of code |
618 |
| Logical lines of code |
293 |
| Comment lines |
537 |
| Methods |
41 |
| Properties |
8 |
Methods 41
| Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
| admin_init() |
B |
34 |
21 |
83 |
| sanitize_fields() |
A |
42 |
15 |
51 |
| get_settings() |
A |
52 |
14 |
25 |
| is_admin_page() |
A |
59 |
9 |
13 |
| campaign_field() |
S |
48 |
6 |
31 |
| get_api() |
S |
58 |
7 |
15 |
| auth_status_field() |
S |
51 |
6 |
28 |
| admin_head() |
S |
45 |
1 |
77 |
| admin_notices() |
S |
59 |
5 |
14 |
| decrypt_or_original() |
S |
63 |
5 |
11 |
| pre_update_option_pardot_settings() |
S |
58 |
4 |
16 |
| get_admin_page_link() |
S |
60 |
4 |
11 |
| reset_settings() |
S |
55 |
3 |
22 |
| version_field() |
S |
58 |
3 |
17 |
| __construct() |
S |
60 |
3 |
13 |
| retrieve_api_error() |
S |
66 |
3 |
8 |
| client_secret_field() |
S |
62 |
2 |
12 |
| https_field() |
S |
63 |
2 |
11 |
| submit_field() |
S |
55 |
1 |
23 |
| settings_page() |
S |
57 |
1 |
16 |
| get_empty_settings() |
S |
65 |
2 |
9 |
| get_api_key() |
S |
79 |
2 |
3 |
| pardot_chosen_enqueue() |
S |
67 |
2 |
7 |
| pardot_chosen_init() |
S |
67 |
1 |
15 |
| get_setting() |
S |
66 |
2 |
8 |
| client_id_field() |
S |
61 |
1 |
13 |
| business_unit_id_field() |
S |
61 |
1 |
13 |
| self() |
S |
81 |
1 |
3 |
| admin_menu() |
S |
74 |
1 |
4 |
| is_authenticated() |
S |
80 |
1 |
3 |
| base64url_encode() |
S |
70 |
1 |
6 |
| create_code_verifier() |
S |
72 |
1 |
5 |
| extract_auth_args() |
S |
77 |
1 |
3 |
| authenticate() |
S |
80 |
1 |
3 |
| user_account_section() |
S |
75 |
1 |
4 |
| _get_html_name() |
S |
79 |
1 |
3 |
| pardot_encrypt() |
S |
75 |
1 |
4 |
| pardot_decrypt() |
S |
75 |
1 |
4 |
| set_setting() |
S |
72 |
1 |
5 |
| clear_setting() |
S |
79 |
1 |
3 |
| get_admin_page_url() |
S |
79 |
1 |
3 |