-
Home
-
AI Engine
-
2.4.2
-
Code
-
Classes
- Meow_MWAI_Core
Total Complexity |
259 |
Dependencies |
22 |
Dependents |
4 |
Total lines |
1,219 |
Lines of code |
990 |
Logical lines of code |
609 |
Comment lines |
93 |
Methods |
56 |
Properties |
13 |
Methods 56
Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
sanitize_options() |
C |
31 |
28 |
120 |
add_image_from_url() |
A |
39 |
15 |
60 |
update_chatbots() |
A |
43 |
13 |
48 |
run_query() |
A |
49 |
11 |
29 |
get_all_options() |
A |
42 |
9 |
56 |
get_chatbots() |
A |
47 |
10 |
37 |
estimate_tokens() |
A |
53 |
9 |
21 |
get_user_data() |
A |
56 |
9 |
16 |
get_post_types() |
A |
52 |
8 |
23 |
get_logs_path() |
A |
53 |
8 |
22 |
clean_sentences() |
A |
47 |
7 |
34 |
get_user_id() |
A |
56 |
8 |
18 |
record_tokens_usage() |
A |
49 |
7 |
32 |
get_ip_address() |
S |
50 |
7 |
27 |
init() |
S |
52 |
7 |
26 |
record_images_usage() |
S |
54 |
7 |
20 |
get_mime_type() |
S |
51 |
5 |
26 |
record_audio_usage() |
S |
55 |
5 |
19 |
get_post() |
S |
51 |
4 |
26 |
get_themes() |
S |
53 |
4 |
23 |
log() |
S |
58 |
4 |
15 |
get_assistant() |
S |
61 |
4 |
13 |
get_post_content() |
S |
54 |
3 |
22 |
retrieve_context() |
S |
56 |
3 |
17 |
get_engine_models() |
S |
65 |
4 |
9 |
download_image() |
S |
62 |
3 |
12 |
get_random_id() |
S |
61 |
3 |
12 |
get_embeddings_env() |
S |
65 |
3 |
9 |
get_ai_env() |
S |
65 |
3 |
9 |
get_theme() |
S |
66 |
3 |
9 |
set_if_empty_defaults() |
S |
65 |
3 |
9 |
update_ai_env() |
S |
63 |
3 |
10 |
get_chatbot() |
S |
65 |
3 |
9 |
__construct() |
S |
59 |
2 |
14 |
get_logs() |
S |
62 |
2 |
12 |
get_post_language() |
S |
61 |
2 |
11 |
stream_push() |
S |
66 |
2 |
9 |
is_image() |
S |
68 |
2 |
7 |
clear_logs() |
S |
66 |
2 |
9 |
can_access_features() |
S |
74 |
2 |
4 |
update_options() |
S |
69 |
2 |
7 |
get_nonce() |
S |
70 |
2 |
7 |
get_session_id() |
S |
72 |
2 |
6 |
get_admin_user() |
S |
68 |
2 |
7 |
is_url() |
S |
78 |
2 |
3 |
random_ascii_chars() |
S |
63 |
2 |
9 |
markdown_to_html() |
S |
74 |
1 |
5 |
clean_text() |
S |
66 |
1 |
8 |
update_themes() |
S |
77 |
1 |
4 |
update_option() |
S |
73 |
1 |
5 |
get_option() |
S |
75 |
1 |
4 |
can_access_public_api() |
S |
75 |
1 |
4 |
reset_options() |
S |
72 |
1 |
6 |
check_rest_nonce() |
S |
72 |
1 |
5 |
can_access_settings() |
S |
79 |
1 |
3 |
register_scripts() |
S |
77 |
1 |
3 |