{"id":21376703,"url":"https://github.com/leobastiani/solid","last_synced_at":"2026-02-13T15:08:08.543Z","repository":{"id":85691635,"uuid":"297207882","full_name":"leobastiani/SOLID","owner":"leobastiani","description":"How to apply SOLID principles to your codebase.","archived":false,"fork":false,"pushed_at":"2020-11-10T01:44:36.000Z","size":5,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-09-01T20:07:10.241Z","etag":null,"topics":["programming","software-architecture","software-design","software-development","software-engineering","solid","solid-principles"],"latest_commit_sha":null,"homepage":"","language":null,"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/leobastiani.png","metadata":{"files":{"readme":"README.en.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,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2020-09-21T02:27:48.000Z","updated_at":"2020-11-10T01:44:38.000Z","dependencies_parsed_at":null,"dependency_job_id":"a5c5bfa4-8da8-4545-9888-6d983d696dab","html_url":"https://github.com/leobastiani/SOLID","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/leobastiani/SOLID","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/leobastiani%2FSOLID","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/leobastiani%2FSOLID/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/leobastiani%2FSOLID/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/leobastiani%2FSOLID/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/leobastiani","download_url":"https://codeload.github.com/leobastiani/SOLID/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/leobastiani%2FSOLID/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29411138,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-13T06:24:03.484Z","status":"ssl_error","status_checked_at":"2026-02-13T06:23:12.830Z","response_time":78,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: 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":["programming","software-architecture","software-design","software-development","software-engineering","solid","solid-principles"],"created_at":"2024-11-22T09:16:57.989Z","updated_at":"2026-02-13T15:08:08.522Z","avatar_url":"https://github.com/leobastiani.png","language":null,"readme":"# How to apply Solid Principles\n\n\u003e Notes:\n\u003e\n\u003e An _Entity_ is:\n\u003e\n\u003e - a class which implements methods\n\u003e - a function\n\n## S: Single Responsibility Principle (SRP)\n\n- Does the Entity do more of one thing semantically?\n  - If so: refactor.\n\n## O: Open/Closed Principle (OCP)\n\n- Are there other cases that the Entity can be applied to?\n  - If so: Is this Entity implemented in a way that applies to all kind of cases and possible future cases?\n    - If not: refactor.\n\n## L: Liskov Substitution Principle (LSP)\n\n- Will this class be inherited?\n  - If so: Can the children and parents of that Class be used in such a way that the user needs to know if it is a child or a father?\n    - If not: refactor.\n\n## I: Interface Segregation Principle (ISP)\n\n- Does this Class have interfaces with methods that do not necessarily need to be implemented?\n  - If so: refactor.\n- Does this Function have parameters that are not needed all the time?\n  - If so: Is it possible to omit these parameters?\n    - If not: refactor.\n\n## D: Dependency Inversion Principle (DIP)\n\n- Does this Entity depend on another Entity to exist?\n  - If so: refactor.\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fleobastiani%2Fsolid","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fleobastiani%2Fsolid","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fleobastiani%2Fsolid/lists"}