Code Analysis: PagBank Connect 4.5.0

Most Complex Functions

Function Rating Complexity
RM_PagBank\Connect\Gateway::updateTransaction()
B
15
RM_PagBank\Connect\Gateway::process_payment()
B
14
RM_PagBank\Helpers\Recurring::getRecurringTermsFromCart()
A
14
RM_PagBank\Connect\Recurring\RecurringOrder::processSubscriptionPayment()
A
10
RM_PagBank\Connect\Gateway::addScripts()
A
10
RM_PagBank\EnvioFacil::calculate_shipping()
A
10
RM_PagBank\Helpers\Functions::validateDiscountValue()
A
11
RM_PagBank\Helpers\Api::post()
A
9
RM_PagBank\Connect\Recurring::addManageSubscriptionEditAction()
A
10
RM_PagBank\Helpers\Params::getInstallments()
A
9
RM_PagBank\Connect\Exception::getFriendlyParameterName()
A
10
RM_PagBank\EnvioFacil::validateDimensions()
A
9