-
Home
-
LearnPress – WordPress LMS Plugin
-
4.2.2.2
-
Code
-
Classes
- LP_Jwt_Lessons_V1_Controller
| Total Complexity |
90 |
| Dependencies |
11 |
| Dependents |
0 |
| Total lines |
605 |
| Lines of code |
476 |
| Logical lines of code |
205 |
| Comment lines |
26 |
| Methods |
14 |
| Properties |
4 |
Methods 14
| Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
| get_lesson_data() |
B |
37 |
23 |
66 |
| check_read_permission() |
A |
47 |
12 |
37 |
| get_item() |
A |
49 |
9 |
28 |
| finish_lesson() |
A |
49 |
8 |
29 |
| get_item_schema() |
A |
33 |
1 |
134 |
| check_can_finish_course() |
S |
56 |
7 |
19 |
| get_object() |
S |
59 |
7 |
13 |
| get_lesson_results() |
S |
56 |
6 |
17 |
| get_course_by_item_id() |
S |
54 |
4 |
23 |
| register_routes() |
S |
43 |
1 |
64 |
| get_course_meta() |
S |
59 |
4 |
14 |
| get_assigned() |
S |
58 |
3 |
16 |
| get_video_intro() |
S |
64 |
3 |
10 |
| prepare_object_for_response() |
S |
68 |
2 |
6 |