Jetpack_AI_Helper A

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

Methods 10

Method Rating Maintainability Complexity Lines of code
get_gpt_completion()
B
37 14 78
get_ai_assistance_feature()
A
36 11 84
get_dalle_generation()
A
42 10 53
mark_post_as_ai_assisted()
S
60 4 13
is_enabled()
S
64 4 9
is_ai_chat_enabled()
S
65 3 9
get_status_permission_check()
S
64 2 10
transient_name_for_image_generation()
S
79 1 3
transient_name_for_completion()
S
79 1 3
transient_name_for_ai_assistance_feature()
S
80 1 3