{"id":26256918,"url":"https://github.com/sarthakmakhija/task-list-refactoring","last_synced_at":"2026-03-07T18:32:42.357Z","repository":{"id":271699287,"uuid":"914297510","full_name":"SarthakMakhija/task-list-refactoring","owner":"SarthakMakhija","description":"Repository to refactor TaskList as a part of teaching refactoring.","archived":false,"fork":false,"pushed_at":"2025-01-20T18:32:32.000Z","size":107,"stargazers_count":3,"open_issues_count":0,"forks_count":3,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-06-20T03:47:55.993Z","etag":null,"topics":["code-smells","refactoring","refactoring-kata","tasklist","teaching"],"latest_commit_sha":null,"homepage":"","language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/SarthakMakhija.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2025-01-09T10:21:25.000Z","updated_at":"2025-04-03T07:52:28.000Z","dependencies_parsed_at":"2025-01-09T11:30:31.558Z","dependency_job_id":"29bc2324-cc70-47ae-b2a7-082c52fc7d63","html_url":"https://github.com/SarthakMakhija/task-list-refactoring","commit_stats":null,"previous_names":["sarthakmakhija/task-list-refactoring"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/SarthakMakhija/task-list-refactoring","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SarthakMakhija%2Ftask-list-refactoring","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SarthakMakhija%2Ftask-list-refactoring/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SarthakMakhija%2Ftask-list-refactoring/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SarthakMakhija%2Ftask-list-refactoring/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/SarthakMakhija","download_url":"https://codeload.github.com/SarthakMakhija/task-list-refactoring/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SarthakMakhija%2Ftask-list-refactoring/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30226247,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-07T18:12:09.766Z","status":"ssl_error","status_checked_at":"2026-03-07T18:11:58.786Z","response_time":53,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["code-smells","refactoring","refactoring-kata","tasklist","teaching"],"created_at":"2025-03-13T20:19:57.261Z","updated_at":"2026-03-07T18:32:42.324Z","avatar_url":"https://github.com/SarthakMakhija.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# task-list-refactoring\n[![TaskListRefactoring](https://github.com/SarthakMakhija/task-list-refactoring/actions/workflows/build.yml/badge.svg)](https://github.com/SarthakMakhija/task-list-refactoring/actions/workflows/build.yml) [![codecov](https://codecov.io/github/SarthakMakhija/task-list-refactoring/graph/badge.svg?token=AM6SNUNZOY)](https://codecov.io/github/SarthakMakhija/task-list-refactoring)\n\n### Idea\n\nThis repository aims to refactor a slightly modified version of [TaskList](https://kata-log.rocks/task-list-kata) for teaching refactoring. \nThe refactored code addresses numerous code smells present in the original implementation, including:\n\n- [Broken encapsulation](https://refactoring.guru/smells/inappropriate-intimacy)\n- [Data classes](https://refactoring.guru/smells/data-class)\n- [Divergent change](https://refactoring.guru/smells/divergent-change)\n- [Feature envy](https://refactoring.guru/smells/feature-envy)\n- [Long method](https://refactoring.guru/smells/long-method)\n- [Duplicate code](https://refactoring.guru/smells/duplicate-code)\n- [Switch statements](https://refactoring.guru/smells/switch-statements)\n- [Primitive obsession](https://refactoring.guru/smells/primitive-obsession)\n\nThe code to refactor is available [here](https://github.com/SarthakMakhija/task-list-refactoring/tree/original).\n\n### Refactoring techniques used\n\nThe following refactoring techniques were used:\n\n- [Move method](https://refactoring.guru/move-method)\n- [Replace temp with query](https://refactoring.guru/replace-temp-with-query)\n- [Rename method](https://refactoring.guru/rename-method)\n- [Extract method](https://refactoring.guru/extract-method)\n- [Extract interface](https://refactoring.guru/extract-interface)\n- [Replace data value with object](https://refactoring.guru/replace-data-value-with-object)\n- [Introduce local extension](https://refactoring.guru/introduce-local-extension)\n- [Introduce assertion](https://refactoring.guru/introduce-assertion)\n- [Replace Constructor with Factory Method](https://refactoring.guru/replace-constructor-with-factory-method)\n\n### What is not covered\n\n- This repository does not implement any feature mentioned in the original [TaskList](https://github.com/codurance/task-list/) repository.\n- This repository does not implement solitary unit-tests. All the unit-tests are sociable.\n\nI published an article titled \"Refactoring Mindset\" - a deliberate and proactive approach to consistently improve your code. The article is available [here](https://tech-lessons.in/en/blog/refactoring_mindset/).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsarthakmakhija%2Ftask-list-refactoring","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsarthakmakhija%2Ftask-list-refactoring","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsarthakmakhija%2Ftask-list-refactoring/lists"}