credo
Credo is an improved static code analysis tool for the Elixir language. It aims to ensure code consistency and guide developers. It detects opportunities for restructuring and warns of common errors.
rrrene · Code Quality & Review
Common commercial products in this category: SonarCloud, Codacy, DeepSource
- You identify opportunities for restructuring in your code and complex structures.
- You see inconsistencies in naming schemes and common errors.
- You can implement a specific coding style policy in your project.
- ↑ PositiveHacker News
Credo: Static code analysis for Elixir with a focus on consistency and teaching
“I first happened upon Credo while building a console-based version of 2048 (this was the early stages of learning Elixir). Running Credo on my code for the first time was a delight. It made me instantly wish for similar tools for our non-Elixir code bases at work. For those…”
- • NeutralHacker News
Credo: Static code analysis for Elixir with a focus on consistency and teaching
“It determines this by computing the cyclomatic complexity of the function. You can think of the cyclomatic complexity as being the number of distinct paths through a function. The rich support for quoting / unquoting code in Elixir makes it possible to easily compute metrics…”