-
Home
-
LearnPress – WordPress LMS Plugin
-
4.2.7
-
Code
-
Classes
- LP_Jwt_Public
Total Complexity |
40 |
Dependencies |
6 |
Dependents |
1 |
Total lines |
380 |
Lines of code |
275 |
Logical lines of code |
83 |
Comment lines |
45 |
Methods |
9 |
Properties |
5 |
Methods 9
Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
validate_token() |
B |
36 |
13 |
93 |
determine_current_user() |
A |
52 |
11 |
21 |
generate_token() |
S |
44 |
3 |
48 |
__construct() |
S |
64 |
4 |
9 |
register_routes() |
S |
47 |
1 |
44 |
register() |
S |
57 |
2 |
17 |
get_item_schema() |
S |
51 |
1 |
30 |
add_cors_support() |
S |
67 |
3 |
7 |
rest_pre_dispatch() |
S |
72 |
2 |
6 |