erosolar-cli
Version:
Unified AI agent framework for the command line - Multi-provider support with schema-driven tools, code intelligence, and transparent reasoning
57 lines • 1.59 kB
TypeScript
/**
* Erosolar Code Quality Dashboard
*
* Provides real-time insights into codebase health, quality metrics,
* and actionable recommendations for improvement.
*
* Usage:
* node src/tools/code-quality-dashboard.ts
* npm run quality-dashboard
*/
interface CodeQualityMetrics {
buildStatus: 'success' | 'failed' | 'unknown';
testStatus: 'success' | 'failed' | 'unknown';
lintStatus: 'success' | 'failed' | 'unknown';
typeCheckStatus: 'success' | 'failed' | 'unknown';
complexityScore: number;
fileCount: number;
linesOfCode: number;
dependencies: {
total: number;
dev: number;
prod: number;
};
issues: {
critical: number;
warnings: number;
suggestions: number;
};
}
interface DashboardReport {
timestamp: string;
metrics: CodeQualityMetrics;
recommendations: string[];
nextSteps: string[];
}
declare class CodeQualityDashboard {
private projectRoot;
constructor();
generateReport(): Promise<DashboardReport>;
private collectMetrics;
private checkBuildStatus;
private checkTestStatus;
private checkLintStatus;
private checkTypeCheckStatus;
private calculateComplexityScore;
private countFiles;
private countLinesOfCode;
private analyzeDependencies;
private analyzeIssues;
private generateRecommendations;
private generateNextSteps;
displayReport(report: DashboardReport): void;
private formatStatus;
}
export { CodeQualityDashboard };
//# sourceMappingURL=code-quality-dashboard.d.ts.map