FlareStart
HomeNewsHow ToSources
FlareStart

Where developers start their day. All the tech news & tutorials that matter, in one place.

Quick Links

  • Home
  • News
  • Tutorials
  • Sources
  • Privacy Policy

Connect

© 2026 FlareStart. All rights reserved.

Back to articles
How I built a tool that uses git history to find the files most likely to break your codebase
How-ToProgramming Languages

How I built a tool that uses git history to find the files most likely to break your codebase

via Dev.to PythonPalash Lalwani | Coding Micro-SaaS in Public3h ago

Every codebase has files that look fine but will take down prod if you breathe on them wrong. The problem is there's no obvious marker on them. No comment that says "this couples to six other things." No warning in the code review checklist. You only find out after the incident. I wanted to build something that surfaces these files automatically. The result is fearmap, which mines git history to classify every file as LOAD-BEARING, RISKY, DEAD, or SAFE. This post is about the methodology and some things I learned building it. Why git history instead of static analysis The obvious approach is static analysis. Parse the imports, build a dependency graph, flag the highly connected nodes. It works, but it misses a lot. Static analysis tells you about declared dependencies. It doesn't tell you about the hidden ones. Two files that always get edited together in the same commit are coupled, even if nothing in the code makes that explicit. That coupling lives in developer behaviour, not in the

Continue reading on Dev.to Python

Opens in a new tab

Read Full Article
2 views

Related Articles

I Got a $40 Parking Fine, So I’m Building an App That Fixes It
How-To

I Got a $40 Parking Fine, So I’m Building an App That Fixes It

Medium Programming • 6h ago

Here Is What Programming Taught Me About Solving Real-World Problems
How-To

Here Is What Programming Taught Me About Solving Real-World Problems

Medium Programming • 7h ago

How to Add a Custom Tool to Your MCP Server (Step by Step)
How-To

How to Add a Custom Tool to Your MCP Server (Step by Step)

Dev.to Tutorial • 10h ago

I Was Great at Power BI — Until I Realized I Was Useless in Real Projects
How-To

I Was Great at Power BI — Until I Realized I Was Useless in Real Projects

Medium Programming • 10h ago

I Studied What the Top 0.1%
How-To

I Studied What the Top 0.1%

Medium Programming • 18h ago

Discover More Articles