Skip to the content

Capsid menu

The code of Enarratio

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/enarratio

Measured on 2026-10-24 at commit 4c5695a: 51 modules, 658 functions. By CRAP, 14 critical, 105 to watch and 539 ok. Mutation scores are from the run on 2026-10-19 at commit 0deb189; 123 functions have changed since and show none until the next run.

Import cycles

None: no module imports itself, however indirectly.

The folders of DrDustinEdwards/enarratio and the imports between them
The modules of src/enhance/ and the imports among them; imports from other folders are on each module's page
src/enhance/
ModuleLinesFunctionsWorst functionMutation
chart.ts55059CriticalCRAP 380No data: no mutants in this code
index.ts452CriticalCRAP 56Critical0%
marks.ts6511WatchCRAP 20No data: no mutants in this code
motion.ts584CriticalCRAP 90No data: no mutants in this code
sanitize.ts743CriticalCRAP 182No data: no mutants in this code
targets.ts572CriticalCRAP 42No data: no mutants in this code
types.ts690No functionsNo data: no mutants in this code
The modules of src/ and the imports among them; imports from other folders are on each module's page
src/
ModuleLinesFunctionsWorst functionMutation
html.ts344OkCRAP 5Ok80%
index.ts780No functionsNo data: no mutants in this code
The modules of src/lite/ and the imports among them; imports from other folders are on each module's page
src/lite/
ModuleLinesFunctionsWorst functionMutation
area.ts13716WatchCRAP 12No data: no mutants in this code
axis.ts18410WatchCRAP 7.1No data: no mutants in this code
bar.ts31126WatchCRAP 30No data: no mutants in this code
index.ts180No functionsNo data: no mutants in this code
line.ts15116WatchCRAP 18No data: no mutants in this code
scale.ts46668CriticalCRAP 110No data: no mutants in this code
series.ts26435WatchCRAP 15No data: no mutants in this code
svg.ts10010OkCRAP 5No data: no mutants in this code
The modules of src/plot/ and the imports among them; imports from other folders are on each module's page
src/plot/
ModuleLinesFunctionsWorst functionMutation
bar.ts1376WatchCRAP 21Ok88.1%
heatmap.ts18619WatchCRAP 14.1Ok83.3%
index.ts190No functionsNo data: no mutants in this code
line.ts2509WatchCRAP 16Ok91.2%
scatter.ts16210WatchCRAP 24.1Ok80%
The modules of src/primitives/ and the imports among them; imports from other folders are on each module's page
src/primitives/
ModuleLinesFunctionsWorst functionMutation
companion.ts341OkCRAP 1Ok100%
heat-strip.ts20210WatchCRAP 20Ok95.1%
progress-ring.ts1764WatchCRAP 20Watch71.4%
sparkline.ts18114WatchCRAP 10Ok86.6%
tick-gap.ts111OkCRAP 3Watch77.8%
timeline.ts47932WatchCRAP 20Ok87.3%
uptime-strip.ts1749WatchCRAP 14Ok82%
The modules of src/render/ and the imports among them; imports from other folders are on each module's page
src/render/
ModuleLinesFunctionsWorst functionMutation
bar-model.ts41832WatchCRAP 29Ok93.2%
data.ts17423WatchCRAP 7Ok82.2%
datum.ts321WatchCRAP 6Ok90.3%
document.browser.ts171WatchCRAP 6Critical0%
document.ts121OkCRAP 1Ok100%
figure.ts23414WatchCRAP 8Ok93.7%
line-model.ts49749WatchCRAP 24Ok86.5%
plot.ts17313WatchCRAP 15.1Watch64%
series.ts546OkCRAP 5Ok87.1%
size.ts30No functionsNo data: no mutants in this code
The modules of src/science/ and the imports among them; imports from other folders are on each module's page
src/science/
ModuleLinesFunctionsWorst functionMutation
genome.ts30530WatchCRAP 19.6Ok83.1%
index.ts160No functionsNo data: no mutants in this code
network.ts19620WatchCRAP 15.1Watch75.8%
stats.ts444WatchCRAP 6Ok91.8%
titer.ts25637WatchCRAP 22Ok88.6%
The modules of src/theme/ and the imports among them; imports from other folders are on each module's page
src/theme/
ModuleLinesFunctionsWorst functionMutation
check.ts1658WatchCRAP 11Critical54.9%
color.ts17721WatchCRAP 7Watch77.5%
define.ts655WatchCRAP 5.7Critical56.7%
stylesheet.ts32512WatchCRAP 7Critical27.3%
types.ts670No functionsNo data: no mutants in this code
The modules of src/themes/ and the imports among them; imports from other folders are on each module's page
src/themes/
ModuleLinesFunctionsWorst functionMutation
default.ts530No functionsNo data: no mutants in this code
index.ts60No functionsNo data: no mutants in this code