{"id":13443102,"url":"https://github.com/rrrene/credo","last_synced_at":"2026-10-18T23:49:24.541Z","repository":{"id":39653570,"uuid":"43247111","full_name":"rrrene/credo","owner":"rrrene","description":"A static code analysis tool for the Elixir language with a focus on code consistency and teaching.","archived":false,"fork":false,"pushed_at":"2026-10-04T19:58:30.000Z","size":5889,"stargazers_count":5227,"open_issues_count":35,"forks_count":459,"subscribers_count":54,"default_branch":"master","last_synced_at":"2026-10-15T05:24:13.317Z","etag":null,"topics":["code-analysis","credo","elixir","linter","static-analysis"],"latest_commit_sha":null,"homepage":"http://credo-ci.org/","language":"Elixir","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/rrrene.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","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":"2015-09-27T13:16:15.000Z","updated_at":"2026-10-15T00:49:25.000Z","dependencies_parsed_at":"2024-04-28T22:27:36.108Z","dependency_job_id":"962eb1b8-3dc2-43ac-947d-2c09a93b5a36","html_url":"https://github.com/rrrene/credo","commit_stats":{"total_commits":2885,"total_committers":250,"mean_commits":11.54,"dds":"0.43327556325823224","last_synced_commit":"965a59c0e71067c7fc6fab26860ac6dc0ea2912f"},"previous_names":[],"tags_count":151,"template":false,"template_full_name":null,"purl":"pkg:github/rrrene/credo","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rrrene%2Fcredo","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rrrene%2Fcredo/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rrrene%2Fcredo/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rrrene%2Fcredo/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/rrrene","download_url":"https://codeload.github.com/rrrene/credo/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rrrene%2Fcredo/sbom","scorecard":{"id":579575,"data":{"date":"2025-08-11","repo":{"name":"github.com/rrrene/credo","commit":"1f601f13bc0b4956eece7ce81aa0367eb7a5dcf5"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":4.7,"checks":[{"name":"Maintained","score":10,"reason":"20 commit(s) and 9 issue activity found in the last 90 days -- score normalized to 10","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"Dangerous-Workflow","score":10,"reason":"no dangerous workflow patterns detected","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#dangerous-workflow"}},{"name":"Code-Review","score":1,"reason":"Found 4/25 approved changesets -- score normalized to 1","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#code-review"}},{"name":"Packaging","score":-1,"reason":"packaging workflow not detected","details":["Warn: no GitHub/GitLab publishing workflow detected."],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#packaging"}},{"name":"Token-Permissions","score":0,"reason":"detected GitHub workflow tokens with excessive permissions","details":["Info: jobLevel 'contents' permission set to 'read': .github/workflows/code-scan-sarif.yml:32","Info: jobLevel 'actions' permission set to 'read': .github/workflows/code-scan-sarif.yml:34","Warn: no topLevel permission defined: .github/workflows/ci-workflow.yml:1","Info: topLevel 'contents' permission set to 'read': .github/workflows/code-scan-sarif.yml:27","Warn: no topLevel permission defined: .github/workflows/compatibility-canary-smoke-tests.yml:1","Warn: no topLevel permission defined: .github/workflows/compatibility-elixir.yml:1","Warn: no topLevel permission defined: .github/workflows/compatibility-os-mac.yml:1","Warn: no topLevel permission defined: .github/workflows/compatibility-os-windows.yml:1","Warn: no topLevel permission defined: .github/workflows/compatibility-phoenix.yml:1","Warn: no topLevel permission defined: .github/workflows/housekeeping-bugfix-reproducer.yml:1","Warn: no topLevel permission defined: .github/workflows/housekeeping.yml:1","Info: no jobLevel write permissions found"],"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#token-permissions"}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#cii-best-practices"}},{"name":"Binary-Artifacts","score":10,"reason":"no binaries found in the repo","details":null,"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#binary-artifacts"}},{"name":"Pinned-Dependencies","score":0,"reason":"dependency not pinned by hash detected -- score normalized to 0","details":["Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/ci-workflow.yml:29: update your workflow using https://app.stepsecurity.io/secureworkflow/rrrene/credo/ci-workflow.yml/master?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/ci-workflow.yml:32: update your workflow using https://app.stepsecurity.io/secureworkflow/rrrene/credo/ci-workflow.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/code-scan-sarif.yml:37: update your workflow using https://app.stepsecurity.io/secureworkflow/rrrene/credo/code-scan-sarif.yml/master?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/code-scan-sarif.yml:38: update your workflow using https://app.stepsecurity.io/secureworkflow/rrrene/credo/code-scan-sarif.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/code-scan-sarif.yml:47: update your workflow using https://app.stepsecurity.io/secureworkflow/rrrene/credo/code-scan-sarif.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/compatibility-canary-smoke-tests.yml:115: update your workflow using https://app.stepsecurity.io/secureworkflow/rrrene/credo/compatibility-canary-smoke-tests.yml/master?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/compatibility-canary-smoke-tests.yml:116: update your workflow using https://app.stepsecurity.io/secureworkflow/rrrene/credo/compatibility-canary-smoke-tests.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/compatibility-elixir.yml:28: update your workflow using https://app.stepsecurity.io/secureworkflow/rrrene/credo/compatibility-elixir.yml/master?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/compatibility-elixir.yml:29: update your workflow using https://app.stepsecurity.io/secureworkflow/rrrene/credo/compatibility-elixir.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/compatibility-os-mac.yml:17: update your workflow using https://app.stepsecurity.io/secureworkflow/rrrene/credo/compatibility-os-mac.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/compatibility-os-windows.yml:18: update your workflow using https://app.stepsecurity.io/secureworkflow/rrrene/credo/compatibility-os-windows.yml/master?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/compatibility-os-windows.yml:21: update your workflow using https://app.stepsecurity.io/secureworkflow/rrrene/credo/compatibility-os-windows.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/compatibility-phoenix.yml:27: update your workflow using https://app.stepsecurity.io/secureworkflow/rrrene/credo/compatibility-phoenix.yml/master?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/compatibility-phoenix.yml:28: update your workflow using https://app.stepsecurity.io/secureworkflow/rrrene/credo/compatibility-phoenix.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/compatibility-phoenix.yml:54: update your workflow using https://app.stepsecurity.io/secureworkflow/rrrene/credo/compatibility-phoenix.yml/master?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/compatibility-phoenix.yml:55: update your workflow using https://app.stepsecurity.io/secureworkflow/rrrene/credo/compatibility-phoenix.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/housekeeping-bugfix-reproducer.yml:13: update your workflow using https://app.stepsecurity.io/secureworkflow/rrrene/credo/housekeeping-bugfix-reproducer.yml/master?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/housekeeping-bugfix-reproducer.yml:15: update your workflow using https://app.stepsecurity.io/secureworkflow/rrrene/credo/housekeeping-bugfix-reproducer.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/housekeeping.yml:45: update your workflow using https://app.stepsecurity.io/secureworkflow/rrrene/credo/housekeeping.yml/master?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/housekeeping.yml:48: update your workflow using https://app.stepsecurity.io/secureworkflow/rrrene/credo/housekeeping.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/housekeeping.yml:59: update your workflow using https://app.stepsecurity.io/secureworkflow/rrrene/credo/housekeeping.yml/master?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/housekeeping.yml:62: update your workflow using https://app.stepsecurity.io/secureworkflow/rrrene/credo/housekeeping.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/housekeeping.yml:73: update your workflow using https://app.stepsecurity.io/secureworkflow/rrrene/credo/housekeeping.yml/master?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/housekeeping.yml:76: update your workflow using https://app.stepsecurity.io/secureworkflow/rrrene/credo/housekeeping.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/housekeeping.yml:87: update your workflow using https://app.stepsecurity.io/secureworkflow/rrrene/credo/housekeeping.yml/master?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/housekeeping.yml:90: update your workflow using https://app.stepsecurity.io/secureworkflow/rrrene/credo/housekeeping.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/housekeeping.yml:16: update your workflow using https://app.stepsecurity.io/secureworkflow/rrrene/credo/housekeeping.yml/master?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/housekeeping.yml:19: update your workflow using https://app.stepsecurity.io/secureworkflow/rrrene/credo/housekeeping.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/housekeeping.yml:31: update your workflow using https://app.stepsecurity.io/secureworkflow/rrrene/credo/housekeeping.yml/master?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/housekeeping.yml:34: update your workflow using https://app.stepsecurity.io/secureworkflow/rrrene/credo/housekeeping.yml/master?enable=pin","Info:   0 out of  16 GitHub-owned GitHubAction dependencies pinned","Info:   0 out of  14 third-party GitHubAction dependencies pinned"],"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#pinned-dependencies"}},{"name":"Security-Policy","score":0,"reason":"security policy file not detected","details":["Warn: no security policy file detected","Warn: no security file to analyze","Warn: no security file to analyze","Warn: no security file to analyze"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#security-policy"}},{"name":"License","score":10,"reason":"license file detected","details":["Info: project has a license file: LICENSE:0","Info: FSF or OSI recognized license: MIT License: LICENSE:0"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":["Warn: no fuzzer integrations found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#fuzzing"}},{"name":"Signed-Releases","score":-1,"reason":"no releases found","details":null,"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"name":"Branch-Protection","score":0,"reason":"branch protection not enabled on development/release branches","details":["Warn: branch protection not enabled for branch 'master'"],"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#branch-protection"}},{"name":"Vulnerabilities","score":8,"reason":"2 existing vulnerabilities detected","details":["Warn: Project is vulnerable to: GHSA-vq52-99r9-h5pw","Warn: Project is vulnerable to: GHSA-9fm9-hp7p-53mf"],"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}},{"name":"SAST","score":7,"reason":"SAST tool is not run on all commits -- score normalized to 7","details":["Warn: 7 commits out of 9 are checked with a SAST tool"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}}]},"last_synced_at":"2025-08-20T18:50:08.940Z","repository_id":39653570,"created_at":"2025-08-20T18:50:08.940Z","updated_at":"2025-08-20T18:50:08.940Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":344872684,"owners_count":38343425,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-10-03T21:59:58.778Z","status":"online","status_checked_at":"2026-10-18T02:00:06.448Z","response_time":63,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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-analysis","credo","elixir","linter","static-analysis"],"created_at":"2024-07-31T03:01:56.090Z","updated_at":"2026-10-18T23:49:24.534Z","avatar_url":"https://github.com/rrrene.png","language":"Elixir","funding_links":[],"categories":["Elixir","Top 20 packages","Code Analysis","Linters","Tools","Uncategorized","Programming Languages"],"sub_categories":["Elixir","Mesh networks","Uncategorized"],"readme":"# Credo [![CI Tests](https://github.com/rrrene/credo/workflows/CI%20Tests/badge.svg)](https://github.com/rrrene/credo/actions?query=branch%3Amaster) [![Inline docs](https://inch-ci.org/github/rrrene/credo.svg?branch=master)](https://hexdocs.pm/credo)\n\nCredo is a static code analysis tool for the Elixir language with a focus on teaching and code consistency.\n\nIt can show you refactoring opportunities in your code, complex code fragments, warn you about common mistakes, show inconsistencies in your naming scheme and - if needed - help you enforce a desired coding style.\n\n\n![Credo](https://raw.github.com/rrrene/credo/master/assets/screenshot.png)\n\n\n## Installation and Usage\n\nThe easiest way to add Credo to your project is by [using Mix](http://elixir-lang.org/getting-started/mix-otp/introduction-to-mix.html).\n\nAdd `:credo` as a dependency to your project's `mix.exs`:\n\n```elixir\ndefp deps do\n  [\n    {:credo, \"~\u003e 1.7\", only: [:dev, :test], runtime: false}\n  ]\nend\n```\n\nAnd run:\n\n    $ mix deps.get\n\n    $ mix credo\n\n## Documentation\n\nDocumentation is [available on Hexdocs](https://hexdocs.pm/credo/)\n\n## Integrations\n\n### IDE/Editor\n\nSome IDEs and editors are able to run Credo in the background and mark issues inline.\n\n* [IntelliJ Elixir](https://github.com/KronicDeth/intellij-elixir#credo) - Elixir plugin for JetBrains IDEs (IntelliJ IDEA, Rubymine, PHPStorm, PyCharm, etc)\n* [linter-elixir-credo](https://atom.io/packages/linter-elixir-credo) - Package for Atom editor (by @smeevil)\n* [Elixir Linter (Credo)](https://marketplace.visualstudio.com/items?itemName=pantajoe.vscode-elixir-credo) - VSCode extension (by @pantajoe)\n* [flycheck](https://www.flycheck.org/en/latest/languages.html#elixir) - Emacs syntax checking extension\n* [kakoune](https://github.com/mawww/kakoune/wiki/Lint#elixir) - Config for linting support in Kakoune editor\n* [Neovim via null-ls](https://github.com/jose-elias-alvarez/null-ls.nvim/blob/main/lua/null-ls/builtins/diagnostics/credo.lua) - diagnostics builtin\n\n### Automated Code Review\n\n* [Codacy](https://www.codacy.com/) - checks your code from style to security, duplication, complexity, and also integrates with coverage.\n\n## Contributing\n\n1. [Fork it!](http://github.com/rrrene/credo/fork)\n2. Create your feature branch (`git checkout -b my-new-feature`)\n3. Commit your changes (`git commit -am 'Add some feature'`)\n4. Push to the branch (`git push origin my-new-feature`)\n5. Create new Pull Request\n\n\n\n## Author\n\nRené Föhring (@rrrene)\n\n\n\n## License\n\nCredo is released under the MIT License. See the LICENSE file for further\ndetails.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frrrene%2Fcredo","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frrrene%2Fcredo","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frrrene%2Fcredo/lists"}