Total Complexity | 37 |
Dependencies | 3 |
Dependents | 2 |
Total lines | 255 |
Lines of code | 116 |
Logical lines of code | 58 |
Comment lines | 82 |
Methods | 14 |
Properties | 1 |
Method | Rating | Maintainability | Complexity | Lines of code |
---|---|---|---|---|
maybe_override_lesson_theme() | 58 | 7 | 14 | |
is_site_editor_request() | 67 | 5 | 6 | |
add_admin_menu_site_editor_item() | 60 | 3 | 14 | |
substitute_theme_cache() | 55 | 2 | 21 | |
add_site_editor_hooks() | 63 | 3 | 9 | |
enqueue_site_editor_assets() | 64 | 3 | 9 | |
lesson_has_learning_mode() | 66 | 3 | 8 | |
instance() | 71 | 2 | 6 | |
maybe_add_site_editor_hooks() | 75 | 2 | 5 | |
override_theme_block_template_file() | 69 | 2 | 6 | |
is_site_editor() | 73 | 2 | 4 | |
__construct() | 91 | 1 | 2 | |
init() | 67 | 1 | 7 | |
add_editor_styles() | 73 | 1 | 5 |