-
Home
-
LearnPress – WordPress LMS Plugin
-
4.1.6.7
-
Code
-
Classes
- LP_Gateway_Paypal
| Total Complexity |
62 |
| Dependencies |
3 |
| Dependents |
0 |
| Total lines |
444 |
| Lines of code |
244 |
| Logical lines of code |
115 |
| Comment lines |
113 |
| Methods |
20 |
| Properties |
13 |
Methods 20
| Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
| get_order() |
A |
54 |
8 |
19 |
| web_hook_process_paypal() |
S |
57 |
8 |
15 |
| validate_ipn() |
S |
54 |
6 |
19 |
| paypal_available() |
S |
62 |
6 |
12 |
| payment_status_completed() |
S |
60 |
5 |
12 |
| init() |
S |
52 |
4 |
24 |
| get_paypal_args() |
S |
50 |
3 |
28 |
| add_line_item() |
S |
60 |
4 |
11 |
| get_settings() |
S |
49 |
1 |
37 |
| prepare_line_items() |
S |
65 |
3 |
9 |
| __construct() |
S |
56 |
1 |
18 |
| payment_method_name() |
S |
79 |
2 |
3 |
| parse_ipn() |
S |
73 |
2 |
5 |
| process_payment() |
S |
67 |
2 |
8 |
| get_icon() |
S |
71 |
2 |
6 |
| register_web_hook() |
S |
80 |
1 |
3 |
| payment_status_pending() |
S |
80 |
1 |
3 |
| payment_complete() |
S |
81 |
1 |
3 |
| get_item_lines() |
S |
82 |
1 |
3 |
| get_request_url() |
S |
70 |
1 |
6 |