| Total Complexity | 38 |
| Dependencies | 6 |
| Dependents | 16 |
| Total lines | 282 |
| Lines of code | 150 |
| Logical lines of code | 74 |
| Comment lines | 89 |
| Methods | 14 |
| Properties | 0 |
| Method | Rating | Maintainability | Complexity | Lines of code |
|---|---|---|---|---|
| timestamp_remaining_duration() | 47 | 8 | 38 | |
| get_course() | 50 | 7 | 31 | |
| get_course_object() | 57 | 8 | 16 | |
| set_viewing_item() | 63 | 3 | 10 | |
| get_default_meta() | 55 | 1 | 20 | |
| get_class_name_from_course_type() | 69 | 2 | 6 | |
| get_redirect_url_after_enroll() | 71 | 2 | 5 | |
| __construct() | 80 | 1 | 3 | |
| log() | 81 | 1 | 3 | |
| get_course_class() | 69 | 1 | 6 | |
| enable_block_item_when_finish() | 79 | 1 | 3 | |
| allow_repurchase() | 79 | 1 | 3 | |
| allow_repurchase_course_option() | 79 | 1 | 3 | |
| get_first_item_id() | 80 | 1 | 3 |