Code Analysis: GPT-3 AI Auto Text Content Generator, Article Writer 1.3.0

Function Rating Maintainability Complexity Lines of code
MoMo_ACG_Rest_API::momoacg_openai_generate_content_output_json()
D
17
79 187
MoMo_ACG_Rest_API::momoacg_openai_generate_headings_output_json()
C
33 29 87
MoMo_ACG_Rest_API::momo_acg_generate_openai_contents()
B
44 23 35
MoMo_ACG_Admin_Ajax::momo_acg_openai_generate_content()
B
44 17 38
MoMo_ACG_Admin_Ajax::momo_acg_openai_save_draft_content()
A
39 10 74
MoMo_Basic_Functions_ACG::momo_switch_and_generate_field()
A
48 11 36
MoMo_ACG_OpenAI_Metabox::momo_acg_openai_amb_callback()
A
30 1 169
MoMo_Basic_Functions_ACG::momo_generate_switch()
A
48 8 38
MoMo_Basic_Functions_ACG::momo_wsw_run_rest_api()
A
46 7 37
MoMo_ACG_Admin_Ajax::momo_acg_openai_generate_headings()
A
53 8 20
MoMo_ACG_Lang_All::__construct()
S
41 5 59
MoMo_Basic_Functions_ACG::momo_generate_section_block()
S
56 7 18
MoMo_Basic_Functions_ACG::momo_generate_working()
S
58 6 17
MoMo_ACG_Rest_API::momo_generate_heading_html_container()
S
50 5 28
MoMo_Basic_Functions_ACG::momo_generate_custom_field()
S
59 5 15
MoMo_Basic_Functions_ACG::momo_generate_textarea()
S
57 4 17
MoMo_Auto_Content_Generator::momoacg_plugin_init()
S
56 3 19
MoMo_Basic_Functions_ACG::momo_generate_metabox()
S
59 3 18
MoMo_Basic_Functions_ACG::momo_generate_select()
S
60 3 14
MoMo_Basic_Functions_ACG::momo_generate_button_block()
S
63 3 12
MoMo_Basic_Functions_ACG::momo_generate_text()
S
64 3 10
MoMo_Basic_Functions_ACG::momo_generate_attr()
S
65 3 9
MoMo_Basic_Functions_ACG::momo_return_check_option()
S
65 3 9
MoMo_Basic_Functions_ACG::momoacg_disable_cache_is_enabled()
S
66 3 8
MoMo_ACG_OpenAI_Metabox::momo_openai_add_meta_boxes()
S
63 2 12
MoMo_ACG_OpenAI_Metabox::__construct()
S
62 2 11
MoMo_ACG_Admin_Ajax::__construct()
S
63 2 11
MoMo_ACG_Admin_Init::momoacg_set_admin_menu()
S
57 1 19
MoMo_CPT_Momoacg::momo_custom_post_type_momoacg()
S
57 1 19
MoMo_ACG_Admin_Init::momoacg_print_admin_ss()
S
56 1 17
MoMo_ACG_Rest_API::momo_acg_initiate_rest_api()
S
59 1 16
MoMo_Basic_Functions_ACG::momo_return_option_yesno()
S
74 2 4
MoMo_Basic_Functions_ACG::momo_generate_messagebox()
S
70 2 6
MoMo_Basic_Functions_ACG::momo_replace_first_str()
S
73 2 4
MoMo_Basic_Functions_ACG::momo_generate_button()
S
66 2 8
MoMo_ACG_Lang_All::momo_get_all_writing_text()
S
80 1 3
MoMo_ACG_Lang_All::momo_get_all_writing_style()
S
82 1 3
MoMo_ACG_Rest_API::__construct()
S
79 1 3
MoMo_ACG_Admin_Init::momoacg_register_settings()
S
80 1 3
MoMo_ACG_Admin_Init::__construct()
S
72 1 5
MoMo_CPT_Momoacg::__construct()
S
78 1 3
MoMo_Auto_Content_Generator::momoacg_plugin_loaded()
S
69 1 6
MoMo_Basic_Functions_ACG::momo_generate_text_output()
S
74 1 5
MoMo_ACG_Lang_All::momo_get_all_langs()
S
82 1 3
MoMo_ACG_Admin_Init::momoacg_add_admin_settings_page()
S
76 1 4
MoMo_Auto_Content_Generator::__construct()
S
75 1 4
MoMo_Auto_Content_Generator::momo_acg_plugin_activation()
S
80 1 3
MoMo_Basic_Functions_ACG::momo_is_json()
S
76 1 4