Code Analysis: The Courier Guy Shipping for WooCommerce 4.4.5

Most Complex Classes

Class Rating Complexity
TCG_Plugin
D
348
ParcelPerfectApiPayload
D
141
TCG_Shipping_Method
B
91
CustomPostType
A
62
CustomPlugin
S
36
ParcelPerfectApi
S
36
CustomPluginDependencies
S
17
CurlController
S
13

Most Complex Functions

Function Rating Complexity
ParcelPerfectApiPayload::getContentsPayload()
D
37
TCG_Plugin::getQuote()
C
30
TCG_Plugin::updateShippingPropertiesOnOrder()
C
24
TCG_Plugin::updateShippingPropertiesFromCheckout()
C
27
TCG_Shipping_Method::overrideFormFieldsVariable()
C
1
TCG_Shipping_Method::addRate()
C
22
TCG_Plugin::setCollection()
C
24
TCG_Plugin::updateShippingPackages()
B
20
TCG_Shipping_Method::calculate_shipping()
B
19
TCG_Plugin::compareCachedQuoteRequest()
A
15
ParcelPerfectApiPayload::getGlobalParcels()
A
14
TCG_Plugin::setService()
A
13