{"action":"opened","issue":{"url":"https://api.github.com/repos/GregTrevellick/ReadMeSynchronizer/issues/4","repository_url":"https://api.github.com/repos/GregTrevellick/ReadMeSynchronizer","labels_url":"https://api.github.com/repos/GregTrevellick/ReadMeSynchronizer/issues/4/labels{/name}","comments_url":"https://api.github.com/repos/GregTrevellick/ReadMeSynchronizer/issues/4/comments","events_url":"https://api.github.com/repos/GregTrevellick/ReadMeSynchronizer/issues/4/events","html_url":"https://github.com/GregTrevellick/ReadMeSynchronizer/issues/4","id":351825105,"node_id":"MDU6SXNzdWUzNTE4MjUxMDU=","number":4,"title":"Refactor RepoMetaDatas.constructor","user":{"login":"GregTrevellick","id":13434709,"node_id":"MDQ6VXNlcjEzNDM0NzA5","avatar_url":"https://avatars0.githubusercontent.com/u/13434709?v=4","gravatar_id":"","url":"https://api.github.com/users/GregTrevellick","html_url":"https://github.com/GregTrevellick","followers_url":"https://api.github.com/users/GregTrevellick/followers","following_url":"https://api.github.com/users/GregTrevellick/following{/other_user}","gists_url":"https://api.github.com/users/GregTrevellick/gists{/gist_id}","starred_url":"https://api.github.com/users/GregTrevellick/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/GregTrevellick/subscriptions","organizations_url":"https://api.github.com/users/GregTrevellick/orgs","repos_url":"https://api.github.com/users/GregTrevellick/repos","events_url":"https://api.github.com/users/GregTrevellick/events{/privacy}","received_events_url":"https://api.github.com/users/GregTrevellick/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-08-18T14:34:20Z","updated_at":"2018-08-18T14:34:20Z","closed_at":null,"author_association":"OWNER","body":"I've selected [**RepoMetaDatas.constructor**](https://github.com/GregTrevellick/ReadMeSynchronizer/blob/a405494e33e958d13a747e202d6c7a085d27b326/Src/ReadMeSynchronizer/App/Markdown/RepoMetaDatas.ts#L7-L47) for refactoring, which is a unit of **19** lines of code. Addressing this will make our codebase more maintainable and improve [Better Code Hub](https://bettercodehub.com)'s **Write Short Units of Code** guideline rating! 👍 \r\n\r\nHere's the gist of this guideline:\r\n- **Definition** 📖 \r\nLimit the length of code units to 15 lines of code.\r\n- **Why**❓ \r\nSmall units are easier to analyse, test and reuse.\r\n- **How** 🔧 \r\nWhen writing new units, don't let them grow above 15 lines of code. When a unit grows beyond this, split it in smaller units of no longer than 15 lines.\r\n\r\nYou can find more info about this guideline in [Building Maintainable Software](http://shop.oreilly.com/product/0636920049159.do). 📖 \r\n \r\n---- \r\nℹ️ To know how many _other_ refactoring candidates need addressing to get a guideline compliant, select some by clicking on the 🔲  next to them. The risk profile below the candidates signals (✅) when it's enough! 🏁 \r\n\r\n\r\n----\r\nGood luck and happy coding! :shipit: :sparkles: :100:"}}
{"actor":{"display_login":"GregTrevellick"}}