For each supported programming language, Codacy generally provides:
- Static Analysis
- Code Duplication
- Code Complexity
- Test Coverage
The table below lists all programming languages that Codacy supports and the corresponding tools that Codacy uses to analyze your source code. Besides this, Codacy uses cloc to calculate the source lines of code for all supported languages, and supports multiple test coverage report formats.
Language |
Static Analysis |
Suggested fixes |
Duplication |
Complexity |
Apex |
PMD |
|
- |
- |
C |
Clang-Tidy*,
Cppcheck,
Flawfinder |
|
PMD CPD |
- |
C# |
Sonar C# |
|
PMD CPD |
SonarC# |
C++ |
Clang-Tidy*,
Cppcheck,
Flawfinder |
|
PMD CPD |
- |
CoffeeScript |
Coffeelint |
|
- |
- |
Crystal |
Ameba |
|
- |
- |
CSS |
CSSLint,
Stylelint |
|
- |
- |
Dockerfile |
Hadolint |
|
- |
- |
Elixir |
Credo |
|
- |
- |
Go |
aligncheck*,
deadcode*,
Gosec*,
Revive,
Staticcheck* |
|
PMD CPD |
Gocyclo |
Groovy |
CodeNarc |
|
- |
- |
Java |
Checkstyle,
PMD,
SpotBugs* |
|
PMD CPD |
PMD |
JavaScript |
ESLint,
JSHint,
PMD |
ESLint 🔧 |
PMD CPD |
ESLint |
JSON |
Jackson Linter |
|
- |
- |
JSP |
PMD |
|
- |
- |
Kotlin |
Detekt |
|
jscpd |
Detekt |
Less |
Stylelint |
|
- |
- |
Markdown |
RemarkLint |
|
- |
- |
Objective-C |
Faux Pas* |
|
- |
- |
PHP |
PHP Code Sniffer,
PHP Mess Detector |
|
PHPCPD |
PHP Depend |
PL/SQL |
PMD |
|
- |
- |
PostgreSQL |
SQLint |
|
- |
- |
PowerShell |
PSScriptAnalyser |
|
- |
- |
Python
|
Bandit,
Prospector,
Pylint |
|
PMD CPD |
Radon |
Ruby
|
Brakeman,
Bundler Audit,
Rubocop |
|
Flay |
Rubocop |
Sass |
Stylelint
| |
- |
- |
Scala
|
Scalameta,
Scalastyle,
SpotBugs* |
|
PMD CPD |
Scalastyle,
Scala 2 compiler and standard library |
Shell |
ShellCheck |
|
- |
- |
Swift |
SwiftLint,
Tailor |
|
PMD CPD |
- |
Transact-SQL |
TSQLLint |
|
- |
- |
TypeScript |
ESLint,
TSLint |
ESLint 🔧 |
jscpd |
ESLint |
Velocity |
PMD |
|
- |
- |
Visual Basic |
SonarVB |
|
- |
- |
Visualforce |
PMD |
|
- |
- |
XML |
PMD |
|
- |
- |
XSL |
PMD |
|
- |
- |
*: Supported as a client-side tool.
🔧: Supports suggesting fixes for identified issues.
See also
Last modified February 16, 2021