HippooAI C

Total Complexity 122
Dependencies 1
Dependents 0
Total lines 870
Lines of code 681
Logical lines of code 343
Comment lines 8
Methods 34
Properties 2

Methods 34

Method Rating Maintainability Complexity Lines of code
rest_generate_description()
B
39 16 61
openai_generate_description()
A
37 8 77
parse_input_images()
A
50 11 27
optimize_image()
A
48 8 29
rest_update_settings()
A
51 8 25
gemini_generate_description()
A
40 5 62
field_ai_model_render()
S
52 7 26
rest_test_connection()
S
48 5 31
rest_get_settings()
S
54 5 21
do_test_connection()
S
55 5 20
rest_get_models()
S
54 4 21
settings_init()
S
43 1 63
rest_update_prompts()
S
61 3 12
register_rest_routes()
S
48 1 41
get_models_by_provider()
S
62 3 11
rest_use_wc_authentication()
S
64 3 9
check_rate_limit()
S
63 3 10
openai_test_connection()
S
62 2 11
add_ai_tab_content()
S
61 1 16
field_ai_provider_render()
S
65 2 9
field_api_token_render()
S
64 2 10
field_system_prompt_render()
S
66 2 9
field_description_prompt_render()
S
66 2 9
field_max_tokens_render()
S
67 2 8
generate_cache_key()
S
68 2 7
uses_max_completion_tokens()
S
71 2 6
gemini_test_connection()
S
67 2 7
__construct()
S
64 1 9
add_ai_tab()
S
70 1 5
sanitize_ai_settings()
S
72 1 5
section_ai_connect_render()
S
81 1 6
section_ai_product_reader_render()
S
78 1 8
rest_permission_check()
S
80 1 3
rest_get_prompts()
S
68 1 7