@complexity-guard/darwin-x64 0.2.1 → 0.3.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 +8 -0
- package/complexity-guard +0 -0
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -10,10 +10,18 @@ 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
|
+
|
|
13
20
|
## Links
|
|
14
21
|
|
|
15
22
|
- [complexity-guard on npm](https://www.npmjs.com/package/complexity-guard)
|
|
16
23
|
- [GitHub](https://github.com/benvds/complexity-guard)
|
|
24
|
+
- [Documentation](https://github.com/benvds/complexity-guard#documentation)
|
|
17
25
|
|
|
18
26
|
## License
|
|
19
27
|
|
package/complexity-guard
CHANGED
|
Binary file
|