Skip links

Infographic – Open source linters, tools for code analysis – 2021

Tools for code analysis are commonly called linters. A linter is a program dedicated to automatically identify code smells, bugs, vulnerabilities, formatting issues, … They typically use static analysis for that purpose. Most of the linters are open source and maintained by a community of developers. A linter is often dedicated to a single language. Some tools aggregate multiple linters, such as SonarQube or Megalinter, to cover multiple programming languages. 

Linters are used by developers while coding, before committing, and during CI/CD process. They are configurable to let developers decide which rules to apply. 

Linters are available for a vast majority of programming languages, for instance, Eslint for JavaScript, Checkstyle for Java, … They bring a lot of value by detecting common mistakes that could be made by developers. Even though they can’t, of course, identify all the possible improvements in your code, they are definitely great support. 

Following our previous edition in 2018, we provide here a list of 106 open source linters distributed in 40 programming languages, such as Javascript, PHP, or Python.

This infographic is not exhaustive and you can find more tools for code analysis on platforms like Github. However, we put effort to identify those that are, in May 2021, actively maintained. 

The PDF version is available here to get all linters’ links. 

The PNG version is available below, click to zoom.  

Tools for code analysis