MCPcopy Create free account
hub / github.com/DeusData/codebase-memory-mcp / readability

Function readability

graph-ui/tools/smoke-w11b.mjs:966–979  ·  view source on GitHub ↗
(page, name)

Source from the content-addressed store, hash-verified

964 };
965
966 const readability = async (page, name) => {
967 const measured = await measureReadability(page, READABILITY_EXCLUSIONS);
968 extras.readability.push({
969 name,
970 candidates: measured.candidates,
971 overlaps: measured.overlaps,
972 clipped: measured.clipped,
973 });
974 report.overlapViolations += measured.overlaps.length;
975 report.clippingViolations += measured.clipped.length;
976 report.cutWithoutHint += measured.clipped
977 .filter((entry) => entry.kind === 'cut-without-hint').length;
978 return measured;
979 };
980
981 /* ============================================================ AKT A */
982 /*

Callers 1

mainFunction · 0.70

Calls 2

measureReadabilityFunction · 0.90
pushMethod · 0.45

Tested by

no test coverage detected