Leyka D

Total Complexity 354
Dependencies 16
Dependents 1
Total lines 2,443
Lines of code 1,654
Logical lines of code 755
Comment lines 264
Methods 60
Properties 12

Methods 60

Method Rating Maintainability Complexity Lines of code
__construct()
D
16
51 284
activate()
D
24
44 157
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
enqueue_styles()
A
44 13 46
register_user_capabilities()
A
43 11 47
add_gtm_data_layer_ua_enchanced()
A
41 8 74
get_gateways()
A
50 10 27
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
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
get_donation_status_info()
S
56 6 18
__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
add_extension()
S
66 4 8
_do_procedure()
S
58 3 15
get_donation_statuses()
S
58 3 14
register_taxonomies()
S
53 2 24
localize_scripts()
S
51 2 24
insert_rewrite_rules()
S
56 2 19
_get_template_data()
S
57 2 16
_outer_request_allowed()
S
68 3 6
_add_session_errors()
S
68 3 7
has_session_errors()
S
78 2 3
add_gateway()
S
67 2 8
remove_gateway()
S
73 2 5
get_session_errors()
S
78 2 3
remove_extension()
S
73 2 5
get_extension_by_id()
S
74 2 4
_do_currency_rates_refresh()
S
72 2 5
payment_form_has_errors()
S
80 1 3
get_donation_types()
S
67 1 7
clear_session_errors()
S
80 1 3
get_template_data()
S
80 1 3
opt()
S
79 1 3
do_currencies_rates_refresh()
S
91 1 2
get_donation_types_descriptions()
S
67 1 7
extension_is_active()
S
79 1 3
insert_rewrite_query_vars()
S
76 1 4
get_campaign_target_states()
S
67 1 7
load_public_cssjs()
S
72 1 5
apply_content_formatting()
S
71 1 6
deactivate()
S
80 1 3
get_donation_statuses_descriptions()
S
64 1 9
add_payment_form_error()
S
80 1 3
get_payment_form_errors()
S
82 1 3