Code Analysis: Dashboard for Pressbooks and H5P 1.1.6

Function Rating Maintainability Complexity Lines of code
Dashboard_For_Pressbooks_H5P\Data::get_chapters_with_h5p()
A
40 13 63
Dashboard_For_Pressbooks_H5P\Dashboard_Widget::render_users()
A
35 9 96
Dashboard_For_Pressbooks_H5P\Dashboard_Widget::render_pager()
A
35 9 90
Dashboard_For_Pressbooks_H5P\Dashboard_Widget::update()
A
44 10 45
Dashboard_For_Pressbooks_H5P\Settings::admin_notices__dependency_check()
A
45 10 45
Dashboard_For_Pressbooks_H5P\Dashboard_Widget::render_user_tooltip()
A
40 8 64
Dashboard_For_Pressbooks_H5P\Dashboard_Widget::sanitized_defaults()
A
57 9 15
Dashboard_For_Pressbooks_H5P\Dashboard_Widget::get_filters()
A
39 4 80
Dashboard_For_Pressbooks_H5P\Dashboard_Widget::add_dashboard_widget()
S
51 7 28
Dashboard_For_Pressbooks_H5P\Extend_Pressbooks_TOC::enqueue_scripts()
S
49 6 29
Dashboard_For_Pressbooks_H5P\Dashboard_Widget::render_chapter_tooltip()
S
50 5 29
Dashboard_For_Pressbooks_H5P\Data::get_raw_h5p_results_by_user_id()
S
51 5 28
Dashboard_For_Pressbooks_H5P\Data::get_h5p_results_by_user_id()
S
52 5 23
Dashboard_For_Pressbooks_H5P\Extend_Pressbooks_Organize::admin_enqueue_scripts__add_h5p_data()
S
52 4 23
Dashboard_For_Pressbooks_H5P\Settings::sanitized_defaults()
S
62 4 11
Dashboard_For_Pressbooks_H5P\Dashboard_Widget::render()
S
54 3 23
Dashboard_For_Pressbooks_H5P\Hide_H5P_For_Anonymous_Users::enqueue_scripts()
S
58 3 15
Dashboard_For_Pressbooks_H5P\Data::get_book_structure()
S
64 3 11
Dashboard_For_Pressbooks_H5P\Settings::render_settings_page()
S
50 1 36
Dashboard_For_Pressbooks_H5P\Dashboard_Widget::admin_enqueue_scripts()
S
55 2 18
Dashboard_For_Pressbooks_H5P\Extend_Pressbooks_TOC::is_plugin_active_for_network()
S
64 3 10
Dashboard_For_Pressbooks_H5P\Settings::admin_init__register_settings()
S
52 1 30
Dashboard_For_Pressbooks_H5P\Settings::render_option_default_pass_percentage()
S
59 1 18
Dashboard_For_Pressbooks_H5P\Plugin::__construct()
S
55 1 18
Dashboard_For_Pressbooks_H5P\Settings::render_option_hide_h5p_for_anonymous_users()
S
60 1 16
Dashboard_For_Pressbooks_H5P\Extend_Pressbooks_TOC::is_plugin_active()
S
77 2 3
Dashboard_For_Pressbooks_H5P\Singleton::get_instance()
S
68 2 7
Dashboard_For_Pressbooks_H5P\Hide_H5P_For_Anonymous_Users::body_class__add_anonymous()
S
71 2 6
Dashboard_For_Pressbooks_H5P\Dashboard_Widget::get_options()
S
70 2 6
Dashboard_For_Pressbooks_H5P\Data::get_my_h5p_results()
S
72 2 6
Dashboard_For_Pressbooks_H5P\Static_Instance::get_instance()
S
79 2 3
Dashboard_For_Pressbooks_H5P\Data::get_my_raw_h5p_results()
S
72 2 6
Dashboard_For_Pressbooks_H5P\Settings::get()
S
69 2 6
Dashboard_For_Pressbooks_H5P\Settings::admin_enqueue_scripts()
S
69 2 6
Dashboard_For_Pressbooks_H5P\Plugin::activate()
S
91 1 2
Dashboard_For_Pressbooks_H5P\Settings::plugin_settings_link()
S
71 1 5
Dashboard_For_Pressbooks_H5P\Plugin::deactivate()
S
91 1 2
Dashboard_For_Pressbooks_H5P\Settings::admin_menu__add_options_page()
S
66 1 9
Dashboard_For_Pressbooks_H5P\Dashboard_Widget::update_options()
S
75 1 4
Dashboard_For_Pressbooks_H5P\Save_Last_Login_User_Meta::update()
S
79 1 3
Dashboard_For_Pressbooks_H5P\Dashboard_Widget::get_option()
S
75 1 4
Dashboard_For_Pressbooks_H5P\Plugin::load_textdomain()
S
69 1 7
Dashboard_For_Pressbooks_H5P\Singleton::__construct()
S
91 1 2
Dashboard_For_Pressbooks_H5P\Singleton::__clone()
S
91 1 2
plugin_root()
S
83 1 3
plugin_version()
S
83 1 3
Dashboard_For_Pressbooks_H5P\Static_Instance::__construct()
S
91 1 2