Cost / License
- Free
- Open Source (GPL-3.0)
Platforms
- Online
- Visual Studio Code
- Vim
- Sublime Text
- GNU Emacs
- Atom

lgtm.com is described as 'Platform for code analytics. It's free to use for open source software; results for over 55k projects are readily available (add your own!), has automatic code review pull request integration (GitHub, Bitbucket, GitLab), and much more' and is an website in the development category. There are more than 10 alternatives to lgtm.com, not only websites but also apps for a variety of platforms, including Windows, Linux, Mac and BSD apps. The best lgtm.com alternative is Shellcheck, which is both free and Open Source. Other great sites and apps similar to lgtm.com are Cppcheck, Coverity Scan, PVS-Studio and Flawfinder.

Cppcheck is an static analysis tool for C/C++ code. Unlike C/C++ compilers and many other analysis tools it does not detect syntax errors in the code. Cppcheck primarily detects the types of bugs that the compilers normally do not detect.

Coverity Scan Static Analysis allows to find and fix defects in your Java, C/C++ or C# open source project for free.
PVS-Studio is a static analyzer that detects errors in source code of C, C++ and C# applications. The PVS-Studio tool is intended for developers of contemporary applications and it integrates into the Visual Studio 2005/2008/2010/2012/2013 environment.



Flawfinder examines C/C++ source code and reports possible security weaknesses ("flaws'') sorted by risk level. It's very useful for quickly finding and removing at least some potential security problems before a program is widely released to the public.
Parasoft’s C/C++test is the fully-integrated software testing solution for embedded safety-critical industries. Its automated software testing capabilities are also made for today’s high-velocity Agile DevOps environments.
VCG is an automated code security review tool that handles C/C++, Java, C#, VB and PL/SQL. It has a few features that should hopefully make it useful to anyone conducting code security reviews, particularly where time is at a premium:

GuardRails continuously scans your GitHub & GitLab repositories to alert you of any vulnerabilities and security issues. Get started in minutes.
Apache Yetus is a collection of libraries and tools that enable contribution and release processes for software projects.
Facebook Infer is a static analysis tool - if you give Infer some Objective-C, Java, or C code, it produces a list of potential bugs.
The Clang Static Analyzer is a source code analysis tool that finds bugs in C, C++, and Objective-C programs.

