YITH_Commissions D

Total Complexity 216
Dependencies 2
Dependents 3
Total lines 1,448
Lines of code 772
Logical lines of code 475
Comment lines 430
Methods 38
Properties 9

Methods 38

Method Rating Maintainability Complexity Lines of code
get_commissions()
D
19
59 191
register_commissions()
B
36 17 71
register_commission_refund()
B
37 16 71
calculate_commission()
A
45 13 38
admin_notice()
A
54 9 18
register_commissions_status()
A
50 8 28
commissions_attribute_label()
A
54 8 17
table_update_status()
S
52 7 22
manage_status_changing()
S
58 7 18
delete_commission_refund()
S
51 6 24
create_commissions_table()
S
48 4 38
add_menu_item()
S
54 5 18
bulk_action()
S
59 5 15
commissions_details_page()
S
50 4 28
get_tax_and_coupon_management_message()
S
51 4 24
register_commissions_cancelled()
S
62 4 11
register_commissions_refunded()
S
62 4 11
change_commission_view_page_title()
S
65 4 7
remove_refund_commission()
S
65 4 9
_admin_init()
S
53 2 22
remove_refund_commission_helper()
S
69 3 6
set_screen_option()
S
79 2 3
register_commission_to_parent_order()
S
70 2 5
add_screen_option()
S
70 2 5
instance()
S
72 2 6
is_status_changing_permitted()
S
74 2 4
count_commissions()
S
67 2 8
register_commissions_pending()
S
80 1 3
get_user_credit()
S
78 1 3
update_credit_to_user()
S
72 1 5
add_screen_ids()
S
76 1 4
__construct()
S
63 1 10
register_commissions_unpaid()
S
80 1 3
add_commissions_table_wpdb()
S
68 1 7
get_status()
S
63 1 10
get_commissions_table_name()
S
81 1 3
get_screen()
S
82 1 3
get_status_capabilities()
S
79 1 3