DEV Community

#refactoring

Posts

đź‘‹ Sign in for the ability to sort posts by relevant, latest, or top.
Time Your Safety Net First: A Budget Gate for Characterization Tests in Messy Repos

Time Your Safety Net First: A Budget Gate for Characterization Tests in Messy Repos

Comments
5 min read
Test the Process, Not the Module: A Black-Box Characterization Gate for a Repo You Can't Import

Test the Process, Not the Module: A Black-Box Characterization Gate for a Repo You Can't Import

Comments
5 min read
Characterize the Boundary, Not the Module: An Import-Graph Gate for Messy Refactors

Characterize the Boundary, Not the Module: An Import-Graph Gate for Messy Refactors

Comments
5 min read
Record the Ordered Side-Effect Ledger Before You Move One Function

Record the Ordered Side-Effect Ledger Before You Move One Function

Comments
4 min read
Record the Call Order, Not the Return Value: A Ledger Gate for Messy Refactors

Record the Call Order, Not the Return Value: A Ledger Gate for Messy Refactors

Comments
5 min read
I automated my refactoring method with GitLab Duo agents. The agent writes the fix, a CI gate decides the merge.

I automated my refactoring method with GitLab Duo agents. The agent writes the fix, a CI gate decides the merge.

Comments 2
5 min read
One Rung per Commit: A Refactor Ladder for Reviewing AI Cleanup Diffs

One Rung per Commit: A Refactor Ladder for Reviewing AI Cleanup Diffs

Comments
6 min read
Deleting a discount programme: 930 lines of files, two dropped tables, and a reservation lifecycle nobody needed

Deleting a discount programme: 930 lines of files, two dropped tables, and a reservation lifecycle nobody needed

Comments
4 min read
Cluster Edits by Failing-Test Signature Before the Smallest Safe Change

Cluster Edits by Failing-Test Signature Before the Smallest Safe Change

Comments
5 min read
Prove Reach Before You Move: A Coverage Gate for Characterization Tests

Prove Reach Before You Move: A Coverage Gate for Characterization Tests

Comments
5 min read
Hold Out a Third of Your Corpus: The Characterization Gate for a Messy Refactor

Hold Out a Third of Your Corpus: The Characterization Gate for a Messy Refactor

Comments
5 min read
Pin the Bugs Before You Move the Function: A Two-Way Behavior Ledger

Pin the Bugs Before You Move the Function: A Two-Way Behavior Ledger

Comments
6 min read
Your Refactor May Only Touch Lines Your Tests Execute

Your Refactor May Only Touch Lines Your Tests Execute

Comments
4 min read
The Call Order Is the Contract: Trace Fixtures Before a Messy-Repo Extraction

The Call Order Is the Contract: Trace Fixtures Before a Messy-Repo Extraction

Comments 1
5 min read
Prove Your Refactor Tests Can Fail: A Mutation-Calibrated Gate for Messy Repos

Prove Your Refactor Tests Can Fail: A Mutation-Calibrated Gate for Messy Repos

Comments
7 min read
đź‘‹ Sign in for the ability to sort posts by relevant, latest, or top.