{"id":2156,"date":"2021-07-14T07:02:57","date_gmt":"2021-07-14T07:02:57","guid":{"rendered":"https:\/\/sdf-docs.mansystems.com\/docs\/acr-rules\/maintenance\/project-should-have-a-maximum-of-n-widgets\/"},"modified":"2021-07-14T07:04:19","modified_gmt":"2021-07-14T07:04:19","slug":"maintainabilitywidgetamount","status":"publish","type":"docs","link":"https:\/\/sdf-docs.clevr.com\/?docs=acr-rules\/maintainability\/maintainabilitywidgetamount","title":{"rendered":"Project should have a maximum of N widgets"},"content":{"rendered":"\n<p id=\"block-65feb11c-fc9e-472a-822a-29fbdc9f4864\">Introduced in version 2.6 (released August 2021)<\/p>\n\n\n\n<p>To keep the app maintainable prevent an unlimited growth of the amount of widgets in the widgets folder. Often widgets are unused, because they arrive when a developer tries out an AppStore module and on delete of that module the widget is left behind.<\/p>\n","protected":false},"featured_media":0,"parent":98,"menu_order":27,"comment_status":"open","ping_status":"closed","template":"","doc_tag":[],"class_list":["post-2156","docs","type-docs","status-publish","hentry"],"comment_count":0,"_links":{"self":[{"href":"https:\/\/sdf-docs.clevr.com\/index.php?rest_route=\/wp\/v2\/docs\/2156"}],"collection":[{"href":"https:\/\/sdf-docs.clevr.com\/index.php?rest_route=\/wp\/v2\/docs"}],"about":[{"href":"https:\/\/sdf-docs.clevr.com\/index.php?rest_route=\/wp\/v2\/types\/docs"}],"replies":[{"embeddable":true,"href":"https:\/\/sdf-docs.clevr.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=2156"}],"version-history":[{"count":1,"href":"https:\/\/sdf-docs.clevr.com\/index.php?rest_route=\/wp\/v2\/docs\/2156\/revisions"}],"predecessor-version":[{"id":2158,"href":"https:\/\/sdf-docs.clevr.com\/index.php?rest_route=\/wp\/v2\/docs\/2156\/revisions\/2158"}],"up":[{"embeddable":true,"href":"https:\/\/sdf-docs.clevr.com\/index.php?rest_route=\/wp\/v2\/docs\/98"}],"prev":[{"title":"Project should have a maximum of N user libraries","link":"https:\/\/sdf-docs.clevr.com\/?docs=acr-rules\/maintainability\/maintainabilityjaramount","href":"https:\/\/sdf-docs.clevr.com\/index.php?rest_route=\/wp\/v2\/docs\/2153"}],"wp:attachment":[{"href":"https:\/\/sdf-docs.clevr.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=2156"}],"wp:term":[{"taxonomy":"doc_tag","embeddable":true,"href":"https:\/\/sdf-docs.clevr.com\/index.php?rest_route=%2Fwp%2Fv2%2Fdoc_tag&post=2156"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}