Ladipage D

Total Complexity 274
Dependencies 7
Dependents 1
Total lines 1,958
Lines of code 1,802
Logical lines of code 767
Comment lines 16
Methods 36
Properties 2

Methods 36

Method Rating Maintainability Complexity Lines of code
sniff_requests()
D
14
76 249
searchProduct()
C
25
19 188
ladipage_settings_page()
C
27
12 267
updateWebhook()
B
34 21 94
getProduct()
B
28
15 157
getVariants()
B
35 15 86
publish_lp()
B
36 15 81
deleteWebhook()
A
41 12 59
createOrder()
A
40 11 66
listFormFields()
A
43 9 56
addToCart()
A
42 8 55
updateCoupon()
S
47 6 41
cartUpdateItemQty()
S
44 5 48
cartRemoveItem()
S
45 5 46
applyCoupon()
S
49 4 39
cartInfo()
S
47 4 37
listCategory()
S
49 3 35
listForms()
S
50 3 33
removeCoupon()
S
53 3 28
cartEmpty()
S
57 2 20
get_option()
S
66 3 8
check_environment()
S
68 3 7
__construct()
S
58 2 15
admin_notices()
S
67 2 7
save_config()
S
63 2 10
instance()
S
72 2 6
get_id_by_slug()
S
66 2 8
generateRandomString()
S
64 2 9
createWebhook()
S
62 1 12
add_admin_notice()
S
71 1 6
add_query_vars()
S
77 1 4
add_ladipage_menu_item()
S
70 1 6
init_endpoint()
S
71 1 5
deactivation_process()
S
82 1 3
ladiflow_save_hook()
S
68 1 7
activation_process()
S
78 1 4