@complexity-guard/darwin-arm64 0.2.1 → 0.4.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 CHANGED
@@ -10,10 +10,19 @@ This package is automatically installed as a dependency of the main [`complexity
10
10
  npm install -g complexity-guard
11
11
  ```
12
12
 
13
+ ## What ComplexityGuard Measures
14
+
15
+ - **Cyclomatic Complexity** — independent code paths (testability)
16
+ - **Cognitive Complexity** — nesting-penalized readability score
17
+ - **Halstead Metrics** — vocabulary density, volume, difficulty, effort, estimated bugs
18
+ - **Structural Metrics** — function length, parameters, nesting depth, file length, exports
19
+ - **Health Score** — composite 0–100 score combining all metrics; enforce in CI with `--fail-health-below`
20
+
13
21
  ## Links
14
22
 
15
23
  - [complexity-guard on npm](https://www.npmjs.com/package/complexity-guard)
16
24
  - [GitHub](https://github.com/benvds/complexity-guard)
25
+ - [Documentation](https://github.com/benvds/complexity-guard#documentation)
17
26
 
18
27
  ## License
19
28
 
package/complexity-guard CHANGED
Binary file
package/package.json CHANGED
@@ -4,7 +4,7 @@
4
4
  "name": "Ben van de Sande",
5
5
  "email": "info@getlean.digital"
6
6
  },
7
- "version": "0.2.1",
7
+ "version": "0.4.0",
8
8
  "description": "ComplexityGuard binary for macOS ARM64",
9
9
  "os": [
10
10
  "darwin"