← 返回
未分类 中文

Code Analysis

Perform multi-dimensional advanced code analysis including knowledge graph generation, code quality evaluation, performance analysis, security review, archit...
执行多维度高级代码分析,包括知识图谱生成、代码质量评估、性能分析、安全审查、架构...
openlark openlark 来源
未分类 clawhub v1.0.0 1 版本 100000 Key: 无需
★ 0
Stars
📥 83
下载
💾 1
安装
1
版本
#latest

概述

Code Analysis

Perform multi-dimensional advanced code analysis, outputting structured reports and improvement roadmaps.

Use Cases

Use when users need "code analysis", "code review", "code quality assessment", "performance analysis", or "security review".

Analysis Dimensions

Select one or more based on user needs:

1. Knowledge Graph Generation

  • Map relationships between components
  • Visualize dependencies
  • Identify architectural patterns

2. Code Quality Evaluation

  • Complexity metrics (cyclomatic complexity, cognitive complexity)
  • Maintainability index
  • Technical debt assessment
  • Code duplication detection

3. Performance Analysis

  • Identify performance bottlenecks
  • Memory usage patterns
  • Algorithm complexity analysis
  • Database query optimization recommendations

4. Security Review

  • Vulnerability scanning
  • Input validation checks
  • Authentication/authorization review
  • Sensitive data handling checks

5. Architecture Review

  • Design pattern adherence
  • SOLID principles compliance
  • Coupling and cohesion analysis
  • Module boundary assessment

6. Test Coverage Analysis

  • Coverage percentages
  • Untested code paths
  • Test quality assessment
  • Missing edge cases

Workflow

  1. Read user-provided code files or directories
  2. Select analysis types based on user needs
  3. Execute analysis and generate comprehensive report
  4. Provide actionable improvement recommendations
  5. Prioritize optimization items by impact

Output Format

## Code Analysis Report

### Executive Summary
[Overall assessment overview, 1-2 paragraphs]

### Detailed Findings
#### [Dimension 1]
- Finding 1: xxx
- Finding 2: xxx

#### [Dimension 2]
- Finding 1: xxx

### Risk Assessment
| Risk Level | Issue | Impact Scope | Recommendation |
|------------|-------|--------------|----------------|
| 🔴 High | xxx | xxx | xxx |
| 🟡 Medium | xxx | xxx | xxx |
| 🟢 Low | xxx | xxx | xxx |

### Improvement Roadmap
1. Immediate fixes (high priority)
2. Short-term optimization (1-2 weeks)
3. Long-term improvements (1-3 months)

### Code Examples
[Code examples of key issues with improvement suggestions]

版本历史

共 1 个版本

  • v1.0.0 当前
    2026-06-07 13:19 安全 安全

安全检测

腾讯云安全 (Keen)

安全,无风险
查看报告

腾讯云安全 (Sanbu)

安全,无风险
查看报告

🔗 相关推荐

dev-programming

Mcporter

steipete
使用 mcporter CLI 直接列出、配置、认证及调用 MCP 服务器/工具(支持 HTTP 或 stdio),涵盖临时服务器、配置编辑及 CLI/类型生成功能。
★ 196 📥 67,890
content-creation

Toutiao Graphic Publisher

openlark
通过浏览器自动化在头条发布图文内容,支持智能排版、自动生成热门标签等功能。
★ 2 📥 1,011
dev-programming

CodeConductor.ai

larsonreever
AI驱动平台,提供快速全栈开发、智能体、工作流自动化及低代码AI集成的可扩展产品创建。
★ 75 📥 182,318