Navigation auf zora.uzh.ch

Search ZORA

ZORA (Zurich Open Repository and Archive)

To react, or not to react: Patterns of reaction to API deprecation

Sawant, Anand Ashok; Robbes, Romain; Bacchelli, Alberto (2020). To react, or not to react: Patterns of reaction to API deprecation. Empirical Software Engineering, 24(6):3824-3870.

Abstract

Application Programming Interfaces (API) provide reusable functionality to aid developers in the development process. The features provided by these APIs might change over time as the API evolves. To allow API consumers to peacefully transition from older obsolete features to new features, API producers make use of the deprecation mechanism that allows them to indicate to the consumer that a feature should no longer be used. The Java language designers noticed that no one was taking these deprecation warnings seriously and continued using outdated features. Due to this, they decided to change the implementation of this feature in Java 9. We question as to what extent this issue exists and whether the Java language designers have a case. We start by identifying the various ways in which an API consumer can react to deprecation. Following this we benchmark the frequency of the reaction patterns by creating a dataset consisting of data mined from 50 API consumers totalling 297,254 GitHub based projects and 1,322,612,567 type-checked method invocations. We see that predominantly consumers do not react to deprecation and we try to explain this behavior by surveying API consumers and by analyzing if the API’s deprecation policy has an impact on the consumers’ decision to react.

Additional indexing

Item Type:Journal Article, refereed, original work
Communities & Collections:03 Faculty of Economics > Department of Informatics
Dewey Decimal Classification:000 Computer science, knowledge & systems
Scopus Subject Areas:Physical Sciences > Software
Scope:Discipline-based scholarship (basic research)
Language:English
Date:2020
Deposited On:27 Jan 2021 07:40
Last Modified:10 Mar 2025 04:40
Publisher:Springer
ISSN:1382-3256
OA Status:Hybrid
Free access at:Publisher DOI. An embargo period may apply.
Publisher DOI:https://doi.org/10.1007/s10664-019-09713-w
Other Identification Number:merlin-id:20241
Download PDF  'To react, or not to react: Patterns of reaction to API deprecation'.
Preview
  • Content: Published Version
  • Licence: Creative Commons: Attribution 4.0 International (CC BY 4.0)

Metadata Export

Statistics

Citations

Dimensions.ai Metrics
18 citations in Web of Science®
23 citations in Scopus®
Google Scholar™

Altmetrics

Downloads

28 downloads since deposited on 27 Jan 2021
3 downloads since 12 months
Detailed statistics

Authors, Affiliations, Collaborations

Similar Publications