Sensei_Main D

Total Complexity 157
Dependencies 82
Dependents 4
Total lines 1,861
Lines of code 630
Logical lines of code 375
Comment lines 884
Methods 63
Properties 54

Methods 63

Method Rating Maintainability Complexity Lines of code
initialize_global_objects()
B
31 14 108
get_sensei_comment_counts_direct()
A
46 8 42
get_image_size()
A
51 8 25
sensei_count_comments()
A
53 8 22
body_class()
S
53 6 23
assign_role_caps()
S
60 6 14
update()
S
60 5 12
access_settings()
S
62 4 14
load_modules_class()
S
60 4 12
register_widgets()
S
56 3 18
is_general_configuration_page()
S
76 4 3
__construct()
S
56 2 16
get_sensei_comment_counts()
S
63 3 10
load_class()
S
71 3 5
comment_counts_include_sensei_comments()
S
64 3 10
load_hooks()
S
57 2 15
plugin_action_links()
S
63 3 10
register_plugin_version()
S
66 3 9
maybe_remove_feed_content()
S
69 3 6
flush_rewrite_rules()
S
65 3 9
initialize_cli()
S
71 3 6
run_updates()
S
70 3 6
init_migration_scheduler()
S
62 2 13
add_sensei_admin_caps()
S
62 2 12
load_plugin_textdomain()
S
60 2 12
add_editor_caps()
S
63 2 11
activation_flush_rules()
S
73 2 5
get_settings_link()
S
68 2 7
maybe_add_latex_support_via()
S
67 2 8
plugin_path()
S
68 2 8
get_page_id()
S
73 2 4
ensure_post_thumbnails_support()
S
76 2 4
activate_sensei()
S
68 2 7
maybe_initiate_rewrite_rules_flush_on_translation_update()
S
73 2 5
get_legacy_flag()
S
69 2 7
maybe_initiate_rewrite_rules_flush_after_language_change()
S
74 2 5
instance()
S
69 2 7
disable_sensei_modules_extension()
S
62 1 14
get_id()
S
82 1 3
get_support_url()
S
76 1 4
get_documentation_url()
S
80 1 3
get_settings_url()
S
80 1 3
get_general_configuration_url()
S
80 1 3
activate()
S
67 1 8
initiate_rewrite_rules_flush()
S
80 1 3
sensei_load_template_functions()
S
80 1 3
initialize_3rd_party_compatibility()
S
80 1 3
wp_quicklatex_support()
S
81 1 3
jetpack_latex_support()
S
81 1 3
__clone()
S
78 1 3
init_image_sizes()
S
63 1 10
__wakeup()
S
78 1 3
flush_comment_counts_cache()
S
68 1 7
initialize_cache_groups()
S
81 1 3
init()
S
66 1 8
get_legacy_flags()
S
78 1 3
set_legacy_flag()
S
72 1 5
course_exists()
S
69 1 6
install()
S
75 1 4
deactivation()
S
75 1 5
activation()
S
80 1 3
load_localisation()
S
74 1 4
resolve_path()
S
79 1 3