Your Dead-Code Detector Found Six Orphan Constants. None of Them Were Dead.
DEV Community
Your Dead-Code Detector Found Six Orphan Constants. None of Them Were Dead.
An audit flagged six constants as unreferenced. Every one turned out to be a specification the code had quietly retyped as string literals, and two of them were letting typos walk straight through a review gate. Zero references does not mean nothing needs this — it can mean nothing is enforcing it.
0 comments
No comments yet.