Back to Search
Start Over
A Multi-Study Investigation into Dead Code
- Source :
- IEEE Transactions on Software Engineering. 46:71-99
- Publication Year :
- 2020
- Publisher :
- Institute of Electrical and Electronics Engineers (IEEE), 2020.
-
Abstract
- Dead code is a bad smell and it appears to be widespread in open-source and commercial software systems. Surprisingly, dead code has received very little empirical attention from the software engineering research community. In this paper, we present a multi-study investigation with an overarching goal to study, from the perspective of researchers and developers, when and why developers introduce dead code, how they perceive and cope with it, and whether dead code is harmful. To this end, we conducted semi-structured interviews with software professionals and four experiments at the University of Basilicata and the College of William & Mary. The results suggest that it is worth studying dead code not only in the maintenance and evolution phases, where our results suggest that dead code is harmful, but also in the design and implementation phases. Our results motivate future work to develop techniques for detecting and removing dead code and suggest that developers should avoid this smell.
- Subjects :
- Commercial software
unreachable code
Dead code
Computer science
business.industry
020207 software engineering
unused code
02 engineering and technology
Software maintenance
empirical investigation
Maintenance engineering
bad smell
Software
Work (electrical)
multi-study
0202 electrical engineering, electronic engineering, information engineering
Software system
Unreachable code
Software engineering
business
Subjects
Details
- ISSN :
- 23263881 and 00985589
- Volume :
- 46
- Database :
- OpenAIRE
- Journal :
- IEEE Transactions on Software Engineering
- Accession number :
- edsair.doi.dedup.....7e6f52bc6a0f1681bdd0208659633b11
- Full Text :
- https://doi.org/10.1109/tse.2018.2842781