Why are Features Deprecated? An Investigation Into the Motivation Behind Deprecation
Autor: | Sawant, A.A., Huang, Guangzhe, Vilen, Gabriel, Stojkovski, Stefan, Bacchelli, A., O'Conner, L. |
---|---|
Přispěvatelé: | University of Zurich |
Rok vydání: | 2018 |
Předmět: |
Deprecation
Source code Java 10009 Department of Informatics Computer science media_common.quotation_subject 020207 software engineering Javadoc 02 engineering and technology Commit 000 Computer science knowledge & systems 1712 Software World Wide Web Deprecated Documentation 020204 information systems 2213 Safety Risk Reliability and Quality 0202 electrical engineering electronic engineering information engineering Mainstream computer media_common computer.programming_language |
Zdroj: | ICSME Proceedings-2018 IEEE International Conference on Software Maintenance and Evolution, ICSME 2018 |
DOI: | 10.1109/icsme.2018.00011 |
Popis: | In this study, we investigate why API producers deprecate features. Previous work has shown us that knowing the rationale behind deprecation of an API aids a consumer in deciding to react, thus hinting at a diversity of deprecation reasons. We manually analyze the Javadoc of 374 deprecated methods pertaining four mainstream Java APIs to see whether the reason behind deprecation is mentioned. We find that understanding the rationale from just the Javadoc is insufficient; hence we add other data sources such as the source code, issue tracker data and commit history. We observe 12 reasons that trigger API producers to deprecate a feature. We evaluate an automated approach to classify these motivations. |
Databáze: | OpenAIRE |
Externí odkaz: |