The Community for Technology Leaders
2018 IEEE 25th International Conference on Software Analysis, Evolution and Reengineering (SANER) (2018)
Campobasso, Italy
March 20, 2018 to March 23, 2018
ISBN: 978-1-5386-4970-1
pp: 507-511
Aline Brito , ASERG Group, Department of Computer Science (DCC), Federal University of Minas Gerais, Brazil
Laerte Xavier , ASERG Group, Department of Computer Science (DCC), Federal University of Minas Gerais, Brazil
Andre Hora , Faculty of Computer Science (FACOM), Federal University of Mato Grosso do Sul, Brazil
Marco Tulio Valente , ASERG Group, Department of Computer Science (DCC), Federal University of Minas Gerais, Brazil
ABSTRACT
Libraries are commonly used to increase productivity. As most software systems, they evolve over time and changes are required. However, this process may involve breaking compatibility with previous versions, leading clients to fail. In this context, it is important that libraries creators and clients frequently assess API stability in order to better support their maintenance practices. In this paper, we introduce APIDIFF, a tool to identify API breaking and non-breaking changes between two versions of a Java library. The tool detects changes on three API elements: types, methods, and fields. We also report usage scenarios of APIDIFF with four real-world Java libraries.
INDEX TERMS
Libraries, Tools, History, Java, Software, Contracts
CITATION

A. Brito, L. Xavier, A. Hora and M. T. Valente, "APIDiff: Detecting API breaking changes," 2018 IEEE 25th International Conference on Software Analysis, Evolution and Reengineering (SANER), Campobasso, Italy, 2018, pp. 507-511.
doi:10.1109/SANER.2018.8330249
723 ms
(Ver 3.3 (11022016))