-
Home
-
AI Smart Excerpt
-
2.0.1
-
Code
-
Classes
- LLM_Service
Total Complexity |
37 |
Dependencies |
0 |
Dependents |
2 |
Total lines |
411 |
Lines of code |
217 |
Logical lines of code |
86 |
Comment lines |
109 |
Methods |
14 |
Properties |
2 |
Methods 14
Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
generate_excerpt() |
S |
54 |
6 |
21 |
validate_api_key_format() |
S |
59 |
5 |
15 |
parse_claude_response() |
S |
62 |
4 |
11 |
parse_openai_response() |
S |
62 |
4 |
11 |
parse_gemini_response() |
S |
61 |
4 |
11 |
get_selected_model() |
S |
64 |
4 |
9 |
test_api_connection() |
S |
52 |
2 |
26 |
build_prompt() |
S |
52 |
1 |
32 |
call_gemini_api() |
S |
52 |
1 |
26 |
call_claude_api() |
S |
54 |
1 |
23 |
call_openai_api() |
S |
54 |
1 |
23 |
get_models_for_provider() |
S |
77 |
2 |
3 |
__construct() |
S |
79 |
1 |
3 |
get_providers() |
S |
80 |
1 |
3 |