UNPKG

static-code-analyzer

Version:

Universal static code analysis tool for calculating API operation costs across multiple frameworks (NestJS, Express, Fastify)

30 lines 1.08 kB
import { FileAnalysis, ReportFormat } from './types'; /** * Report generator for different output formats */ export declare class ReportGenerator { /** * Generate a report for a single file analysis */ static generateFileReport(analysis: FileAnalysis, format?: ReportFormat): string; /** * Generate a project summary report */ static generateProjectReport(files: FileAnalysis[], format?: ReportFormat): string; private static generateTextReport; private static generateMethodReport; private static generateJsonReport; private static generateMarkdownReport; private static generateHtmlReport; private static generateProjectTextReport; private static generateProjectMarkdownReport; private static generateProjectHtmlReport; private static calculateProjectSummary; private static findOptimizationOpportunities; private static generateOptimizationGuide; /** * Save report to file */ static saveReport(content: string, filePath: string): void; } //# sourceMappingURL=reports.d.ts.map