IF Commons GitHub

Formats: 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: Formats.

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

96.9% of 3619 lines of 17 source files are reached by the library's tests. The least covered files:

FileLinesHitCovered
commons/formats/src/yaml.ts47645094.5%
commons/formats/src/semver.ts23222094.8%
commons/formats/src/png.ts41339294.9%
commons/formats/src/http.ts464495.7%
commons/formats/src/archive.ts54552396%
commons/formats/src/xml.ts18417997.3%
commons/formats/src/cbor.ts14514297.9%
commons/formats/src/xz.ts43742897.9%
commons/formats/src/json5.ts18217998.4%
commons/formats/src/der.ts12912798.4%

Tests

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

Slowest

TestFileResultTime
flipped bytes and truncations of a large file, with several blocks, are refused and none throwssuite/xz.test.tspassed1671 ms
a value written as YAML reads back as the same valuesuite/data.test.tspassed471 ms
a file that expands to sixteen mebibytes stops at a smaller limit, and is read whole at a limit that holds itsuite/xz.test.tspassed452 ms
a resize gives the size asked, and a picture of one colour stays that coloursuite/png.test.tspassed161 ms
a large gzipped archive fed in small chunks is read an entry at a time, a body cancelled skippedsuite/archive.test.tspassed127 ms
tar then untar gives the files back, the same bytes every timesuite/archive.test.tspassed91 ms
where xz is installed, random and repetitive data it compresses reads back, and a tar it compresses is untarredsuite/xz.test.tspassed88 ms
untarStream gives the entries and bytes untar gives, gzipped or not, however the bytes are cutsuite/archive.test.tspassed72 ms
an icon file written and read back holds one frame per size that fits, the full-size one the picture itselfsuite/png.test.tspassed50 ms
a table written as TOML reads back as the same tablesuite/data.test.tspassed37 ms

History

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

Tests: 92, latest 92
Pass rate: 100 %, latest 100
Time: 2 to 4 s, latest 4

Requirements

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

Not proved by a passing test: 0001-formats FR-014, 0001-formats FR-020

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