Code Analysis: CHIP for WooCommerce 1.2.2

Function Rating Maintainability Complexity Lines of code
WC_Chip_Gateway::handle_callback()
A
37 13 72
WC_Chip_Gateway::process_admin_options()
A
44 10 44
WC_Chip_Gateway::get_language()
A
51 10 29
WC_Chip_Gateway::process_payment()
S
38 4 71
WC_Chip_Gateway::__construct()
S
48 6 34
wc_chip_add_gateway()
S
56 6 18
WC_Chip_Gateway::process_refund()
S
50 5 25
WC_Chip_Gateway::get_payment_method_redirect()
S
60 5 15
WC_Chip_API::request()
S
50 4 30
WC_Chip_API::call()
S
52 4 26
wc_chip_payment_gateway_init()
S
44 2 52
WC_Chip_Gateway::init_form_fields()
S
43 1 63
WC_Chip_Gateway::can_refund_order()
S
70 5 5
WC_Chip_Gateway::get_notes()
S
58 4 14
WC_Chip_Card::init_form_fields()
S
58 2 15
WC_Chip_Fpxb2b1::init_form_fields()
S
58 2 15
WC_Chip_Card::__construct()
S
60 2 12
WC_Chip_Fpxb2b1::__construct()
S
60 2 12
WC_Chip_Gateway::chip_api()
S
64 2 11
WC_Chip_Gateway::get_timezone()
S
71 2 6
WC_Chip_Gateway::payment_fields()
S
68 2 7
WC_Chip_API::was_payment_successful()
S
64 2 9
WC_Chip_API::log_info()
S
73 2 5
WC_Chip_Gateway::get_public_key()
S
68 2 7
WC_Chip_Gateway::unsupported_currency()
S
66 2 8
WC_Chip_API::log_error()
S
68 2 7
WC_Chip_API::refund_payment()
S
65 1 9
WC_Chip_API::get_payment()
S
65 1 9
ChipWCLogger::__construct()
S
80 1 3
WC_Chip_Gateway::log_order_info()
S
79 1 3
wc_chip_setting_link()
S
67 1 8
WC_Chip_API::public_key()
S
66 1 9
ChipWCLogger::log()
S
80 1 3
WC_Chip_API::create_payment()
S
74 1 4
WC_Chip_API::__construct()
S
71 1 6
WC_Chip_API::payment_methods()
S
68 1 7
WC_Chip_Gateway::get_due_timestamp()
S
77 1 3
WC_Chip_Gateway::get_icon()
S
70 1 5