Code Analysis: RT Express COD for WooCommerce 2.3.0

Most Complex Classes

Class Rating Complexity
RT_Express_COD_REST
D
195
RT_Express_COD_Settings
S
36
RT_Express_COD_Cache
S
15
RT_Express_COD_Frontend
S
15
RT_Express_COD_Admin
S
6
RT_Express_COD
S
4

Most Complex Functions

Function Rating Complexity
RT_Express_COD_REST::create_order()
D
77
RT_Express_COD_REST::get_summary()
C
23
RT_Express_COD_Settings::sanitize()
C
28
RT_Express_COD_REST::collect_line_items()
A
16
RT_Express_COD_REST::quote_shipping()
A
12
RT_Express_COD_REST::get_config()
A
8
RT_Express_COD_REST::admin_meta()
A
7
RT_Express_COD_REST::is_product_eligible()
A
9
RT_Express_COD_REST::get_states()
S
7
RT_Express_COD_REST::apply_customer_location()
S
7
RT_Express_COD_Frontend::enqueue()
S
5
RT_Express_COD_REST::register_routes()
S
1