CRAP | Complexity | Coverage | Location |
---|---|---|---|
2.00 | 1 | 0/2 (0.00%) | crap/html-report/html-report.service.ts (L55 - L69) |
functions.map(async (functionReport) => {
const html = pageTemplate({
...functionReport,
content: "function",
title: `CRAP: ${functionReport.functionDescriptor} - ${functionReport.filePath}`,
sourceCode: functionReport.sourceCode,
prismStyles,
prismScript,
});
this.fileSystemService.writeHtmlReport(
join(htmlReportDir, functionReport.filePath, `${functionReport.fileIndex}.html`),
html,
);
}),