Why Do We Break APIs? First Answers from Developers

被引:0
|
作者
Xavier, Laerte [1 ]
Hora, Andre [1 ]
Valente, Marco Tulio [1 ]
机构
[1] Fed Univ Minas Gerais UFMG, Dept Comp Sci DCC, ASERG Grp, Belo Horizonte, MG, Brazil
关键词
Software Evolution; API Stability; Backwards Compatibility; Qualitative Study;
D O I
暂无
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
Breaking contracts have a major impact on API clients. Despite this fact, recent studies show that libraries are often backward incompatible and that the rate of breaking changes increase over time. However, the specific reasons that motivate library developers to break contracts with their clients are still unclear. In this paper, we describe a qualitative study with library developers and real instance of API breaking changes. Our goal is to (i) elicit the reasons why developers introduce breaking changes; and (ii) check if they are aware about the risks of such changes. Our survey with the top contributors of popular Java libraries contributes to reveal a list of five reasons why developers break API contracts. Moreover, it also shows that most of developers are aware of these risks and, in some cases, adopt strategies to mitigate them. We conclude by prospecting a future study to strengthen our current findings. With this study, we expect to contribute on delineating tools to better assess the risks and impacts of API breaking changes.
引用
收藏
页码:392 / 396
页数:5
相关论文
共 50 条
  • [41] Why Do ScientificWorkflows Still Break?
    Maligeay, Nathan
    Bossut, Noemie
    Belhajjame, Khalid
    SCIENTIFIC AND STATISTICAL DATABASE MANAGEMENT 36TH INTERNATIONAL CONFERENCE, SSDBM 2024, 2024,
  • [42] WHY WE DO IT
    Selling
    AMERICAN JOURNAL OF ORTHOPSYCHIATRY, 1937, 7 (04) : 541 - 542
  • [43] Why We Do It
    不详
    JOURNAL OF EDUCATIONAL SOCIOLOGY, 1939, 12 (08): : 510 - 510
  • [44] Why We Do It
    Laird, Donald A.
    ANNALS OF THE AMERICAN ACADEMY OF POLITICAL AND SOCIAL SCIENCE, 1933, 166 : 226 - 230
  • [45] Why We Do It
    不详
    BRITISH JOURNAL OF PSYCHOLOGY-GENERAL SECTION, 1937, 28 : 223 - 223
  • [46] Why we do - And why we don't!
    Scully, D
    Lowry, R
    PSYCHOLOGIST, 2002, 15 (08) : 418 - 420
  • [47] GENETICS OF ALCOHOLISM - HOW DO WE FIND THE ANSWERS AND WHAT DO WE DO THEN
    DEITRICH, RA
    ALCOHOL AND ALCOHOLISM, 1990, 25 (05): : 571 - 572
  • [48] How Do Java Developers Reuse StackOverflow Answers in Their GitHub Projects?
    Chen, Juntong
    Zhao, Yan
    Meng, Na
    arXiv, 2023,
  • [49] Studying outcome predictors of drowning at the scene: Why do we have so few answers?
    Koon, William
    Clemens, Tessa
    Bierens, Joost
    Quan, Linda
    AMERICAN JOURNAL OF EMERGENCY MEDICINE, 2021, 46 : 361 - 366
  • [50] When, How, and Why Developers (Do Not) Test in Their IDEs
    Beller, Moritz
    Gousios, Georgios
    Panichella, Annibale
    Zaidman, Andy
    2015 10TH JOINT MEETING OF THE EUROPEAN SOFTWARE ENGINEERING CONFERENCE AND THE ACM SIGSOFT SYMPOSIUM ON THE FOUNDATIONS OF SOFTWARE ENGINEERING (ESEC/FSE 2015) PROCEEDINGS, 2015, : 179 - 190