WC_QuickPay_API_Transaction A

Total Complexity 62
Dependencies 4
Dependents 0
Total lines 481
Lines of code 210
Logical lines of code 118
Comment lines 184
Methods 23
Properties 1

Methods 23

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