Code Analysis: StellarPay - Stripe Payment Gateway for WooCommerce 1.0.1

Most Complex Functions

Function Rating Complexity
StellarPay\Subscriptions\DataTransferObjects\SubscriptionQueryData::fromObject()
B
22
StellarPay\Integrations\WooCommerce\Views\MyAccountPage\SubscriptionsPage::renderSubscriptionList()
B
14
StellarPay\Integrations\WooCommerce\Views\MyAccountPage\SubscriptionsPage::renderSubscriptionDetails()
A
11
StellarPay\Integrations\WooCommerce\Stripe\Controllers\AddPaymentMethod::__invoke()
A
12
StellarPay\PaymentGateways\Stripe\Controllers\OnBoardingRedirectController::__invoke()
A
11
StellarPay\AdminDashboard\DataTransferObjects\DashboardDTO::getStripeData()
A
9
StellarPay\Subscriptions\Repositories\SubscriptionRepository::toArray()
A
9
StellarPay\Integrations\WooCommerce\Stripe\Strategies\PaymentIntentDataStrategy::generateData()
A
8
StellarPay\Integrations\WooCommerce\Stripe\PaymentGateway::getPaymentMethodData()
A
9
StellarPay\PaymentGateways\Stripe\RestApi\DetachCustomerPaymentMethod::permissionCheck()
A
8
StellarPay\Integrations\WooCommerce\Stripe\Views\DisplayTestModeLabel::addTestModeLabelInCustomerPaymentTokenList()
A
6
StellarPay\PaymentGateways\Stripe\Actions\SaveConnectedAccount::__invoke()
A
8