{"id":315,"date":"2019-11-01T14:11:06","date_gmt":"2019-11-01T14:11:06","guid":{"rendered":"https:\/\/sdf-docs.mansystems.com\/docs\/acr-rules\/maintenance\/amount-of-attributes-on-entity\/"},"modified":"2020-02-24T11:45:03","modified_gmt":"2020-02-24T11:45:03","slug":"attributeamount","status":"publish","type":"docs","link":"https:\/\/sdf-docs.clevr.com\/?docs=acr-rules\/maintainability\/attributeamount","title":{"rendered":"Entity should have a maximum of N attributes"},"content":{"rendered":"\n<table class=\"wp-block-table\"><tbody><tr><td>\n  Checks if entity has too many attributes\n  <\/td><\/tr><tr><td>   Code size is an important indicator for   code complexity and hence maintainability. Too many attributes indicate it   is difficult in the future to make changes to the architecture for this   entity   <\/td><\/tr><tr><td>\n  Add an integer value that constrains the\n  max amount of attributes per entity.\n  <\/td><\/tr><\/tbody><\/table>\n","protected":false},"featured_media":0,"parent":98,"menu_order":9,"comment_status":"open","ping_status":"closed","template":"","doc_tag":[],"class_list":["post-315","docs","type-docs","status-publish","hentry"],"comment_count":0,"_links":{"self":[{"href":"https:\/\/sdf-docs.clevr.com\/index.php?rest_route=\/wp\/v2\/docs\/315"}],"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=315"}],"version-history":[{"count":3,"href":"https:\/\/sdf-docs.clevr.com\/index.php?rest_route=\/wp\/v2\/docs\/315\/revisions"}],"predecessor-version":[{"id":1124,"href":"https:\/\/sdf-docs.clevr.com\/index.php?rest_route=\/wp\/v2\/docs\/315\/revisions\/1124"}],"up":[{"embeddable":true,"href":"https:\/\/sdf-docs.clevr.com\/index.php?rest_route=\/wp\/v2\/docs\/98"}],"next":[{"title":"Entity should have a maximum of N event handlers","link":"https:\/\/sdf-docs.clevr.com\/?docs=acr-rules\/maintainability\/eventhandleramount","href":"https:\/\/sdf-docs.clevr.com\/index.php?rest_route=\/wp\/v2\/docs\/313"}],"prev":[{"title":"Entity should have a maximum of N associations","link":"https:\/\/sdf-docs.clevr.com\/?docs=acr-rules\/maintainability\/amountassociations","href":"https:\/\/sdf-docs.clevr.com\/index.php?rest_route=\/wp\/v2\/docs\/309"}],"wp:attachment":[{"href":"https:\/\/sdf-docs.clevr.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=315"}],"wp:term":[{"taxonomy":"doc_tag","embeddable":true,"href":"https:\/\/sdf-docs.clevr.com\/index.php?rest_route=%2Fwp%2Fv2%2Fdoc_tag&post=315"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}