Ladipage D

Total Complexity 221
Dependencies 5
Dependents 1
Total lines 1,549
Lines of code 1,420
Logical lines of code 605
Comment lines 15
Methods 32
Properties 2

Methods 32

Method Rating Maintainability Complexity Lines of code
sniff_requests()
D
17
65 226
searchProduct()
C
27
17 168
connectLadiFlowWebhook()
B
35 20 87
getProduct()
B
29 15 145
publish_lp()
A
37 13 80
getVariants()
A
36 13 79
createOrder()
A
40 11 66
ladipage_settings_page()
A
38 4 129
deleteLadiFlowWebhook()
A
43 8 51
addToCart()
A
44 7 48
cartUpdateItemQty()
S
47 4 41
applyCoupon()
S
49 4 39
cartRemoveItem()
S
47 4 39
listCategory()
S
49 3 35
cartInfo()
S
50 3 30
removeCoupon()
S
53 3 28
cartEmpty()
S
57 2 20
check_environment()
S
68 3 7
get_option()
S
66 3 8
__construct()
S
59 2 14
admin_notices()
S
67 2 7
save_config()
S
63 2 10
instance()
S
72 2 6
generateRandomString()
S
64 2 9
get_id_by_slug()
S
66 2 8
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
activation_process()
S
78 1 4