-
Home
-
LearnPress – WordPress LMS Plugin
-
4.2.7.1
-
Code
-
Classes
- LP_REST_Courses_Controller
Total Complexity |
79 |
Dependencies |
23 |
Dependents |
1 |
Total lines |
702 |
Lines of code |
504 |
Logical lines of code |
276 |
Comment lines |
105 |
Methods |
13 |
Properties |
0 |
Methods 13
Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
list_courses() |
C |
31 |
22 |
107 |
purchase_course() |
B |
34 |
17 |
96 |
enroll_courses() |
B |
36 |
14 |
78 |
continue_course() |
A |
43 |
10 |
48 |
retake_course() |
S |
46 |
6 |
40 |
register_routes() |
S |
40 |
1 |
79 |
courses_widget_by_page() |
S |
56 |
2 |
19 |
update_item() |
S |
62 |
2 |
11 |
__construct() |
S |
74 |
1 |
5 |
check_admin_permission() |
S |
81 |
1 |
3 |
get_items() |
S |
69 |
1 |
7 |
get_item() |
S |
68 |
1 |
7 |
delete_item() |
S |
77 |
1 |
4 |