Software Quality Journal

, Volume 23, Issue 1, pp 107–141

Eclipse API usage: the good and the bad

  • John Businge
  • Alexander Serebrenik
  • Mark G. J. van den Brand
Article

DOI: 10.1007/s11219-013-9221-3

Cite this article as:
Businge, J., Serebrenik, A. & van den Brand, M.G.J. Software Qual J (2015) 23: 107. doi:10.1007/s11219-013-9221-3

Abstract

Today, when constructing software systems, many developers build their systems on top of frameworks. Eclipse is such a framework that has been in existence for over a decade. Like many other evolving software systems, the Eclipse platform has both stable and supported interfaces (“good”) and unstable, discouraged and unsupported interfaces (“bad”). In this study, we investigate Eclipse interface usage by Eclipse third-party plug-ins (ETPs) based on whether they use bad interfaces or not. The investigations, based on empirical analysis present the following observations. First, we discovered that 44 % of the 512 analyzed Eclipse third-party plug-ins depend on “bad” interfaces and that developers continue to use “bad” interfaces. Second, we have observed that plug-ins that use or extend at least one “bad” interface are comparatively larger and use more functionality from Eclipse than those that use only “good” interfaces. Third, the findings show that the ETPs use a diverse set of “bad” interfaces. Fourth, we observed that the reason why the bad interfaces are being eliminated from the ETPs’ source code is, because (ETP developers believe) these non-APIs will cause incompatibilities when a version of the ETP is ported to new Eclipse SDK release. Finally, we observed that when developers eliminate problematic “bad” interfaces, they either re-implement the same functionality in their own API, find equivalent SDK good interfaces, or completely delete the entities in the ETPs’ source code that use the functionality from the “bad” interfaces.

Keywords

Eclipse API usage Software evolution 

Copyright information

© Springer Science+Business Media New York 2013

Authors and Affiliations

  • John Businge
    • 1
  • Alexander Serebrenik
    • 1
  • Mark G. J. van den Brand
    • 1
  1. 1.Eindhoven University of TechnologyEindhovenThe Netherlands