EPKB_AI_Sync_Hooks A

Total Complexity 65
Dependencies 8
Dependents 0
Total lines 383
Lines of code 184
Logical lines of code 106
Comment lines 137
Methods 15
Properties 0

Methods 15

Method Rating Maintainability Complexity Lines of code
handle_post_save()
A
55 10 20
handle_post_status_change()
A
57 10 16
sync_one_post()
A
52 8 24
handle_post_delete()
S
54 7 21
get_collections_for_post_type()
S
58 7 15
sync_one_attachment()
S
55 4 21
handle_attachment_add()
S
62 4 13
is_kb_post_type()
S
61 4 12
handle_attachment_edit()
S
71 3 6
handle_attachment_delete()
S
62 2 12
__construct()
S
66 2 8
mark_post_outdated()
S
75 1 4
mark_attachment_outdated()
S
75 1 4
is_auto_sync_enabled()
S
75 1 4
is_attachment_sync_enabled()
S
75 1 4