| Total Complexity | 68 | 
| Dependencies | 7 | 
| Dependents | 1 | 
| Total lines | 519 | 
| Lines of code | 328 | 
| Logical lines of code | 136 | 
| Comment lines | 121 | 
| Methods | 15 | 
| Properties | 2 | 
| Method | Rating | Maintainability | Complexity | Lines of code | 
|---|---|---|---|---|
| get_filter_items() | 36 | 15 | 80 | |
| calculate_max_pages() | 45 | 12 | 40 | |
| update_layout() | 50 | 11 | 25 | |
| register_routes() | 42 | 1 | 69 | |
| update_gallery_items_count_notice_state_permission() | 62 | 5 | 10 | |
| get_filter_items_permission() | 62 | 4 | 11 | |
| get_layouts_permission() | 62 | 4 | 11 | |
| get_layouts() | 52 | 3 | 24 | |
| get_max_pages() | 59 | 3 | 15 | |
| update_layout_permission() | 62 | 4 | 10 | |
| error() | 60 | 2 | 14 | |
| __construct() | 79 | 1 | 3 | |
| get_max_pages_permission() | 80 | 1 | 3 | |
| update_gallery_items_count_notice_state() | 75 | 1 | 4 | |
| success() | 67 | 1 | 9 |