-
Home
-
LearnPress – WordPress LMS Plugin
-
4.2.2
-
Code
-
Classes
- LP_Course_Item
Total Complexity |
74 |
Dependencies |
5 |
Dependents |
11 |
Total lines |
622 |
Lines of code |
300 |
Logical lines of code |
156 |
Comment lines |
215 |
Methods |
27 |
Properties |
6 |
Methods 27
Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
get_class_v2() |
B |
38 |
15 |
78 |
get_item() |
A |
46 |
11 |
39 |
get_class() |
S |
51 |
5 |
26 |
get_status_title() |
S |
53 |
4 |
23 |
get_duration() |
S |
60 |
4 |
13 |
create_nonce() |
S |
64 |
4 |
10 |
is_preview() |
S |
64 |
3 |
9 |
get_item_type() |
S |
65 |
3 |
10 |
verify_nonce() |
S |
64 |
3 |
10 |
get_format() |
S |
68 |
2 |
7 |
get_permalink() |
S |
68 |
2 |
7 |
set_course() |
S |
70 |
2 |
7 |
get_course_id() |
S |
70 |
2 |
7 |
to_array() |
S |
62 |
1 |
12 |
offsetExists() |
S |
91 |
1 |
2 |
offsetGet() |
S |
91 |
1 |
2 |
get_nonce_action() |
S |
78 |
1 |
3 |
offsetSet() |
S |
91 |
1 |
2 |
__construct() |
S |
74 |
1 |
4 |
get_template() |
S |
67 |
1 |
8 |
get_section() |
S |
82 |
1 |
3 |
set_section() |
S |
81 |
1 |
3 |
get_course() |
S |
82 |
1 |
3 |
is_visible() |
S |
75 |
1 |
4 |
get_title() |
S |
78 |
1 |
3 |
get_icon_class() |
S |
82 |
1 |
3 |
offsetUnset() |
S |
91 |
1 |
2 |