-
Home
-
SmartAIPress
-
1.0.0
-
Code
-
Classes
- Smartaipress_Openai_Client
Total Complexity |
34 |
Dependencies |
0 |
Dependents |
1 |
Total lines |
420 |
Lines of code |
200 |
Logical lines of code |
106 |
Comment lines |
153 |
Methods |
9 |
Properties |
4 |
Methods 9
Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
prompt() |
A |
39 |
8 |
69 |
set_post_fields() |
A |
49 |
7 |
32 |
set_prompt_url() |
S |
59 |
7 |
16 |
insert_prompt_in_db() |
S |
57 |
3 |
17 |
fetch_api_usage_for_day() |
S |
53 |
2 |
23 |
fetch_api_usage_data() |
S |
56 |
2 |
17 |
get_instance() |
S |
71 |
2 |
6 |
api_key() |
S |
71 |
2 |
6 |
update_prompt_in_db() |
S |
59 |
1 |
14 |