LP_Course_Item C

Total Complexity 110
Dependencies 5
Dependents 9
Total lines 677
Lines of code 385
Logical lines of code 209
Comment lines 170
Methods 31
Properties 6

Methods 31

Method Rating Maintainability Complexity Lines of code
is_blocked()
B
41 17 56
_parse_item_block_status()
A
43 14 46
get_item()
A
44 14 44
get_status_classes()
A
49 9 33
get_class()
S
51 5 27
_item_is_blocked()
S
60 5 13
get_status_title()
S
53 4 23
get_duration()
S
60 4 13
is_viewing_question()
S
64 4 9
get_item_type()
S
65 3 10
verify_nonce()
S
64 3 10
create_nonce()
S
64 3 10
is_preview()
S
64 3 9
set_course()
S
70 2 7
get_course_id()
S
70 2 7
get_format()
S
68 2 7
get_permalink()
S
68 2 7
to_array()
S
62 1 12
offsetSet()
S
91 1 2
offsetExists()
S
91 1 2
offsetGet()
S
91 1 2
__construct()
S
74 1 4
get_nonce_action()
S
78 1 3
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