Leyka D

Total Complexity 315
Dependencies 14
Dependents 1
Total lines 2,204
Lines of code 1,499
Logical lines of code 665
Comment lines 229
Methods 59
Properties 12

Methods 59

Method Rating Maintainability Complexity Lines of code
__construct()
D
19
39 257
activate()
C
36 29 69
parse_request()
B
43 18 41
handle_non_init_recurring_donor_registration()
B
33 13 109
get_templates()
B
43 16 50
enqueue_styles()
A
44 13 46
__get()
A
55 13 18
register_user_capabilities()
A
43 11 47
add_gtm_data_layer_ua_enchanced()
A
40 8 76
_get_usage_stats()
A
43 9 46
get_gateways()
A
50 10 27
log_submission()
A
50 8 25
gateway_redirect_page()
A
49 7 31
add_gtm_data_layer_ua_simple()
S
46 6 45
_do_payment_form_submission()
S
47 6 38
refresh_donors_data()
S
55 7 21
enqueue_scripts()
S
50 6 34
add_inline_custom_css()
S
58 7 14
add_gtm_data_layer_ua_enchanced_ua_only()
S
50 6 29
register_post_types()
S
36 1 99
__set()
S
62 6 12
template_is_disabled()
S
56 5 17
get_extensions()
S
59 5 15
add_toolbar_menu()
S
49 3 36
template_is_deprecated()
S
56 4 17
get_template()
S
60 4 13
handle_donor_account_creation_error()
S
47 2 42
localize_scripts()
S
50 3 26
add_extension()
S
66 4 8
get_donation_statuses()
S
58 3 14
register_taxonomies()
S
53 2 24
_get_template_data()
S
57 2 16
_add_session_errors()
S
68 3 7
_outer_request_allowed()
S
68 3 6
get_extension_by_id()
S
74 2 4
_do_currency_rates_refresh()
S
72 2 5
has_session_errors()
S
78 2 3
_do_procedure()
S
64 2 9
get_session_errors()
S
78 2 3
remove_extension()
S
73 2 5
remove_gateway()
S
73 2 5
add_gateway()
S
67 2 8
insert_rewrite_rules()
S
62 1 11
apply_content_formatting()
S
71 1 6
get_payment_form_errors()
S
82 1 3
clear_session_errors()
S
80 1 3
get_template_data()
S
80 1 3
get_donation_types()
S
67 1 7
opt()
S
79 1 3
get_donation_types_descriptions()
S
67 1 7
do_currencies_rates_refresh()
S
91 1 2
get_campaign_target_states()
S
67 1 7
extension_is_active()
S
79 1 3
deactivate()
S
80 1 3
insert_rewrite_query_vars()
S
76 1 4
payment_form_has_errors()
S
80 1 3
load_public_cssjs()
S
73 1 5
add_payment_form_error()
S
80 1 3
get_donation_statuses_descriptions()
S
64 1 9