Leyka D

Total Complexity 326
Dependencies 15
Dependents 12
Total lines 2,324
Lines of code 1,562
Logical lines of code 695
Comment lines 256
Methods 63
Properties 12

Methods 63

Method Rating Maintainability Complexity Lines of code
__construct()
D
15
51 300
parse_request()
B
43 18 40
handle_non_init_recurring_donor_registration()
B
33 13 109
get_templates()
B
43 16 50
__get()
A
51 17 23
get_gateways()
A
44 15 41
enqueue_styles()
A
44 13 46
register_user_capabilities()
A
43 11 47
add_gtm_data_layer_ua_enchanced()
A
41 8 74
log_submission()
A
47 9 32
_get_usage_stats()
A
46 8 36
gateway_redirect_page()
A
47 7 35
_do_payment_form_submission()
A
45 6 46
add_gtm_data_layer_ua_simple()
S
46 6 43
register_post_types()
S
35 2 101
get_donation_status_info()
S
54 7 22
refresh_donors_data()
S
55 7 21
enqueue_scripts()
S
50 6 34
add_gtm_data_layer_ua_enchanced_ua_only()
S
50 6 29
add_inline_custom_css()
S
59 7 13
__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
apply_terms_pages_content_placeholders()
S
63 5 10
get_template()
S
60 4 13
handle_donor_account_creation_error()
S
47 2 42
add_extension()
S
66 4 8
_do_procedure()
S
58 3 15
get_donation_statuses()
S
58 3 14
localize_scripts()
S
51 2 24
register_taxonomies()
S
53 2 24
insert_rewrite_rules()
S
56 2 19
_get_template_data()
S
57 2 16
_outer_request_allowed()
S
68 3 6
activate()
S
69 3 6
_add_session_errors()
S
68 3 7
add_gateway()
S
67 2 8
remove_gateway()
S
73 2 5
remove_extension()
S
73 2 5
get_extension_by_id()
S
74 2 4
_do_currency_rates_refresh()
S
72 2 5
get_session_errors()
S
78 2 3
has_session_errors()
S
78 2 3
get_template_data()
S
80 1 3
opt()
S
79 1 3
insert_rewrite_query_vars()
S
76 1 4
deactivate()
S
80 1 3
payment_form_has_errors()
S
80 1 3
extension_is_active()
S
79 1 3
do_currencies_rates_refresh()
S
91 1 2
load_public_cssjs()
S
72 1 5
get_payment_form_errors()
S
82 1 3
apply_content_formatting()
S
71 1 6
get_campaign_target_states()
S
67 1 7
get_donor_types()
S
69 1 6
get_donation_statuses_descriptions_for_donors()
S
64 1 9
add_payment_form_error()
S
80 1 3
get_donation_types_descriptions()
S
67 1 7
get_donation_types()
S
67 1 7
clear_session_errors()
S
80 1 3
get_donation_statuses_descriptions()
S
64 1 9