Ladipage D

Total Complexity 249
Dependencies 6
Dependents 1
Total lines 1,819
Lines of code 1,681
Logical lines of code 686
Comment lines 16
Methods 35
Properties 2

Methods 35

Method Rating Maintainability Complexity Lines of code
sniff_requests()
D
16
69 232
searchProduct()
C
26
18 178
ladipage_settings_page()
C
27
12 266
connectLadiFlowWebhook()
B
35 20 87
getProduct()
B
29
15 149
getVariants()
B
35 15 86
publish_lp()
A
37 13 80
createOrder()
A
40 11 66
listFormFields()
A
43 9 56
deleteLadiFlowWebhook()
A
43 8 51
addToCart()
A
44 7 48
cartUpdateItemQty()
S
47 4 41
cartRemoveItem()
S
47 4 39
applyCoupon()
S
49 4 39
listCategory()
S
49 3 35
listForms()
S
50 3 33
cartInfo()
S
50 3 30
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