PR Impact

•

Analyzes pull requests to detect breaking changes, map import-graph impact, score risk, and flag test coverage gaps before merging.

PR Impact is a static analysis tool designed to enhance code review processes by proactively identifying potential issues within pull requests. It performs comprehensive analysis including detecting breaking API changes and their downstream consumers, mapping the blast radius of code changes through import dependencies, and pinpointing gaps in test coverage. The tool consolidates these insights into a weighted risk score, making it easy for developers to assess the stability and safety of a PR. It integrates seamlessly into CI/CD pipelines as a quality gate and can be exposed as an MCP server tool for AI assistant integration.

Características Principales

010 GitHub stars
02Breaking Change Detection for API changes, altered types, and renamed exports.
03Impact Graph to visualize direct and indirect code change effects (blast radius).
04Test Coverage Gap Analysis to identify untested modified source files.
05CI-Friendly with configurable exit codes for automated quality gates in pipelines.
06Weighted Risk Score (0-100) based on six factors for holistic PR assessment.

Casos de Uso

01Automate code review and pre-merge quality checks in CI/CD pipelines.
02Assess the potential risk and impact of a pull request before merging to prevent regressions.
03Provide detailed code analysis, breaking change reports, and impact graphs to AI assistants via an MCP server.