WC_Emerchantpay_Transactions_Tree C

Total Complexity 108
Dependencies 6
Dependents 6
Total lines 753
Lines of code 410
Logical lines of code 174
Comment lines 252
Methods 28
Properties 2

Methods 28

Method Rating Maintainability Complexity Lines of code
get_transaction_tree()
A
41 15 56
check_transaction_by_selected_attribute()
A
43 10 59
get_total_amount_without_unique_id()
A
55 8 19
get_transactions_sum_amount()
S
57 7 16
can_refund()
S
57 6 17
can_void()
S
58 6 15
set_trx_hierarchy()
S
61 6 11
can_capture()
S
57 5 17
tree_transaction_sort()
S
62 5 11
update_parent_trx_status()
S
64 5 9
get_trx_from_order()
S
63 4 11
get_children_captured_amount()
S
52 2 30
is_void_already_processed()
S
69 4 6
set_trx_data()
S
59 3 15
parse_trxs()
S
65 3 10
get_settlement_trx()
S
69 3 7
get_authorize_trx()
S
70 3 7
get_total_amount()
S
62 2 12
find_parent_id()
S
71 2 6
get_children_authorized_amount()
S
60 1 15
get_children_refund_amount()
S
63 1 12
get_total_captured_amount()
S
64 1 11
get_transactions_list_from_order()
S
74 1 5
__construct()
S
71 1 6
is_transaction_has_custom_attr()
S
67 1 8
format_transaction_value()
S
78 1 3
get_total_refunded_amount()
S
72 1 6
create_from_order()
S
66 1 10