Code Analysis: Fygaro WC Plugin 0.0.8

Function Rating Maintainability Complexity Lines of code
WC_Gateway_Fygaro::webhook()
B
36 17 79
WC_Gateway_Fygaro::process_payment()
A
40 6 57
WC_Gateway_Fygaro::get_icon()
S
48 5 36
WC_Gateway_Fygaro::init_form_fields()
S
38 1 84
WC_Gateway_Fygaro::fygaro_enqueue_scripts()
S
55 5 20
WC_Gateway_Fygaro::get_card_icons()
S
52 4 25
WC_Gateway_Fygaro_Blocks_Support::get_payment_method_script_handles()
S
54 3 22
WC_Fygaro_Payments::woocommerce_gateway_fygaro_woocommerce_block_support()
S
64 2 11
WC_Gateway_Fygaro::__construct()
S
51 1 25
WC_Fygaro_Payments::includes()
S
74 2 5
WC_Fygaro_Payments::add_gateway()
S
76 1 4
WC_Gateway_Fygaro_Blocks_Support::get_payment_method_data()
S
65 1 9
WC_Fygaro_Payments::plugin_url()
S
78 1 3
WC_Gateway_Fygaro::get_fygaro_icon()
S
67 1 8
WC_Fygaro_Payments::plugin_abspath()
S
79 1 3
WC_Gateway_Fygaro_Blocks_Support::initialize()
S
75 1 4
WC_Fygaro_Payments::init()
S
71 1 5
WC_Gateway_Fygaro_Blocks_Support::is_active()
S
81 1 3