Total Complexity | 48 |
Dependencies | 10 |
Dependents | 1 |
Total lines | 410 |
Lines of code | 243 |
Logical lines of code | 113 |
Comment lines | 110 |
Methods | 10 |
Properties | 4 |
Method | Rating | Maintainability | Complexity | Lines of code |
---|---|---|---|---|
get_gpt_completion() | 37 | 14 | 78 | |
get_dalle_generation() | 42 | 10 | 53 | |
get_ai_assistance_feature() | 39 | 8 | 62 | |
mark_post_as_ai_assisted() | 60 | 4 | 13 | |
is_enabled() | 64 | 4 | 9 | |
is_ai_chat_enabled() | 65 | 3 | 9 | |
get_status_permission_check() | 64 | 2 | 10 | |
transient_name_for_image_generation() | 79 | 1 | 3 | |
transient_name_for_completion() | 79 | 1 | 3 | |
transient_name_for_ai_assistance_feature() | 80 | 1 | 3 |