Ladipage D

Total Complexity 130
Dependencies 2
Dependents 1
Total lines 1,003
Lines of code 885
Logical lines of code 334
Comment lines 39
Methods 25
Properties 2

Methods 25

Method Rating Maintainability Complexity Lines of code
sniff_requests()
D
23
45 177
searchProduct()
B
27
16 173
publish_lp()
B
36 14 83
ladipage_settings_page()
A
38 4 129
createOrder()
A
41 8 60
getProduct()
S
45 5 46
addToCart()
S
55 4 23
cartRemoveItem()
S
53 3 28
cartUpdateItemQty()
S
53 3 28
cartInfo()
S
53 3 25
cartEmpty()
S
57 2 20
get_option()
S
66 3 8
check_environment()
S
68 3 7
save_config()
S
63 2 10
admin_notices()
S
67 2 7
instance()
S
72 2 6
generateRandomString()
S
64 2 9
get_id_by_slug()
S
66 2 8
__construct()
S
63 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