A Mining-Software-Repository study on deprecated API usages in open-source Java software applications.

Saved in:
Bibliographic Details
Title: A Mining-Software-Repository study on deprecated API usages in open-source Java software applications.
Authors: Cassieri, Pietro1 (AUTHOR) pcassieri@unisa.it, Romano, Simone1 (AUTHOR) siromano@unisa.it, Scanniello, Giuseppe1 (AUTHOR) gscanniello@unisa.it
Source: Information & Software Technology. Oct2025, Vol. 186, pN.PAG-N.PAG. 1p.
Subject Terms: *APPLICATION software, *APPLICATION program interfaces, *COMPUTER software, SMELL, MOBILE apps
Abstract: A deprecated API (Application Programming Interface) is an API that its original developers no longer recommend using. Although deprecated APIs (i.e., deprecated fields, methods, and classes) are still implemented, they are likely to be removed in future implementations. Consequently, developers are advised against using deprecated APIs in newly written code and are encouraged to update existing code to remove any deprecated API usage. We aimed to gather preliminary empirical evidence on deprecated API usages in open-source Java applications. To pursue such a goal, we conducted an exploratory Mining-Software-Repository (MSR) study in which we quantitatively analyzed the commit histories of 14 applications whose software projects were top-starred on GitHub. The most important takeaway results of our study can be summarized as follows: (i) deprecated API usages are pretty widespread in the studied software applications; (ii) only in half of these applications, developers remove deprecated API usages as soon as possible; (iii) consuming their own deprecated APIs is a prevalent phenomenon in half of the studied applications; (iv) the introductions and removals of deprecated API usages are mostly due to changes performed by senior contributors; (v) developers mostly introduce and remove deprecated API usages when they are far from publishing a release version; and (vi) the introductions and removals of deprecated API usages are often undocumented in commit messages. The outcomes of our study suggest that developers should better handle deprecated API usages. • Study of deprecated API usages in top starred GitHub projects. • Exploratory Mining-Software-Repository study on deprecated API usages. • Deprecated API are widely used in top-starred GitHub software applications. • Only half of the studied apps remove deprecated APIs usages promptly. • Senior developers mostly drive deprecated API usages additions and removals. • Developers change deprecated APIs usages mostly when far from a release. • The introduction/removal of deprecated API usages is often undocumented. [ABSTRACT FROM AUTHOR]
Copyright of Information & Software Technology is the property of Elsevier B.V. and its content may not be copied or emailed to multiple sites without the copyright holder's express written permission. Additionally, content may not be used with any artificial intelligence tools or machine learning technologies. However, users may print, download, or email articles for individual use. This abstract may be abridged. No warranty is given about the accuracy of the copy. Users should refer to the original published version of the material for the full abstract. (Copyright applies to all Abstracts.)
Database: Business Source Index
Be the first to leave a comment!
You must be logged in first