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

被引:18
|
作者
Sawant, Anand Ashok [1 ]
Robbes, Romain [2 ]
Bacchelli, Alberto [3 ]
机构
[1] Delft Univ Technol, Software Engn Res Grp, Delft, Netherlands
[2] Free Univ Bozen Bolz, Software & Syst Engn Res Grp, Bozen Bolzano, Italy
[3] Univ Zurich, Dept Informat, Zurich, Switzerland
关键词
Deprecation; Application programming interface; API usage; !text type='Java']Java[!/text; SOCIAL DESIRABILITY; SUPPORT; BIAS;
D O I
10.1007/s10664-019-09713-w
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
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.
引用
收藏
页码:3824 / 3870
页数:47
相关论文
共 50 条
  • [21] BKM-react, an integrated biochemical reaction database
    Lang, Maren
    Stelzer, Michael
    Schomburg, Dietmar
    BMC BIOCHEMISTRY, 2011, 12
  • [22] How do developers react to API evolution? A large-scale empirical study
    Hora, Andre
    Robbes, Romain
    Valente, Marco Tulio
    Anquetil, Nicolas
    Etien, Anne
    Ducasse, Stephane
    SOFTWARE QUALITY JOURNAL, 2018, 26 (01) : 161 - 191
  • [23] To react or not to react? Intrinsic stochasticity of human control in virtual stick balancing
    Zgonnikov, Arkady
    Lubashevsky, Ihor
    Kanemoto, Shigeru
    Miyazawa, Toru
    Suzuki, Takashi
    JOURNAL OF THE ROYAL SOCIETY INTERFACE, 2014, 11 (99)
  • [24] How do developers react to API evolution? A large-scale empirical study
    André Hora
    Romain Robbes
    Marco Tulio Valente
    Nicolas Anquetil
    Anne Etien
    Stéphane Ducasse
    Software Quality Journal, 2018, 26 : 161 - 191
  • [25] PLANARIANS REQUIRE AN INTACT BRAIN TO BEHAVIORALLY REACT TO COCAINE, BUT NOT TO REACT TO NICOTINE
    Pagan, O. R.
    Deats, S.
    Baker, D.
    Montgomery, E.
    Wilk, G.
    Tenaglia, M.
    Semon, J.
    NEUROSCIENCE, 2013, 246 : 265 - 270
  • [26] To React or Not to React: The Dilemma of Fish Immune Systems Facing Myxozoan Infections
    Holzer, Astrid S.
    Piazzon, M. Carla
    Barrett, Damien
    Bartholomew, Jerri L.
    Sitja-Bobadilla, Ariadna
    FRONTIERS IN IMMUNOLOGY, 2021, 12
  • [27] Exploring API Deprecation Evolution in JavaScript
    Nascimento, Romulo
    Hora, Andre
    Figueiredo, Eduardo
    Proceedings - 2022 IEEE International Conference on Software Analysis, Evolution and Reengineering, SANER 2022, 2022, : 169 - 173
  • [28] STUDENTS REACT TO SUPERVISION
    MILLER, CD
    OETTING, ER
    COUNSELOR EDUCATION AND SUPERVISION, 1966, 6 (01) : 73 - 74
  • [29] Polymers react to stress
    Christoph Weder
    Nature, 2009, 459 : 45 - 46
  • [30] Companies react to crisis
    Wiegler, Laurie
    TCE, 2008, (810): : 6 - 6