YITH_WC_Donations B

Total Complexity 93
Dependencies 2
Dependents 1
Total lines 818
Lines of code 405
Logical lines of code 202
Comment lines 272
Methods 26
Properties 7

Methods 26

Method Rating Maintainability Complexity Lines of code
ywcds_add_donation()
A
44 8 48
ywcds_add_donation_ajax()
A
48 8 35
__construct()
A
40 5 63
add()
A
48 7 32
get_cart_donation_item_from_session()
S
59 8 12
print_cart_item_donation()
S
58 7 14
add_order_item_meta()
S
61 5 11
add_new_order_item()
S
61 5 11
print_donation_in_order()
S
61 4 12
init_ywds_plugin()
S
52 3 25
add_donation_single_product()
S
67 4 7
add_form_donation()
S
59 3 14
add_yith_donations_menu()
S
51 2 27
add_free_frontend_style_script()
S
56 2 16
plugin_row_meta()
S
69 3 6
plugin_fw_loader()
S
66 3 9
add_cart_donation_item()
S
64 3 9
get_donations_custom_field_path()
S
62 2 12
get_instance()
S
72 2 6
set_donation_purchasable()
S
72 2 5
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