WC_QuickPay_API_Transaction A

Total Complexity 57
Dependencies 6
Dependents 0
Total lines 450
Lines of code 200
Logical lines of code 108
Comment lines 171
Methods 22
Properties 1

Methods 22

Method Rating Maintainability Complexity Lines of code
get_last_operation()
S
57 5 16
maybe_load_transaction_from_cache()
S
57 5 15
get_brand()
S
60 5 14
get_remaining_balance()
S
58 4 16
cache_transaction()
S
59 4 14
get_last_operation_of_type()
S
61 4 12
get_balance()
S
69 3 6
get_acquirer()
S
71 3 6
get_remaining_balance_as_float()
S
68 3 7
create()
S
60 2 13
patch_payment()
S
61 2 12
patch_link()
S
55 1 19
get_state()
S
70 2 6
get_metadata()
S
70 2 6
get_current_type()
S
68 2 7
is_accepted()
S
70 2 6
get_currency()
S
70 2 6
is_test()
S
70 2 6
is_loaded_from_cached()
S
82 1 3
get_formatted_remaining_balance()
S
79 1 3
is_transaction_caching_enabled()
S
74 1 4
get_data()
S
82 1 3