IF Commons GitHub

Lab: quality

passing

Results 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: Lab.

Quality gate

The library holds every condition of the gate.

ConditionHoldsWhy not
its tests were in the runyes
no test failedyes
no open issue of severity high or criticalyes

Line coverage

98.8% of 168 lines of 7 source files are reached by the library's tests. The least covered files:

FileLinesHitCovered
commons/lab/src/physical/machine.ts737197.3%
commons/lab/src/logical/containerfile.ts5050100%
commons/lab/library.ts2323100%
commons/lab/src/governance/machine.ts1919100%
commons/lab/src/governance/mod.ts11100%
commons/lab/src/logical/mod.ts11100%
commons/lab/src/physical/mod.ts11100%

Mutation score

84.3% of the changes made to the library's code were noticed by its tests (515 changes in 3 files). A change that survives is one that no test notices: the code there is the least proved. The weakest files:

FileScoreKilledSurvivedNot run
commons/lab/src/logical/containerfile.ts74.6%147500
commons/lab/src/governance/machine.ts83.1%54110
commons/lab/src/physical/machine.ts92.1%233200

Changes no test noticed

WhereChangeTo
commons/lab/src/logical/containerfile.ts:18Regex/^[a-z][a-z0-9-]{0,29}/
commons/lab/src/logical/containerfile.ts:19Regex/[a-z][a-z0-9_-]{0,31}$/
commons/lab/src/logical/containerfile.ts:19Regex/^[a-z][a-z0-9_-]{0,31}/
commons/lab/src/logical/containerfile.ts:21Regex/(?:UTC|[A-Za-z_]+(?:\/[A-Za-z_+-]+){1,2})$/
commons/lab/src/logical/containerfile.ts:21Regex/^(?:UTC|[A-Za-z_]+(?:\/[A-Za-z_+-]+){1,2})/
commons/lab/src/governance/machine.ts:23StringLiteral""
commons/lab/src/governance/machine.ts:62StringLiteral""
commons/lab/src/governance/machine.ts:62StringLiteral""
commons/lab/src/governance/machine.ts:63StringLiteral""
commons/lab/src/governance/machine.ts:63StringLiteral""
commons/lab/src/physical/machine.ts:42StringLiteral""
commons/lab/src/physical/machine.ts:43ConditionalExpressiontrue
commons/lab/src/physical/machine.ts:44ConditionalExpressiontrue
commons/lab/src/physical/machine.ts:44ConditionalExpressionfalse
commons/lab/src/physical/machine.ts:44LogicalOperator(proc.which("ssh") === undefined || proc.which("ssh-keygen") === undefined) && proc.which("ssh-keyscan") === undefined

Tests

8 tests: 8 passed, 0 failed, 0 skipped, 0 planned or other.

Slowest

TestFileResultTime
a machine runs systemd, its sshd answers to the key made for the run and to no other, its host key is pinned, and stop removes the container and the keys, twice safelysuite/machine.test.tspassed16907 ms
the shared checker finds nothing in the real treesuite/layers.test.tspassed5 ms

History

The last 6 runs in which the library's tests ran, oldest first.

Tests: 8, latest 8
Pass rate: 100 %, latest 100
Time: 17 to 39 s, latest 17

Requirements

7 requirements: 7 proved, 0 partly (a test skipped or planned), 0 failing, 0 with no test recorded.

Titles, headings, exports, tables, columns and requirements. Esc closes.