Skip to the content

Capsid menu

The code of site-api

Each module by folder, with its riskiest function by CRAP (complexity weighed against how much of it the tests run: over 30 is critical, over 5 worth watching) and its mutation score (the share of deliberate bugs its tests catch: under 60% is critical, under 80% worth watching). Choose a module for its functions and source.

DrDustinEdwards/site-api

Measured on 2026-10-24 at commit d3b340f: 24 modules, 372 functions. By CRAP, 5 critical, 58 to watch and 309 ok. Mutation scores are from the run on 2026-10-19 at commit c457b34; 51 functions have changed since and show none until the next run.

Import cycles

The folders of DrDustinEdwards/site-api and the imports between them
The modules of src/ and the imports among them; imports from other folders are on each module's page
src/
ModuleLinesFunctionsWorst functionMutation
adapter.ts2159WatchCRAP 11Ok86.4%
admin.ts180No functionsNo data: no mutants in this code
client.ts cycle15432WatchCRAP 8Ok90.4%
conformance.ts38341WatchCRAP 11Critical57.8%
contract.ts1998OkCRAP 4Critical33.4%
frontmatter.ts17931WatchCRAP 19Critical42.9%
index.ts30No functionsNo data: no mutants in this code
local.ts cycle295OkCRAP 2Ok84.6%
media.ts8516WatchCRAP 9Critical46%
server.ts979WatchCRAP 17Watch75%
testing.ts45468WatchCRAP 14Ok84.8%
The modules of src/admin/ and the imports among them; imports from other folders are on each module's page
src/admin/
ModuleLinesFunctionsWorst functionMutation
kit.ts20022WatchCRAP 12.5No data: no mutants in this code
media.ts38533CriticalCRAP 182No data: no mutants in this code
mentions.ts19114CriticalCRAP 42No data: no mutants in this code
posts.ts33628CriticalCRAP 132No data: no mutants in this code
summary.ts271WatchCRAP 7No data: no mutants in this code
The modules of src/contract/ and the imports among them; imports from other folders are on each module's page
src/contract/
ModuleLinesFunctionsWorst functionMutation
base.ts190No functionsNo data: no mutants in this code
content.ts1400No functionsNo data: no mutants in this code
media.ts2153OkCRAP 2No data: no mutants in this code
mentions.ts1010No functionsNo data: no mutants in this code
The modules of src/server/ and the imports among them; imports from other folders are on each module's page
src/server/
ModuleLinesFunctionsWorst functionMutation
content.ts15821WatchCRAP 6.2No data: no mutants in this code
http.ts10910WatchCRAP 8No data: no mutants in this code
media.ts23215WatchCRAP 17.1No data: no mutants in this code
mentions.ts606OkCRAP 3No data: no mutants in this code