Catalog Nist Csf 2: quality
passingResults of the run of the commit 8df3cc3b89 at 2026-11-22 16:24 UTC (the run) that made this site; a library whose suite was not run in it has none.
The library: Catalog Nist Csf 2.
Quality gate
The library holds every condition of the gate.
| Condition | Holds | Why not |
|---|---|---|
| its tests were in the run | yes | |
| no test failed | yes | |
| no open issue of severity high or critical | yes |
Line coverage
97.3% of 73 lines of 7 source files are reached by the library's tests. The least covered files:
| File | Lines | Hit | Covered |
|---|---|---|---|
commons/catalog-nist-csf-2/src/physical/package.ts | 24 | 22 | 91.7% |
commons/catalog-nist-csf-2/library.ts | 23 | 23 | 100% |
commons/catalog-nist-csf-2/src/logical/convert.ts | 13 | 13 | 100% |
commons/catalog-nist-csf-2/src/governance/source.ts | 10 | 10 | 100% |
commons/catalog-nist-csf-2/src/governance/mod.ts | 1 | 1 | 100% |
commons/catalog-nist-csf-2/src/logical/mod.ts | 1 | 1 | 100% |
commons/catalog-nist-csf-2/src/physical/mod.ts | 1 | 1 | 100% |
Mutation score
51.1% of the changes made to the library's code were noticed by its tests (94 changes in 3 files). A change that survives is one that no test notices: the code there is the least proved. The weakest files:
| File | Score | Killed | Survived | Not run |
|---|---|---|---|---|
commons/catalog-nist-csf-2/src/governance/source.ts | 0% | 0 | 1 | 0 |
commons/catalog-nist-csf-2/src/physical/package.ts | 12.5% | 4 | 28 | 0 |
commons/catalog-nist-csf-2/src/logical/convert.ts | 72.1% | 44 | 17 | 0 |
Changes no test noticed
| Where | Change | To |
|---|---|---|
commons/catalog-nist-csf-2/src/governance/source.ts:29 | StringLiteral | "" |
commons/catalog-nist-csf-2/src/physical/package.ts:21 | StringLiteral | "" |
commons/catalog-nist-csf-2/src/physical/package.ts:22 | ArrowFunction | () => undefined |
commons/catalog-nist-csf-2/src/physical/package.ts:22 | ObjectLiteral | {} |
commons/catalog-nist-csf-2/src/physical/package.ts:22 | StringLiteral | "" |
commons/catalog-nist-csf-2/src/physical/package.ts:22 | ObjectLiteral | {} |
commons/catalog-nist-csf-2/src/logical/convert.ts:27 | Regex | /[A-Z]{2}\.[A-Z]{2}-\d{2}$/ |
commons/catalog-nist-csf-2/src/logical/convert.ts:27 | Regex | /^[A-Z]{2}\.[A-Z]{2}-\d{2}/ |
commons/catalog-nist-csf-2/src/logical/convert.ts:31 | MethodExpression | source.relationships |
commons/catalog-nist-csf-2/src/logical/convert.ts:31 | ConditionalExpression | true |
commons/catalog-nist-csf-2/src/logical/convert.ts:31 | LogicalOperator | r.relationship_identifier === "projection" || r.dest_element_identifier.startsWith("WR-") |
Tests
7 tests: 7 passed, 0 failed, 0 skipped, 0 planned or other.
Slowest
| Test | File | Result | Time |
|---|---|---|---|
| the files on disk are what the generator makes from the source, and the generator refuses another source | suite/csf2.test.ts | passed | 49 ms |
| the shared checker finds nothing in the real tree | suite/layers.test.ts | passed | 9 ms |
| the real package loads through the catalog loader, with 6 functions, 22 categories and 106 controls | suite/csf2.test.ts | passed | 5 ms |
| the conversion keeps the active subcategories, sorted, with their category as the title and the family, and drops a withdrawn one | suite/csf2.test.ts | passed | 1 ms |
History
The last 6 runs in which the library's tests ran, oldest first.
Requirements
6 requirements: 6 proved, 0 partly (a test skipped or planned), 0 failing, 0 with no test recorded.