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