-
Home
-
LearnPress – WordPress LMS Plugin
-
4.0.9
-
Code
-
Classes
- LP_Post_Type_Actions
Total Complexity |
41 |
Dependencies |
1 |
Dependents |
0 |
Total lines |
178 |
Lines of code |
125 |
Logical lines of code |
71 |
Comment lines |
15 |
Methods |
15 |
Properties |
2 |
Methods 15
Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
add() |
A |
53 |
8 |
24 |
trashed_post() |
S |
55 |
6 |
18 |
transition_post_status() |
S |
61 |
5 |
12 |
pre_trash_post() |
S |
61 |
4 |
12 |
save_post() |
S |
66 |
3 |
8 |
get() |
S |
78 |
2 |
3 |
delete() |
S |
73 |
2 |
5 |
is_course() |
S |
67 |
2 |
8 |
is_course_item() |
S |
66 |
2 |
9 |
instance() |
S |
71 |
2 |
6 |
__construct() |
S |
65 |
1 |
8 |
__get() |
S |
80 |
1 |
3 |
__set() |
S |
80 |
1 |
3 |
added_item_to_section() |
S |
78 |
1 |
3 |
removed_item_from_section() |
S |
80 |
1 |
3 |