AfterInc D

Total Complexity 364
Dependencies 4
Dependents 0
Total lines 2,863
Lines of code 2,141
Logical lines of code 1,228
Comment lines 135
Methods 58
Properties 2

Methods 58

Method Rating Maintainability Complexity Lines of code
action_woocommerce_update_product()
D
25
38 149
my_schedules()
C
26
26 154
get_order_details()
C
27
24 151
updateLocalProduct()
C
30 20 136
woocommerce_order_item_name()
B
36 23 69
sync_product_on_publish()
B
34 21 81
warranty_on_product_details()
B
27
15 162
apply_warranty_product_filters()
B
47 19 34
syncProduct()
B
31 12 120
woocommerce_before_order_itemmeta()
A
42 13 48
cancel_whole_contract_from_admin()
A
35 10 84
cancelContract()
A
40 11 60
cart_product_title()
A
42 11 48
custom_valid_order_statuses_for_cancel()
A
40 9 58
jal_install_data()
A
38 8 70
add_custom_price()
A
47 10 34
pricechange()
A
42 7 56
AddNewProductInsteadChangeQuantity()
A
51 9 26
pricechangeoncart()
S
51 6 26
sync_product_filters()
S
56 6 16
getBatch()
S
46 4 41
__construct()
S
38 1 73
warranty_product_filters()
S
60 4 12
woo_product_sync_column_data()
S
62 4 11
woo_product_warranty_column_data()
S
62 4 11
add_item_meta()
S
54 3 22
wpdocs_trash_multiple_posts()
S
66 4 9
testauthentication()
S
50 2 28
activation_table()
S
54 2 26
deleteProduct()
S
54 2 21
woo_add_custom_general_fields()
S
54 2 21
saveconfig()
S
54 2 19
warranty_bulk_edit_save()
S
67 3 7
sync_bulk_edit_save()
S
67 3 7
action_woocommerce_cart_item_removed()
S
62 2 11
add_custom_order_line_item_meta()
S
63 2 11
activation_contractcancel()
S
57 1 21
activation_warrantytable()
S
57 1 20
sync_add()
S
56 1 19
warranty_bulk_edit_input()
S
65 1 16
activation_warrantytab()
S
59 1 16
batchSync_latestLogStatus()
S
60 1 15
sync_bulk_edit_input()
S
65 1 15
activation_quickcovercrontable()
S
61 1 14
plugin_backup()
S
61 1 13
add_js_admin()
S
60 1 12
add_js_customer()
S
60 1 12
batchStats()
S
62 1 11
add_loader_in_admin_order_detail_page()
S
79 1 3
Submenu_function()
S
83 1 3
view_order_and_thankyou_page()
S
78 1 3
add_loader_before_cart_table()
S
73 1 7
woo_product_warranty_column()
S
75 1 4
get_currency_symbol()
S
82 1 3
woo_product_sync_column()
S
75 1 4
customplugin_menu()
S
70 1 5
addCustomImportButton()
S
70 1 10
configuration_form()
S
83 1 3