Code Analysis: AI Content Writer 1.2.0

Function Rating Maintainability Complexity Lines of code
AIContentWriter\Admin\Actions::handle_generate_content()
D
23
43 183
Plugin::generate_openai_content()
A
41 10 52
AIContentWriter\Admin\Actions::handle_settings()
A
49 10 28
AIContentWriter\Admin\Actions::handle_set_featured_image()
A
46 9 36
Plugin::generate_content()
S
46 4 40
Plugin::generate_images()
S
52 5 23
aicw_render_external_image()
S
53 3 26
AIContentWriter\Admin\Admin::enqueue_scripts()
S
68 4 6
Plugin::display_flash_notices()
S
60 3 14
AIContentWriter\Admin\Admin::admin_page()
S
62 3 11
Plugin::flash_notice()
S
61 2 13
AIContentWriter\Admin\Admin::admin_menu()
S
58 1 19
Plugin::init()
S
72 2 6
Plugin::create()
S
70 2 6
aicw_convert_openai_markdown_to_html()
S
58 1 15
AIContentWriter\Admin\Admin::__construct()
S
70 1 6
AIContentWriter\Admin\Admin::settings_page()
S
80 1 3
AIContentWriter\Admin\Actions::__construct()
S
72 1 5
Plugin::includes()
S
77 1 4
AIContentWriter\Admin\Admin::help_menu()
S
65 1 10
ai_content_writer()
S
80 1 3
Plugin::activate()
S
80 1 3
Plugin::__construct()
S
69 1 7
aicw_ai_content_writer()
S
76 1 4
AIContentWriter\Admin\Admin::settings_menu()
S
65 1 10
Plugin::define_constants()
S
75 1 7
AIContentWriter\Admin\Admin::help_page()
S
80 1 3
Plugin::init_hooks()
S
71 1 5