Languages
DeepSource inspect and evaluate the source code within a repository, detecting potential issues, Vulnerabilities and monitoring key metrics.
Code Analysis
Our static analysis detects bugs, anti-patterns, and security flaws by analyzing your source code, helping you identify issues early in the development lifecycle.
Code coverage tracking measures how much of your codebase is exercised by your test suite, helping you identify untested code paths and improve test effectiveness across your projects.
The following table lists all supported Languages for Code Analysis and Coverage.
Analyzer | Code Analysis | Code Coverage |
---|---|---|
Docker | GA | Not Supported |
Go | GA | cover.out (Generated) |
Rust | GA | GCOV, LCOV |
Java | GA | XML (Jacoco/Clover), LCOV |
Scala | GA | XML (Jacoco/Cobertura) |
C# | GA | XML (Cobertura) |
JavaScript | GA | XML (Cobertura), LCOV |
PHP | GA | XML (Cobertura) |
Python | GA | XML (Cobertura), LCOV |
Ruby | GA | JSON (SimpleCov), LCOV |
Secrets | GA | Not Supported |
Shell | GA | Not Supported |
SQL | GA | Not Supported |
C & C++ | Beta | GCOV, LCOV |
Terraform | GA | Not Supported |
Swift | Beta | LCOV |
Kotlin | Beta | XML (Jacoco, Kover) |
Code Formatters
Code Formatters aka Transformers automatically apply code style and formatting rules to maintain consistent code style across your repository, eliminating style debates and ensuring readability.
Language | Transformer | Shortcode | Version |
---|---|---|---|
Python | Autopep8 | autopep8 | 2.0.4 |
Python | Black | black | 24.2.0 |
Python | Isort | isort | 5.13.2 |
Python | Yapf | yapf | 0.40.2 |
Python | Ruff Formatter | ruff | 0.3.2 |
Go | Gofmt | gofmt | Go 1.21.7 |
Go | Gofumpt | gofumpt | 0.6.0 |
Rust | Rustfmt | rustfmt | 1.7.0-nightly |
JavaScript | Prettier | prettier | 3.2.5 |
JavaScript | StandardJS | standardjs | 17.1.0 |
Ruby | RuboCop | rubocop | 1.52.1 |
Ruby | StandardRB | standardrb | 1.29.0 |
Java | Google Java Format | google-java-format | 1.17.0 |
Scala | Scalafmt | scalafmt | 3.5.9 |
C# | dotnet-format | dotnet-format | .NET SDK 8.0 |
C & C++ | clang-format | clang-format | 18.1.1 |
PHP | PHP CS Fixer | php-cs-fixer | 3.51.0 |
Kotlin | Ktlint | ktlint | 0.50.0 |
Swift | swift-format | swift-format | 508.0.1 |
Software Composition Analysis
SCA identifies vulnerable open-source dependencies in your projects, assesses their exploitability through reachability analysis, and provides remediation guidance to keep your software secure. It also detects and reports license information for your dependencies to help maintain compliance with open-source licensing requirements.
Language | Vulnerability Scanning | Reachability Analysis | Remediation |
---|---|---|---|
Go | Supported | Not Supported | Not Supported |
Rust | Supported | Not Supported | Not Supported |
Java | Supported | Not Supported | Not Supported |
Scala | Not Supported | Not Supported | Not Supported |
C# | Supported | Not Supported | Not Supported |
JavaScript | Supported | Supported | Supported |
PHP | Supported | Not Supported | Not Supported |
Python | Supported | Supported | Supported |
Ruby | Supported | Not Supported | Not Supported |
C & C++ | Not Supported | Not Supported | Not Supported |
Swift | Not Supported | Not Supported | Not Supported |
Kotlin | Supported | Not Supported | Not Supported |
Refer to respective language documentation for more information.
Was this page helpful?