YITH_WC_Donations B

Total Complexity 92
Dependencies 3
Dependents 1
Total lines 737
Lines of code 374
Logical lines of code 203
Comment lines 183
Methods 26
Properties 7

Methods 26

Method Rating Maintainability Complexity Lines of code
ywcds_add_donation()
A
45 9 41
ywcds_add_donation_ajax()
A
48 7 35
add()
S
49 7 30
get_cart_donation_item_from_session()
S
59 8 12
__construct()
S
43 5 45
print_cart_item_donation()
S
59 6 14
init_ywds_plugin()
S
50 4 28
print_donation_in_order()
S
60 5 12
add_new_order_item()
S
61 4 11
add_order_item_meta()
S
61 4 11
add_donation_single_product()
S
67 4 7
add_form_donation()
S
60 3 13
add_yith_donations_menu()
S
52 2 24
add_free_frontend_style_script()
S
56 2 16
add_cart_donation_item()
S
64 3 9
plugin_row_meta()
S
69 3 6
plugin_fw_loader()
S
66 3 9
get_instance()
S
72 2 6
set_donation_purchasable()
S
72 2 5
get_donations_custom_field_path()
S
65 2 9
premium_tab()
S
71 2 6
_init_messages()
S
62 1 11
register_donations_widget()
S
81 1 3
get_donation_id()
S
75 1 4
action_links()
S
75 1 4
get_message()
S
80 1 3