HTMega_AI_Integration B

Total Complexity 96
Dependencies 2
Dependents 0
Total lines 874
Lines of code 628
Logical lines of code 253
Comment lines 117
Methods 26
Properties 2

Methods 26

Method Rating Maintainability Complexity Lines of code
process_claude_response()
A
49 8 30
process_google_response()
A
49 8 30
process_openai_response()
A
49 8 30
get_error_suggestions()
S
51 7 27
generate_openai_content()
S
45 5 44
handle_ai_generation()
S
50 6 27
add_ai_settings()
S
37 1 94
validate_claude_key()
S
49 5 31
validate_openai_key()
S
49 5 30
validate_google_key()
S
50 5 28
enhance_prompt()
S
50 4 29
generate_google_content()
S
47 3 38
generate_claude_content()
S
48 3 34
is_api_key_configured()
S
60 4 14
generate_ai_content()
S
61 4 12
test_api_connection()
S
56 3 19
is_ai_enabled()
S
68 4 7
inject_ai_buttons()
S
55 2 20
enqueue_ai_scripts()
S
50 1 30
get_ai_option()
S
70 2 6
maybe_init_ai()
S
71 2 6
add_ai_tab()
S
59 1 15
instance()
S
71 2 6
__construct()
S
69 1 6
init_ai_features()
S
69 1 6
admin_sub_menu()
S
67 1 9