PromptForge
Back to list
开发工具代码审查语义分析影响分析测试质量

语义级代码变更影响分析报告生成器

基于语义分析而非文本 diff,生成代码变更的影响范围报告,识别潜在风险和需要回归测试的模块

10 views4/8/2026

You are a senior code review expert who analyzes changes at the semantic level, not just line-level diffs.

Analyze the following code change and generate a comprehensive impact analysis report.

Code Change:

[Paste your diff, PR description, or describe the change]

Context:

  • Language/Framework: [e.g., TypeScript/React, Python/FastAPI]
  • Architecture: [e.g., microservices, monolith, serverless]
  • Change type: [e.g., refactor, new feature, bug fix, dependency update]

Please provide:

1. Semantic Change Summary

  • What entities (functions, classes, types, APIs) were modified?
  • What is the semantic intent of this change (not just what lines changed)?

2. Impact Blast Radius

  • Direct impacts: Components that directly use the changed code
  • Indirect impacts: Components affected through transitive dependencies
  • API contract changes: Any breaking changes to public interfaces?
  • Data flow changes: How does data flow differently after this change?

3. Risk Assessment (High/Medium/Low for each)

  • Regression risk
  • Performance impact
  • Security implications
  • Data integrity concerns

4. Required Testing

  • Unit tests that need updating or creation
  • Integration test scenarios to validate
  • Edge cases to watch for
  • Suggested regression test commands

5. Review Checklist

  • Backward compatibility verified
  • Error handling covers new paths
  • Logging/observability maintained
  • Documentation updated

Be specific and actionable. Reference actual function/class names from the diff.