The Best Lua Static Analysis Tools (Linters/Formatters)
We rank 9 Lua linters, code analyzers, formatters, and more. Find and compare tools like Mega-Linter, Sigrid, callGraph, and more. Please rate and review tools that you've used. This helps others find the best tools for their projects.
3 Lua Tools
6 Multi-Language Tools
Mega-Linter
Mega-Linter can handle any type of project thanks to its 70+ embedded Linters, its advanced reporting, runnable on any CI system or locally, with assisted installation and configuration, able to apply formatting and fixes
lizard
Lizard is an extensible Cyclomatic Complexity Analyzer for many programming languages including C/C++ (doesn't require all the header files or Java imports). It also does copy-paste detection (code clone detection/code duplicate detection) and many other forms of static code analysis. Counts lines of code without comments, CCN (cyclomatic complexity number), token count of functions, parameter count of functions.
StaticReviewer
Static Reviewer executes code checks according to the most relevant Secure Coding Standards, OWASP, CWE, CVE, CVSS, MISRA, CERT, for 40+ programming languages, using 1000+ built-in validation rules for Security, Deadcode & Best Practices Available a module for Software Composition Analysis (SCA) to find vulnerabilities in open source and third party libraries.
Help make this list better
Suggest Tools
Frequently Asked Questions
What are Lua tools?
Lua is a powerful, lightweight programming language designed for extending applications. It has been used in video games, mobile apps, and web development. Lua's simple syntax and efficient use of memory make it an ideal choice for scripting.
What are the best Lua static analysis tools and linters?
The most popular Lua tools ranked by user votes are: Mega-Linter, Sigrid, callGraph, luacheck, Luanalysis.
Which Lua services are free for open source projects?
Commercial services with a free plan for open source include Mega-Linter, callGraph, luacheck, Luanalysis, lualint, lizard, TscanCode.