Total Complexity | 51 |
Dependencies | 11 |
Dependents | 1 |
Total lines | 452 |
Lines of code | 265 |
Logical lines of code | 122 |
Comment lines | 121 |
Methods | 10 |
Properties | 6 |
Method | Rating | Maintainability | Complexity | Lines of code |
---|---|---|---|---|
get_gpt_completion() | 37 | 14 | 78 | |
get_ai_assistance_feature() | 36 | 11 | 84 | |
get_dalle_generation() | 42 | 10 | 53 | |
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 |