Code Analysis: ONVO Pay 0.15.0

Most Complex Classes

Class Rating Complexity
WC_Gateway_ONVO_Pay
C
104
ONVO\API
S
30
ONVO\Product
S
27
ONVO\Intent
S
27
ONVO\Intent_Builder
S
22
ONVO\WC_Gateway_ONVO_Pay_Block
S
11
ONVO\Customer_Builder
S
9
ONVO\Price
S
8
ONVO\Enum
S
3
ONVO\Currency
S
0

Most Complex Functions

Function Rating Complexity
WC_Gateway_ONVO_Pay::maybe_create_intent()
B
17
WC_Gateway_ONVO_Pay::process_payment()
A
7
WC_Gateway_ONVO_Pay::__construct()
A
7
WC_Gateway_ONVO_Pay::is_checkout()
A
9
ONVO\Intent_Builder::from_get_intent_response()
A
7
WC_Gateway_ONVO_Pay::update_order_status_based_on_intent()
S
6
WC_Gateway_ONVO_Pay::payment_scripts()
S
6
WC_Gateway_ONVO_Pay::update_intent_on_cart_totals_update()
S
5
WC_Gateway_ONVO_Pay::confirm_order_payment()
S
4
WC_Gateway_ONVO_Pay::init_form_fields()
S
1
maybe_overwrite_recurring_price_data()
S
5
maybe_overwrite_price_amount()
S
5