WC_QuickPay_API_Transaction A

Total Complexity 53
Dependencies 4
Dependents 0
Total lines 448
Lines of code 189
Logical lines of code 106
Comment lines 179
Methods 21
Properties 1

Methods 21

Method Rating Maintainability Complexity Lines of code
get_last_operation()
S
57 5 16
maybe_load_transaction_from_cache()
S
58 5 15
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
create()
S
59 2 14
patch_payment()
S
59 2 14
patch_link()
S
54 1 20
get_current_type()
S
68 2 7
is_transaction_caching_enabled()
S
73 2 4
get_state()
S
70 2 6
get_currency()
S
70 2 6
get_metadata()
S
70 2 6
get_brand()
S
70 2 6
is_test()
S
70 2 6
get_formatted_remaining_balance()
S
80 1 3
get_formatted_balance()
S
80 1 3
is_loaded_from_cached()
S
82 1 3
get_data()
S
82 1 3