Code Analysis: WooCommerce Braintree Payment Gateway 1.9.8

Most Complex Functions

Function Rating Complexity
Braintree\Transaction::_initialize()
D
33
Braintree\WebhookTestingGateway::_sampleXml()
C
28
Braintree\Customer::_initialize()
C
25
run_WC_braintree_payment_gateway()
B
2
Braintree\WebhookNotification::_initialize()
B
18
Braintree\Http::_doUrlRequest()
B
17
Braintree\Configuration::__construct()
A
14
Braintree\PaymentMethodParser::parsePaymentMethod()
A
14
Braintree\CustomerGateway::_initialize()
A
13
Braintree\DisputeGateway::addTextEvidence()
A
13
Braintree\Xml\Parser::_nodeToArray()
A
13
Braintree\Util::throwGraphQLResponseException()
A
13