| Total Complexity | 26 |
| Dependencies | 4 |
| Dependents | 8 |
| Total lines | 272 |
| Lines of code | 116 |
| Logical lines of code | 52 |
| Comment lines | 112 |
| Methods | 12 |
| Properties | 1 |
| Method | Rating | Maintainability | Complexity | Lines of code |
|---|---|---|---|---|
| should_use_learning_mode() | 56 | 7 | 18 | |
| ensure_learning_mode_url_prefix() | 54 | 6 | 20 | |
| add_course_theme_notice() | 55 | 1 | 22 | |
| instance() | 71 | 2 | 6 | |
| has_learning_mode_enabled() | 66 | 2 | 7 | |
| show_admin_bar_only_for_editors() | 66 | 2 | 8 | |
| register_post_meta() | 60 | 1 | 15 | |
| __construct() | 91 | 1 | 2 | |
| init() | 69 | 1 | 6 | |
| should_use_sensei_theme() | 75 | 1 | 4 | |
| should_override_theme() | 74 | 1 | 4 | |
| has_sensei_theme_enabled() | 75 | 1 | 4 |