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, callGraph, luacheck, 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 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
Statically generates a call graph image and displays it on screen.
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.
Sigrid helps you to improve your software by measuring your system's code quality, and then compares the results against a benchmark of thousands of industry systems to give you concrete advice on areas where you can improve.
A fast and accurate static analysis solution for C/C++, C#, Lua codes provided by Tencent. Using GPLv3 license.
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
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, callGraph, luacheck, Luanalysis, lualint.
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.