-
Home
-
Checkout.com Payment Gateway
-
4.9.2 (latest)
-
Code
-
Classes
- WC_Gateway_Checkout_Com_Cards
| Total Complexity |
147 |
| Dependencies |
17 |
| Dependents |
0 |
| Total lines |
1,122 |
| Lines of code |
727 |
| Logical lines of code |
441 |
| Comment lines |
210 |
| Methods |
19 |
| Properties |
0 |
Methods 19
| Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
| process_payment() |
C |
33 |
28 |
90 |
| webhook_handler() |
C |
33 |
22 |
94 |
| callback_handler() |
B |
34 |
21 |
82 |
| payment_scripts() |
A |
44 |
12 |
42 |
| get_localisation() |
A |
44 |
9 |
43 |
| add_payment_method() |
A |
39 |
7 |
66 |
| payment_fields() |
A |
46 |
8 |
42 |
| admin_options() |
A |
47 |
7 |
38 |
| save_token() |
S |
48 |
6 |
32 |
| save_preferred_card_scheme() |
S |
56 |
6 |
18 |
| process_admin_options() |
S |
57 |
6 |
17 |
| process_refund() |
S |
54 |
5 |
21 |
| element_form() |
S |
45 |
2 |
59 |
| __construct() |
S |
48 |
2 |
33 |
| element_form_save_card() |
S |
67 |
2 |
12 |
| init_form_fields() |
S |
62 |
1 |
13 |
| add_payment_meta_field() |
S |
63 |
1 |
12 |
| generate_screen_button_html() |
S |
80 |
1 |
3 |
| element_form_cvv() |
S |
66 |
1 |
10 |