Alma_WC_Refund_Helper S

Total Complexity 28
Dependencies 5
Dependents 1
Total lines 264
Lines of code 109
Logical lines of code 54
Comment lines 119
Methods 15
Properties 2

Methods 15

Method Rating Maintainability Complexity Lines of code
make_full_refund()
S
51 5 26
print_notices()
S
58 5 16
is_partially_refundable()
S
67 3 7
add_order_note()
S
67 2 8
is_fully_refundable()
S
79 2 3
has_transaction_id()
S
65 2 9
is_paid_with_alma()
S
65 1 11
__construct()
S
80 1 3
get_refund_amount()
S
79 1 3
get_display_refund_amount()
S
79 1 3
format_refund_comment()
S
80 1 3
add_notice()
S
66 1 8
add_error_note()
S
79 1 3
add_success_note()
S
79 1 3
delete_notices()
S
80 1 3