Total Complexity | 69 |
Dependencies | 2 |
Dependents | 1 |
Total lines | 511 |
Lines of code | 290 |
Logical lines of code | 143 |
Comment lines | 163 |
Methods | 13 |
Properties | 0 |
Method | Rating | Maintainability | Complexity | Lines of code |
---|---|---|---|---|
add_attachment_to_gallery() | 36 | 13 | 84 | |
change_parents_and_sequence() | 48 | 13 | 31 | |
remove_attachment_from_gallery() | 43 | 10 | 50 | |
unattach_when_removed() | 52 | 6 | 25 | |
create_gallery() | 52 | 5 | 26 | |
inner_blocks_contains_id() | 61 | 5 | 13 | |
find_gallery_block() | 61 | 4 | 13 | |
is_gallery_block_with_specific_css_class() | 68 | 4 | 6 | |
add_hooks() | 61 | 2 | 11 | |
maintain_gallery_during_attach_and_detach() | 62 | 2 | 11 | |
delete_attachment_handler() | 69 | 2 | 7 | |
safe_update_post() | 63 | 2 | 10 | |
is_enabled() | 78 | 1 | 3 |