The Best Swift Static Analysis Tools (Linters/Formatters)
We rank 25 Swift linters, code analyzers, formatters, and more. Find and compare tools like Sonatype, CodeScene, Better Code Hub, and more. Please rate and review tools that you've used. This helps others find the best tools for their projects.
3 Swift Tools
A library and command-line formatting tool for reformatting Swift code.
22 Multi-Language Tools
Reports known vulnerabilities in common dependencies and recommends updated packages to minimize breaking changes
CodeScene is a quality visualization tool for software. Prioritize technical debt, detect delivery risks, and measure organizational aspects. Fully automated.
Better Code Hub
Better Code Hub checks your GitHub codebase against 10 engineering guidelines devised by the authority in software quality, Software Improvement Group.
Statically generates a call graph image and displays it on screen.
Commercial Static Code Analysis which generates exploits to verify vulnerabilities.
Commercial Static Code Analysis which doesn't require pre-compilation.
Code Analysis to ship Better Code, Faster.
A commercial static analysis platform that supports the scanning of C/C++, C#, VB.NET, VB6, ABAP/BSP, ActionScript, Apex, ASP.NET, Classic ASP, VB Script, Cobol, ColdFusion, HTML, Java, JS, JSP, MXML/Flex, Objective-C, PHP, PL/SQL, T-SQL, Python (2.6, 2.7), Ruby (1.9.3), Swift, Scala, VB, and XML.
Crash Analysis and Severity Report.
Continuous Hybrid Fuzzing and Dynamic Analysis for Security Development Lifecycle.
Identify and remediate cyber threats in a blazingly fast, collaborative environment, with seamless integration in your SDLC. Python, C\C++, Java, C#, PHP and more.
Linter for integrating annotated TODOs with your issue trackers
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.
Multi-language cloud-based static code analysis. History, trends, security hot-spots, pull request analysis and more. Free for open source.
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.
A commercial static analysis platform that allows for scanning of multiple languages (C/C++, Android, C#, Java, JS, PHP, Python, Node.JS, Ruby, Fortran, and Swift).
Automated Code Analysis for repos on GitHub or BitBucket.
Emerge is a source code and dependency visualizer that can be used to gather insights about source code structure, metrics, dependencies and complexity of software projects. After scanning the source code of a project it provides you an interactive web interface to explore and analyze your project by using graph structures.
Help make this list better
Frequently Asked Questions
What are Swift tools?
Swift is a powerful programming language that makes development on Apple products faster and easier. It has been designed to work with Cocoa and Cocoa Touch, making it the perfect choice for developing apps for iPhone, iPad, Mac, and Apple Watch. Swift is also open source, which means that developers can contribute to its improvement.
What are the best Swift static analysis tools and linters?
The most popular Swift tools ranked by user votes are: Sonatype, CodeScene, Better Code Hub, callGraph, SwiftLint.
Which Swift tools are free to use?
Tools with a free plan include Better Code Hub. On top of that, there are also a number of open source like Sonatype, callGraph, SwiftLint, CASR, todocheck, Hound CI, lizard, SwiftFormat, Tailor, emerge.