API Evolution and Compatibility: A Data Corpus and Tool Evaluation

By: Kamil Jezek, Jens Dietrich

Abstract

The development of software components with independent release cycles is nowadays widely supported by multiple languages and frameworks. A critical feature of any such platform is to safeguard composition by ensuring backward compatibility of substituted components. In recent years, some tooling has been developed to help developers and DevOps engineers to establish whether components are backward compatible by means of static analysis. We investigate the state of the art in this space by benchmarking such tools for Java. For this purpose, we have developed a compact benchmark data set of less than 200KB. Using this dataset, we study possible API changes of Java libraries, and whether the tools investigated can detect them. We find that only a small number of tools suitable to analyse API evolution exist. Those tools are only infrequently maintained by small communities. All tools investigated have some shortcomings in that they fail to detect certain API incompatibilities.

Keywords

API, source, binary, compatibility, tools, byte-code, Java

Cite as:

Kamil Jezek, Jens Dietrich, “API Evolution and Compatibility: A Data Corpus and Tool Evaluation”, Journal of Object Technology, Volume 16, no. 4 (August 2017), pp. 2:1-23, doi:10.5381/jot.2017.16.4.a2.

PDF | DOI | BiBTeX | Tweet this | Post to CiteULike | Share on LinkedIn

The JOT Journal   |   ISSN 1660-1769   |   DOI 10.5381/jot   |   AITO   |   Open Access   |    Contact