Code Analysis: Ether and ERC20 tokens WooCommerce Payment Gateway 4.4.0

Most Complex Functions

Function Rating Complexity
Ethereumico\Epg\Gateway::check_tx_status()
D
49
Ethereumico\Epg\Gateway::admin_enqueue_scripts()
D
27
Ethereumico\Epg\Gateway::thank_you_page()
D
25
Ethereumico\Epg\Main::wp_loaded_hook()
B
20
Ethereumico\Epg\Gateway::process_payment()
A
15
Ethereumico\Epg\CoinmarketcapRateSource::get_rate_from_api()
A
12
Ethereumico\Epg\Gateway::init_form_fields()
A
2
Ethereumico\Epg\Gateway::get_tx_confirmations_number()
A
13
Ethereumico\Epg\CryptocompareRateSource::get_rate_from_api()
A
10
Ethereumico\Epg\Main::get_tokens_supported()
A
10
Ethereumico\Epg\Main::email_content()
A
9
Ethereumico\Epg\Gateway::getTokenRate()
A
10