roast-my-codebase 1.0.0 → 1.1.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +20 -13
- package/dist/index.js +1572 -176
- package/package.json +4 -4
package/README.md
CHANGED
|
@@ -114,24 +114,31 @@ npx roast-my-codebase --markdown-file # Save to .roast-report.md
|
|
|
114
114
|
### Fully Supported
|
|
115
115
|
- **JavaScript** (.js, .jsx, .mjs, .cjs)
|
|
116
116
|
- **TypeScript** (.ts, .tsx)
|
|
117
|
-
- **Python** (.py)
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
117
|
+
- **Python** (.py) — Complexity, type hints, imports
|
|
118
|
+
- **Go** (.go) — Complexity, error handling, lint conventions
|
|
119
|
+
- **Rust** (.rs) — Complexity, unsafe usage, clippy hints
|
|
120
|
+
- **Java** (.java) — Complexity, code smells, naming conventions
|
|
121
|
+
- **C#** (.cs) — Complexity, code smells, async patterns
|
|
122
|
+
|
|
123
|
+
### Language-Specific Checks
|
|
124
|
+
|
|
125
|
+
| Language | Scanners |
|
|
126
|
+
|----------|----------|
|
|
127
|
+
| Python | Cyclomatic complexity, type hints, imports, docstrings, code smells, security, class design |
|
|
128
|
+
| Go | Complexity, ignored errors, panic usage, undocumented exports, init() |
|
|
129
|
+
| Rust | Complexity, unsafe blocks, .unwrap() overuse, .clone() overuse, dead_code |
|
|
130
|
+
| Java | Complexity, God classes, raw types, empty catches, System.out, naming |
|
|
131
|
+
| C# | Complexity, God classes, #regions, async void, sync-over-async, empty catches |
|
|
121
132
|
|
|
122
133
|
### Universal Features (All Languages)
|
|
123
134
|
- File size analysis
|
|
124
135
|
- TODO/FIXME detection
|
|
125
|
-
- Git insights
|
|
126
|
-
- Security scans
|
|
136
|
+
- Git insights (churn, PR size, stale branches)
|
|
137
|
+
- Security scans (secrets, .env in git, eval)
|
|
138
|
+
- Test coverage gaps
|
|
139
|
+
- Framework best practices (Next.js, React)
|
|
127
140
|
|
|
128
|
-
|
|
129
|
-
- Go (.go)
|
|
130
|
-
- Rust (.rs)
|
|
131
|
-
- Java (.java)
|
|
132
|
-
- C# (.cs)
|
|
133
|
-
|
|
134
|
-
Language detection is automatic! The tool detects your project's languages and runs appropriate scanners.
|
|
141
|
+
Language detection is automatic! The tool detects your project's languages via package files and runs appropriate scanners.
|
|
135
142
|
|
|
136
143
|
## Design principles
|
|
137
144
|
|