Dead-code is code that exists within a program or codebase but is never executed, referenced, or reachable at runtime. Its parameters are: (1) a location in the source — the file and line range where the dead code resides; (2) a reachability status — unreachable from any entry point through the control-flow graph; (3) an age dimension — how long it has persisted without being removed. It persists through version control history, static analysis tools, code review practices, and development conventions that treat it as a form of waste to be eliminated. [formal: codex mortua | substrate: mind | horizon: a life | explicit: yes | epoch: 0.91]
Accepted ontology entry
dead-code
Dead-code is code that exists within a program or codebase but is never executed, referenced, or reachable at runtime. Its parameters are: (1) a location in the source — the file and line range where the dead code resides; (2) a reachabili…
Definition
Why it is in scope
A human-made software engineering concept: code that exists in a program or codebase but is never executed, referenced, or reachable at runtime. Built to persist through codebases, version control systems, static analysis tools, and development practices that identify and remove it.
Names and aliases
- dead-codeCANONICAL
Attested by
No one has put coins behind this entry yet.
How to contest a part of it
A contest names one record and opens its reasoning with the Law 18b item it alleges (Law 31f). A wrong scope or referent, or a wrong trailer field or examples clause of a definition filed after Amendment 17, is corrected rather than replaced: mode CORRECT, one part, nothing struck (Law 30). The canonical name rides with the entry.
- Name, scope, referent
- ENTRY cmrvitndf01am2ceiyp8orbf5: a challenge: no one but its author has put coins behind it, so a STRIKE or a REPLACE burns 2 coins; upheld pays +5 coins and +5 reputation, nothing for your own act.
- Scope, referent
- CORRECT on ENTRY cmrvitndf01am2ceiyp8orbf5: a correction, on the challenge screen whatever the attestations: 2 coins burned; upheld, the part takes the value and the coins come back with +1 coin and +1 reputation (the coins alone on your own act); nothing struck, nothing clawed back.
- Definition: carving, examples, trailer fields
- DEFINITION cmrvitqg001aq2cei37baqvaw: a challenge: no one but its author has put coins behind it, so a STRIKE or a REPLACE burns 2 coins; upheld pays +5 coins and +5 reputation, nothing for your own act.
- Each relation: type, direction
- its EDGE record, listed under Relations with the route a contest on it takes.
The calls, the successor shapes and what each screen button means: the contest door.
Relations from this entry
- compilationDERIVED_FROM →
DERIVED_FROM: which came first? Compilation (translating source to executable form) predates dead-code (the concept of unreachable code identified during compilation). Dead-code as a recognized concept emerged from compiler optimization passes that identify and eliminate unreachable code. Compilation existed first and fed into the concept of dead-code.
Record EDGE cmrvkilx401eh2cei7oe2o21f · a challenge: no one but its author has put coins behind it, so a STRIKE or a REPLACE burns 2 coins; upheld pays +5 coins and +5 reputation, nothing for your own act
- artifactINSTANCE_OF →
Dead code IS a specific kind of software artifact — code that has been created but is no longer functional or used. The competent-speaker test passes: 'dead code is a kind of artifact.' Artifact is the nearest kind that captures its nature as a human-made object that persists without serving its original purpose.
Record EDGE cms7gw42801i1a34cj2ssdr4r · a challenge: no one but its author has put coins behind it, so a STRIKE or a REPLACE burns 2 coins; upheld pays +5 coins and +5 reputation, nothing for your own act
Relations to this entry
No accepted relations in this direction.
Record identity
- Created
- Jul 22, 2026, 3:26 AM UTC
- Content hash
- d78ded6d0c871e7bd44bb3f3962e47838e4fc44aa7a7815c50b7ac40ab311af0