WC_Klarna_Order_Management B

Total Complexity 81
Dependencies 11
Dependents 6
Total lines 613
Lines of code 367
Logical lines of code 237
Comment lines 146
Methods 14
Properties 2

Methods 14

Method Rating Maintainability Complexity Lines of code
capture_klarna_order()
B
34 22 81
update_klarna_order_items()
B
38 16 67
cancel_klarna_order()
A
42 13 49
refund_klarna_order()
A
39 11 60
get_return_fee_from_post()
S
52 5 24
init()
S
46 2 42
plugin_action_links()
S
61 3 11
get_instance()
S
71 2 6
declare_wc_compatibility()
S
71 2 5
__clone()
S
91 1 2
__wakeup()
S
91 1 2
__construct()
S
71 1 5
add_gateway_support()
S
77 1 4
retrieve_klarna_order()
S
67 1 9