Code Analysis: LadiPage - Landing Page Builder 4.0

Function Rating Maintainability Complexity Lines of code
Ladipage::sniff_requests()
D
14
76 249
Ladipage::searchProduct()
C
26
18 178
Ladipage::ladipage_settings_page()
C
27
12 267
Ladipage::updateWebhook()
B
34 21 94
Ladipage::getProduct()
B
29
15 149
Ladipage::getVariants()
B
35 15 86
Ladipage::publish_lp()
B
36 15 81
Ladipage::deleteWebhook()
A
41 12 59
Ladipage::createOrder()
A
40 11 66
Ladipage::listFormFields()
A
43 9 56
Ladipage::addToCart()
A
44 7 48
Ladipage::updateCoupon()
S
47 6 41
sendToLadiFlow()
S
58 7 14
Ladipage::cartUpdateItemQty()
S
47 4 41
Ladipage::cartRemoveItem()
S
47 4 39
Ladipage::applyCoupon()
S
49 4 39
wpcf7_handle_data()
S
57 5 17
get_web_page()
S
53 4 22
Ladipage::listCategory()
S
49 3 35
PageTemplater::view_project_template()
S
56 4 20
Ladipage::listForms()
S
50 3 33
Ladipage::cartInfo()
S
50 3 30
Ladipage::removeCoupon()
S
53 3 28
PageTemplater::__construct()
S
51 2 33
stopLandingPage()
S
63 3 11
Ladipage::cartEmpty()
S
57 2 20
loadContent()
S
57 2 16
Ladipage::__construct()
S
58 2 15
Ladipage::get_option()
S
66 3 8
Ladipage::check_environment()
S
68 3 7
_mkdir()
S
69 3 6
wpforms_handle_data()
S
59 2 14
PageTemplater::register_project_templates()
S
62 2 11
curlPost()
S
58 1 16
Ladipage::generateRandomString()
S
64 2 9
Ladipage::save_config()
S
63 2 10
updateSource()
S
65 2 9
Ladipage::instance()
S
72 2 6
PageTemplater::get_instance()
S
71 2 6
Ladipage::get_id_by_slug()
S
66 2 8
Ladipage::admin_notices()
S
67 2 7
getRandomUserAgent()
S
60 1 14
Ladipage::createWebhook()
S
62 1 12
Ladipage::add_admin_notice()
S
71 1 6
Ladipage::ladiflow_save_hook()
S
68 1 7
PageTemplater::add_new_template()
S
76 1 4
Ladipage::init_endpoint()
S
71 1 5
Ladipage::deactivation_process()
S
82 1 3
Ladipage::add_query_vars()
S
77 1 4
Ladipage::add_ladipage_menu_item()
S
70 1 6
Ladipage::activation_process()
S
78 1 4
Ladipage()
S
82 1 3