SFTCY_Wordai_OpenAI A

Total Complexity 66
Dependencies 2
Dependents 3
Total lines 879
Lines of code 653
Logical lines of code 165
Comment lines 157
Methods 24
Properties 9

Methods 24

Method Rating Maintainability Complexity Lines of code
generate_prompt()
B
42 16 46
wordai_allowed_html_tags()
A
31 1 185
language_list()
A
28
1 147
create_content()
S
45 6 40
generate_image()
S
45 6 40
set_openai_params()
S
55 6 17
set_openai_image_params()
S
54 5 22
__construct()
S
65 5 9
get_list_models()
S
55 2 19
sc_wordai_streaming_status()
S
73 3 4
sc_wordai_stream_response()
S
60 2 13
openai_dalle2_image_styles()
S
54 1 21
writing_tones()
S
58 1 16
wordai_raw_contents()
S
78 1 3
initiate_hooks()
S
80 1 3
sc_curl_add_streaming_hook()
S
78 1 3
openai_models()
S
69 1 7
openai_image_models()
S
69 1 7
openai_dalle3_image_styles()
S
69 1 7
writing_styles()
S
66 1 9
title_lengths()
S
67 1 8
content_paragraphs()
S
64 1 10
excerpt_words()
S
67 1 8
tags_number()
S
66 1 9