| Total Complexity | 37 |
| Dependencies | 0 |
| Dependents | 0 |
| Total lines | 418 |
| Lines of code | 166 |
| Logical lines of code | 92 |
| Comment lines | 166 |
| Methods | 14 |
| Properties | 2 |
| Method | Rating | Maintainability | Complexity | Lines of code |
|---|---|---|---|---|
| restriction_checks_courses() | 51 | 10 | 27 | |
| restriction_checks_memberships() | 55 | 7 | 19 | |
| engagement_query_args() | 61 | 4 | 12 | |
| get_course_forum_ids() | 62 | 3 | 12 | |
| save_course_settings() | 61 | 3 | 12 | |
| configure() | 54 | 2 | 18 | |
| course_settings_fields() | 52 | 1 | 25 | |
| get_forum_course_restrictions() | 58 | 1 | 16 | |
| add_course_props() | 76 | 1 | 4 | |
| add_membership_restrictions() | 76 | 1 | 4 | |
| handle_course_forum_restriction() | 71 | 1 | 5 | |
| is_installed() | 80 | 1 | 3 | |
| register_shortcodes() | 77 | 1 | 4 | |
| register_engagement_triggers() | 72 | 1 | 5 |