@omfalos/mokosh 0.4.2 → 0.4.3

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@omfalos/mokosh",
3
- "version": "0.4.2",
3
+ "version": "0.4.3",
4
4
  "description": "A high-performance, AST-powered dependency graph generator for frontend projects, optimized for AI context and smart test selection.",
5
5
  "main": "./dist/index.js",
6
6
  "module": "./dist/index.mjs",
@@ -48,6 +48,9 @@ If source files are edited mid-session, call `clear_cache({ root })` before re-q
48
48
  |------|----------|-----------------|
49
49
  | Undertested files | `find_uncovered({ root, coverageThreshold })` | `mokosh --find-uncovered <entry>` |
50
50
  | Complexity hotspots | `find_complex_functions({ root, metric, threshold, limit })` | — |
51
+ | Complex + undertested + (optionally) churny functions | `find_risk_hotspots({ root, metric, minComplexity, maxCoveragePct, minChurn })` | `mokosh <entry> --find-risk-hotspots` |
52
+ | Duplicated code blocks | `find_duplicates({ root, minLines })` | `mokosh <entry> --find-duplicates` |
53
+ | Docs whose referenced files changed more recently | `check_doc_drift({ root })` | `mokosh <entry> --check-doc-drift` |
51
54
  | High-degree hubs / orchestrators | `detect_features({ root })` | `mokosh <entry> --detect-features` |
52
55
  | What does each file own? | `get_module_responsibility({ root, paths? })` | — |
53
56
  | Group files by owning feature | `get_feature_graph({ root, minOutDegree })` | — |