-
Home
-
LearnPress – WordPress LMS Plugin
-
3.2.8.6
-
Code
-
Classes
- LP_Course_Item
Total Complexity |
117 |
Dependencies |
6 |
Dependents |
6 |
Total lines |
652 |
Lines of code |
346 |
Logical lines of code |
200 |
Comment lines |
185 |
Methods |
31 |
Properties |
6 |
Methods 31
Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
is_blocked() |
B |
44 |
16 |
46 |
get_item() |
A |
45 |
15 |
40 |
_parse_item_block_status() |
A |
48 |
11 |
31 |
get_status_classes() |
A |
51 |
9 |
26 |
_item_is_blocked() |
A |
56 |
8 |
17 |
is_blocked_by() |
S |
57 |
7 |
15 |
get_class() |
S |
52 |
5 |
22 |
get_format() |
S |
59 |
4 |
15 |
create_nonce() |
S |
60 |
4 |
14 |
get_duration() |
S |
61 |
4 |
12 |
is_preview() |
S |
61 |
4 |
12 |
is_viewing_question() |
S |
64 |
4 |
9 |
verify_nonce() |
S |
64 |
3 |
10 |
get_item_type() |
S |
66 |
3 |
9 |
get_course_id() |
S |
71 |
2 |
6 |
set_course() |
S |
70 |
2 |
7 |
get_permalink() |
S |
68 |
2 |
7 |
offsetExists() |
S |
91 |
1 |
2 |
offsetGet() |
S |
91 |
1 |
2 |
offsetSet() |
S |
91 |
1 |
2 |
__construct() |
S |
74 |
1 |
4 |
get_template() |
S |
72 |
1 |
5 |
get_nonce_action() |
S |
78 |
1 |
3 |
to_array() |
S |
65 |
1 |
9 |
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 |