Code Analysis: Sunshine Photo Cart 3.0.20

Most Complex Classes

Class Rating Complexity
SPC_Cart
D
375
SPC_Update
D
263
SPC_Frontend
D
251
Sunshine_Admin_Meta_Boxes
D
220
SPC_Order
D
208
Sunshine_Admin
D
172
SPC_Settings_API
D
150
SPC_Payment_Method_Stripe
D
141
SPC_Admin_Order
D
138
SPC_Payment_Method_Square
C
125
SPC_Product
C
118
SPC_Gallery
C
117

Most Complex Functions

Function Rating Complexity
SPC_Countries::__construct()
D
1
sunshine_get_settings_fields()
D
43
Sunshine_Admin_Meta_Boxes::display_field()
D
93
SPC_Update::update_3_settings_data()
D
83
SPC_Settings_API::display_field()
D
85
SPC_Update::update_3_orders_update()
D
66
sunshine_form_field()
D
71
SPC_Cart::set_checkout_fields()
D
54
sunshine_checkout_scripts()
D
22
sunshine_currency_symbol()
D
49
SPC_Countries::get_country_locale()
D
3
sunshine_base_install()
D
32