Mpesa_WP_Plugin S

Total Complexity 36
Dependencies 4
Dependents 0
Total lines 488
Lines of code 397
Logical lines of code 131
Comment lines 32
Methods 12
Properties 0

Methods 12

Method Rating Maintainability Complexity Lines of code
process_action()
A
37 8 83
process_refund()
S
47 6 37
payment_fields()
S
46 4 45
payment_scripts()
S
44 3 54
wc_mpesa_validate_number()
S
61 4 12
wc_minimum_order_amount()
S
55 3 24
validate_fields()
S
56 3 20
init_form_fields()
S
46 1 45
__construct()
S
47 1 41
payment_form_html()
S
54 1 24
process_payment()
S
66 1 9
generate_reference_id()
S
77 1 3