Overview
KafkaCode supports 7 major programming languages commonly used in modern application development. The scanner automatically detects file types and applies appropriate analysis techniques.Supported Languages
Python
.py filesFull support for Python 2 and 3JavaScript
.js filesES5, ES6+, Node.js, Browser JSTypeScript
.ts filesAll TypeScript versionsJava
.java filesJava 8 through Java 21Go
.go filesAll Go versionsRuby
.rb filesRuby 2.x and 3.xPHP
.php filesPHP 7.x and 8.xLanguage-Specific Features
Python
- Detection
- Best Practices
- Frameworks
What KafkaCode detects in Python:
JavaScript / TypeScript
- Detection
- Best Practices
- Frameworks
What KafkaCode detects in JS/TS:
Java
- Detection
- Best Practices
- Frameworks
What KafkaCode detects in Java:
Go
- Detection
- Best Practices
- Frameworks
What KafkaCode detects in Go:
Ruby
- Detection
- Best Practices
- Frameworks
What KafkaCode detects in Ruby:
PHP
- Detection
- Best Practices
- Frameworks
What KafkaCode detects in PHP:
File Type Recognition
KafkaCode automatically recognizes files by extension:| Extension | Language | Supported |
|---|---|---|
.py | Python | ✅ Yes |
.js | JavaScript | ✅ Yes |
.ts | TypeScript | ✅ Yes |
.jsx | JavaScript (React) | ✅ Yes |
.tsx | TypeScript (React) | ✅ Yes |
.java | Java | ✅ Yes |
.go | Go | ✅ Yes |
.rb | Ruby | ✅ Yes |
.php | PHP | ✅ Yes |
.c | C | ❌ Not yet |
.cpp | C++ | ❌ Not yet |
.cs | C# | ❌ Not yet |
.swift | Swift | ❌ Not yet |
.kt | Kotlin | ❌ Not yet |
.rs | Rust | ❌ Not yet |
More languages are coming soon! Check our roadmap for upcoming support.
Ignored Files & Directories
KafkaCode automatically skips:Built-in Ignores
Version Control
.git/.svn/.hg/
Dependencies
node_modules/vendor/bower_components/
Python
venv/.venv/__pycache__/.pytest_cache/*.pyc
Build Outputs
build/dist/target/out/.next/
Gitignore Support
KafkaCode automatically respects your.gitignore:
Multi-Language Projects
KafkaCode handles polyglot repositories seamlessly:Language-Specific Patterns
Each language has custom detection patterns:Python-specific
Python-specific
- Django
SECRET_KEYdetection - Flask
app.secret_keypatterns - SQLAlchemy connection strings
- Environment variable misuse
JavaScript-specific
JavaScript-specific
process.envmisuse detection- JWT secret patterns
- API key in fetch/axios calls
- LocalStorage/Cookie PII
Java-specific
Java-specific
- JDBC connection string patterns
- Spring
@Valuemisuse - Properties file secrets
- Hibernate credentials
Go-specific
Go-specific
- Connection DSN patterns
- Const secret detection
- Environment variable handling
- Config struct analysis
Coming Soon
C / C++
Support planned for Q2 2025
C# / .NET
Support planned for Q2 2025
Rust
Support planned for Q3 2025
Kotlin
Support planned for Q3 2025
Swift
Support planned for Q4 2025
Scala
Support planned for Q4 2025

