@complexity-guard/darwin-x64 0.6.0 → 0.7.0
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 +3 -0
- package/complexity-guard +0 -0
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -16,7 +16,9 @@ npm install -g complexity-guard
|
|
|
16
16
|
- **Cognitive Complexity** — nesting-penalized readability score
|
|
17
17
|
- **Halstead Metrics** — vocabulary density, volume, difficulty, effort, estimated bugs
|
|
18
18
|
- **Structural Metrics** — function length, parameters, nesting depth, file length, exports
|
|
19
|
+
- **Duplication Detection** — Rabin-Karp clone detection across files; enable with `--duplication`
|
|
19
20
|
- **Health Score** — composite 0–100 score combining all metrics; enforce in CI with `--fail-health-below`
|
|
21
|
+
- **Multi-threaded Parallel Analysis** — 1.5–3.1x faster than FTA; analyzes files concurrently across all CPU cores by default; use `--threads N` to control
|
|
20
22
|
- **SARIF Output** — `--format sarif` generates SARIF 2.1.0 for GitHub Code Scanning inline PR annotations
|
|
21
23
|
- **HTML Reports** — `--format html` generates a self-contained interactive report with dashboard, treemap, and sortable metric tables
|
|
22
24
|
|
|
@@ -25,6 +27,7 @@ npm install -g complexity-guard
|
|
|
25
27
|
- [complexity-guard on npm](https://www.npmjs.com/package/complexity-guard)
|
|
26
28
|
- [GitHub](https://github.com/benvds/complexity-guard)
|
|
27
29
|
- [Documentation](https://github.com/benvds/complexity-guard#documentation)
|
|
30
|
+
- [Performance Benchmarks](https://github.com/benvds/complexity-guard/blob/main/docs/benchmarks.md)
|
|
28
31
|
|
|
29
32
|
## License
|
|
30
33
|
|
package/complexity-guard
CHANGED
|
Binary file
|