qaops_1/reports/LT-main_1_report.json

123 lines
3.2 KiB
JSON
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

{
"meta": {
"project_name": "LT-main_1",
"analysis_date": "2025-10-15 20:38:14",
"report_version": "1.0.0",
"analyzer": "红山开源平台 - 项目质量分析系统"
},
"summary": {
"overall_score": 40.3,
"quality_level": {
"key": "poor",
"label": "较差",
"color": "#dc3545"
},
"rating_stars": 2,
"quick_summary": "该项目综合质量评级为较差40.3分。项目包含20个文件共5610行代码有0位贡献者参与开发。"
},
"detailed_scores": {
"code_quality": {
"score": 73.5,
"weight": 30.0,
"level": "中等"
},
"documentation": {
"score": 6.2,
"weight": 25.0,
"level": "较差"
},
"activity": {
"score": 40,
"weight": 20.0,
"level": "较差"
},
"community": {
"score": 13.9,
"weight": 15.0,
"level": "较差"
},
"maintainability": {
"score": 66.2,
"weight": 10.0,
"level": "中等"
}
},
"code_analysis": {
"statistics": {
"total_files": 20,
"total_lines": 5610,
"python_files": 11,
"javascript_files": 0,
"java_files": 0
},
"quality_metrics": {
"maintainability_index": 66.15,
"complexity_score": 70,
"code_smells_count": 3
},
"issues": [
{
"type": "documentation",
"severity": "medium",
"message": "缺少README文件"
},
{
"type": "configuration",
"severity": "low",
"message": "缺少.gitignore文件"
},
{
"type": "dependency",
"severity": "medium",
"message": "缺少依赖管理文件(requirements.txt或setup.py)"
}
]
},
"documentation_analysis": {
"completeness": 0.0,
"readme_quality": 0,
"available_docs": {
"README": false,
"LICENSE": false,
"CONTRIBUTING": false,
"CHANGELOG": false,
"API_DOCS": false
},
"missing_docs": [
"README文件",
"LICENSE文件"
]
},
"activity_analysis": {
"last_commit": "2025-10-15",
"commit_statistics": {
"total": 0,
"last_month": 1,
"last_3_months": 1,
"last_year": 1
},
"contributors": 0,
"activity_level": "very_active",
"maintenance_status": "actively_maintained"
},
"ai_insights": null,
"recommendations": {
"priority_high": [
"添加README文档说明项目用途和使用方法",
"添加开源协议声明,明确项目授权方式"
],
"priority_medium": [
"优化代码结构,解决中等级别的代码问题",
"完善项目文档,提高文档完整性",
"添加贡献指南,吸引更多开发者参与",
"提高项目活跃度,保持定期更新"
],
"priority_low": [
"逐步改进代码细节,提升整体质量",
"添加变更日志,记录项目版本演进",
"添加API文档方便用户使用",
"建立CI/CD流程实现自动化测试和部署",
"定期进行代码审查,保持代码质量"
]
}
}