MCPcopy Create free account
hub / github.com/cometchat/cometchat-uikit-angular / generateReport

Function generateReport

scripts/docs-audit.ts:375–386  ·  view source on GitHub ↗

* Generates the full audit report from individual component results.

(results: ComponentAuditEntry[])

Source from the content-addressed store, hash-verified

373 * Generates the full audit report from individual component results.
374 */
375function generateReport(results: ComponentAuditEntry[]): AuditReport {
376 return {
377 timestamp: new Date().toISOString(),
378 summary: {
379 totalComponents: results.length,
380 documented: results.filter((r) => r.status === 'documented').length,
381 partiallyDocumented: results.filter((r) => r.status === 'partially-documented').length,
382 missing: results.filter((r) => r.status === 'missing').length,
383 },
384 components: results,
385 };
386}
387
388/**
389 * Prints a console summary table of the audit results.

Callers 1

mainFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected