Abstract
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.
Original language | English |
---|---|
Title of host publication | Proceedings - 2018 IEEE International Conference on Software Maintenance and Evolution, ICSME 2018 |
Editors | L. O'Conner |
Place of Publication | Los Alamitos, CA |
Publisher | IEEE |
Pages | 13-24 |
Number of pages | 12 |
ISBN (Electronic) | 978-1-5386-7870-1 |
ISBN (Print) | 978-1-5386-7871-8 |
DOIs | |
Publication status | Published - 27 Sep 2018 |
Event | ICSME 2018: 34th IEEE International Conference on Software Maintenance and Evolution - Madrid, Spain Duration: 23 Sep 2018 → 29 Sep 2018 Conference number: 34 https://icsme2018.github.io/ |
Conference
Conference | ICSME 2018 |
---|---|
Country/Territory | Spain |
City | Madrid |
Period | 23/09/18 → 29/09/18 |
Internet address |