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