Code Analysis: Swipecart 2.6.5

Most Complex Classes

Class Rating Complexity
TGM_Plugin_Activation
D
263
APIClass
D
184
REST_API_v1_Controller
C
123
TGMPA_List_Table
C
119
SC_BackInStock
B
86
Utility
S
33
SC_Translator
S
32
SC_Installer
S
27
Swipecart_Checkout
S
20
__SCML
S
20
GeneralUtility
S
20
TGMPA_Bulk_Installer
S
19

Most Complex Functions

Function Rating Complexity
SC_BackInStock::__checkNonVariableStockDiff()
D
45
TGMPA_List_Table::process_bulk_actions()
D
34
SC_BackInStock::__checkVariableStockDiff()
D
38
TGM_Plugin_Activation::notices()
D
34
APIClass::getProductByID()
D
30
TGM_Plugin_Activation::do_plugin_install()
C
25
REST_API_v1_Controller::register_routes()
C
1
APIClass::getProductListByID()
C
25
tgmpa_load_bulk_installer()
B
7
APIClass::getOrderByID()
B
15
TGM_Plugin_Activation::maybe_adjust_source_dir()
A
15
APIClass::getProducts()
A
13