Code Analysis: StellarPay - Stripe Payment Gateway for WooCommerce 1.4.0

Most Complex Functions

Function Rating Complexity
StellarPay\Subscriptions\DataTransferObjects\SubscriptionQueryData::fromObject()
B
24
StellarPay\Integrations\WooCommerce\Views\MyAccountPage\MySubscriptionsPage::renderSubscriptionList()
B
14
StellarPay\AdminDashboard\RestApi\SubscriptionsListPage::cancelSubscription()
A
14
StellarPay\PaymentGateways\Stripe\Controllers\OnBoardingRedirectController::__invoke()
A
13
StellarPay\Integrations\WooCommerce\Views\MyAccountPage\UpdatePaymentMethodMySubscriptionPage::addPageContent()
A
11
StellarPay\Integrations\WooCommerce\Stripe\Webhook\Events\CustomerSubscriptionUpdated::processSubscription()
A
13
StellarPay\AdminDashboard\DataTransferObjects\DashboardDTO::getStripeData()
A
9
StellarPay\Integrations\WooCommerce\Stripe\Controllers\AddPaymentMethod::addPaymentMethod()
A
11
StellarPay\Subscriptions\Repositories\SubscriptionRepository::toArray()
A
9
StellarPay\PaymentGateways\Stripe\Controllers\SiteMigrationActionController::__invoke()
A
11
StellarPay\Integrations\WooCommerce\Stripe\PaymentGateway::getPaymentMethodData()
A
10
StellarPay\Integrations\WooCommerce\Stripe\Strategies\PaymentIntentDataStrategy::generateData()
A
8