Ladipage D

Total Complexity 192
Dependencies 5
Dependents 1
Total lines 1,387
Lines of code 1,266
Logical lines of code 522
Comment lines 15
Methods 31
Properties 2

Methods 31

Method Rating Maintainability Complexity Lines of code
sniff_requests()
D
19
59 205
searchProduct()
B
28
15 150
connectLadiFlowWebhook()
B
40 15 61
getProduct()
A
32 11 118
publish_lp()
A
37 13 82
getVariants()
A
36 13 79
createOrder()
A
40 11 66
ladipage_settings_page()
A
38 4 129
cartUpdateItemQty()
S
47 4 41
addToCart()
S
46 4 41
cartRemoveItem()
S
47 4 39
applyCoupon()
S
49 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
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
__construct()
S
63 1 10
createWebhook()
S
64 1 10
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