-
Home
-
LearnPress – WordPress LMS Plugin
-
4.2.3.5
-
Code
-
Classes
- LP_Jwt_Courses_V1_Controller
Total Complexity |
182 |
Dependencies |
16 |
Dependents |
0 |
Total lines |
1,408 |
Lines of code |
1,176 |
Logical lines of code |
449 |
Comment lines |
39 |
Methods |
25 |
Properties |
4 |
Methods 25
Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
get_course_data() |
D |
29 |
39 |
113 |
verify_receipt() |
B |
32 |
21 |
101 |
get_item_schema() |
B |
22 |
1 |
375 |
prepare_objects_query() |
B |
36 |
21 |
73 |
get_all_items() |
A |
41 |
14 |
53 |
check_read_permission() |
A |
51 |
11 |
26 |
register_routes() |
A |
35 |
1 |
138 |
get_course_meta() |
A |
52 |
8 |
25 |
create_item() |
S |
47 |
6 |
34 |
get_course_data_for_current_user() |
S |
55 |
7 |
18 |
get_object() |
S |
59 |
7 |
13 |
finish_course() |
S |
51 |
6 |
25 |
get_item_learned_ids() |
S |
54 |
6 |
19 |
check_can_finish() |
S |
59 |
5 |
15 |
get_retaken_count() |
S |
60 |
4 |
15 |
check_can_retake() |
S |
60 |
4 |
15 |
get_instructor_info() |
S |
57 |
3 |
17 |
get_course_taxonomy() |
S |
60 |
3 |
14 |
get_items_permissions_check() |
S |
62 |
3 |
11 |
get_collection_params() |
S |
48 |
1 |
38 |
get_course_rating() |
S |
67 |
3 |
7 |
prepare_object_for_response() |
S |
68 |
2 |
6 |
retake_course() |
S |
66 |
2 |
8 |
enroll_course() |
S |
68 |
2 |
7 |
get_course_need_login_check() |
S |
65 |
2 |
10 |