Meow_MWAI_Core D

Total Complexity 191
Dependencies 15
Dependents 2
Total lines 902
Lines of code 734
Logical lines of code 434
Comment lines 66
Methods 45
Properties 14

Methods 45

Method Rating Maintainability Complexity Lines of code
sanitize_options()
D
29 38 121
getChatbots()
A
51 9 27
getUserData()
A
56 9 16
addImageFromURL()
A
44 7 44
getPostTypes()
A
52 8 23
dynamic_max_tokens()
S
49 7 29
get_ip_address()
S
50 7 27
record_images_usage()
S
52 7 26
recordTokensUsage()
S
50 6 32
estimateTokens()
S
53 6 24
init()
S
53 6 24
cleanSentences()
S
53 5 23
record_audio_usage()
S
54 5 23
updateChatbots()
S
56 5 19
get_user_id()
S
62 5 12
getThemes()
S
53 4 23
get_all_options()
S
55 4 19
getAssistant()
S
61 4 13
getCleanPostContent()
S
54 3 22
downloadImage()
S
62 3 12
generateRandomId()
S
61 3 12
getCleanPost()
S
55 2 20
update_ai_env()
S
63 3 10
getChatbot()
S
64 3 10
getTheme()
S
66 3 9
getEnvironment()
S
65 3 9
get_post_language()
S
61 2 11
isUrl()
S
78 2 3
get_session_id()
S
72 2 6
get_nonce()
S
70 2 7
update_options()
S
69 2 7
stream_push()
S
66 2 9
can_access_features()
S
74 2 4
__construct()
S
62 1 11
updateThemes()
S
77 1 4
check_rest_nonce()
S
75 1 4
markdown_to_html()
S
74 1 5
cleanText()
S
66 1 8
can_access_public_api()
S
75 1 4
can_access_settings()
S
79 1 3
enqueue_scripts()
S
77 1 4
update_option()
S
73 1 5
get_option()
S
75 1 4
register_scripts()
S
77 1 3
reset_options()
S
81 1 3