-
Home
-
PaymentsDS – Mpesa Payment Gateway for WooCommerce
-
1.0
-
Code
-
Classes
- Mpesa_WP_Plugin
Total Complexity |
36 |
Dependencies |
4 |
Dependents |
0 |
Total lines |
495 |
Lines of code |
404 |
Logical lines of code |
129 |
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 |
46 |
6 |
39 |
payment_fields() |
S |
46 |
4 |
47 |
payment_scripts() |
S |
43 |
3 |
57 |
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 |