Code Analysis: Cryptocurrency Payments Using MetaMask For WooCommerce 1.0

Most Complex Classes

Class Rating Complexity
WC_cpmw_Gateway
A
59
cpmw_metamask_pay
S
14

Most Complex Functions

Function Rating Complexity
WC_cpmw_Gateway::payment_fields()
C
25
cpmw_payment_verify()
B
17
cpmw_price_conversion()
A
13
WC_cpmw_Gateway::thankyou_page()
A
10
WC_cpmw_Gateway::validate_fields()
A
10
cpmw_format_number()
A
10
WC_cpmw_Gateway::init_form_fields()
A
1
cpmw_openexchangerates_api()
S
7
cpmw_crypto_compare_api()
S
5
WC_cpmw_Gateway::cpmw_custom_multiselect_handler()
S
4
cpmw_binance_price_api()
S
4
WC_cpmw_Gateway::process_payment()
S
3