-
Home
-
WooCommerce PayPal Pro Payment Gateway
-
3.0
-
Code
-
Classes
- WC_PP_PRO_Gateway
Total Complexity |
46 |
Dependencies |
2 |
Dependents |
0 |
Total lines |
460 |
Lines of code |
319 |
Logical lines of code |
141 |
Comment lines |
67 |
Methods |
16 |
Properties |
15 |
Methods 16
Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
verify_paypal_payment() |
A |
48 |
7 |
33 |
payment_fields() |
A |
42 |
5 |
63 |
process_payment() |
S |
55 |
5 |
18 |
validate_fields() |
S |
58 |
5 |
15 |
create_paypal_request() |
S |
44 |
3 |
42 |
do_order_complete_tasks() |
S |
55 |
4 |
19 |
get_additional_item_info_for_request() |
S |
53 |
3 |
22 |
init_form_fields() |
S |
46 |
1 |
46 |
__construct() |
S |
53 |
2 |
20 |
parse_paypal_response() |
S |
63 |
3 |
10 |
get_exp_months_options() |
S |
63 |
3 |
8 |
admin_options() |
S |
65 |
1 |
12 |
handle_admin_notice_msg() |
S |
100 |
1 |
2 |
use_http_1_1() |
S |
82 |
1 |
3 |
mark_as_failed_payment() |
S |
79 |
1 |
3 |
get_cc_last_digits() |
S |
79 |
1 |
3 |