Code quality¶
Because Firefox is a complex piece of software, a lot of tools are executed to identify issues at development phase. In this document, we try to list these all tools.
Tools |
Has autofixes |
Meta bug |
More info |
Upstream |
---|---|---|---|---|
Custom clang checker |
||||
Clang-Tidy |
Yes |
|||
Clang analyzer |
||||
cpp virtual final |
||||
Semmle/LGTM |
||||
clang-format |
Yes |
Tools |
Has autofixes |
Meta bug |
More info |
Upstream |
---|---|---|---|---|
Eslint |
Yes |
|||
Mozilla ESLint |
||||
Prettier |
Yes |
Tools |
Has autofixes |
Meta bug |
More info |
Upstream |
---|---|---|---|---|
Flake8 |
Yes (with autopep8) |
|||
black |
Yes |
|||
pylint |
||||
Python 2/3 compatibility check |
Python 2/3 compatibility check |
Tools |
Has autofixes |
Meta bug |
More info |
Upstream |
---|---|---|---|---|
Rustfmt |
Yes |
|||
Clippy |
Tools |
Has autofixes |
Meta bug |
More info |
Upstream |
---|---|---|---|---|
shellcheck |
||||
rstchecker |
||||
Typo detection |
Yes |
|||
YAML linter |