Total Complexity | 32 |
Dependencies | 2 |
Dependents | 1 |
Total lines | 244 |
Lines of code | 169 |
Logical lines of code | 90 |
Comment lines | 49 |
Methods | 10 |
Properties | 0 |
Method | Rating | Maintainability | Complexity | Lines of code |
---|---|---|---|---|
output_attachment_items() | 40 | 13 | 62 | |
render_attachment_item() | 51 | 4 | 28 | |
attachment_modal_toggle() | 59 | 3 | 15 | |
save_gallery_attachments() | 63 | 3 | 10 | |
__construct() | 61 | 2 | 11 | |
get_gallery_attachments() | 64 | 2 | 10 | |
get_gallery_featured_attachment() | 67 | 2 | 8 | |
render_add_media_button() | 64 | 1 | 12 | |
get_gallery_attachment_count() | 80 | 1 | 3 | |
output_add_button() | 66 | 1 | 10 |