Code Analysis: ONVO Pay 0.7.0

Most Complex Classes

Class Rating Complexity
\WC_Gateway_ONVO_Pay
A
70
ONVO\API
S
35
ONVO\Product
S
27
ONVO\Intent
S
19
ONVO\Subscription_Builder
S
15
ONVO\Price
S
8
ONVO\Currencies
S
0

Most Complex Functions

Function Rating Complexity
\WC_Gateway_ONVO_Pay::maybe_create_intent()
A
11
\WC_Gateway_ONVO_Pay::process_payment()
A
7
\WC_Gateway_ONVO_Pay::__construct()
A
7
\WC_Gateway_ONVO_Pay::payment_scripts()
A
8
\WC_Gateway_ONVO_Pay::is_checkout()
A
9
ONVO\Subscription_Builder::build_price_items()
S
6
ONVO\Subscription_Builder::get_or_create_instance()
S
7
\WC_Gateway_ONVO_Pay::proccess_subscription()
S
6
\WC_Gateway_ONVO_Pay::init_form_fields()
S
1
\WC_Gateway_ONVO_Pay::maybe_add_intent_to_order()
S
5
\WC_Gateway_ONVO_Pay::on_page_change()
S
4
ONVO\Product::get_package_dimensions()
S
5