«

»

Empirical Evidence of Large-Scale Diversity in API Usage of Object-Oriented Software

by Diego Mendez, Benoit Baudry, Martin Monperrus
Abstract:
In this paper, we study how object-oriented classes are used across thousands of software packages. We concentrate on “usage diversity'”, defined as the different statically observable combinations of methods called on the same object. We present empirical evidence that there is a significant usage diversity for many classes. For instance, we observe in our dataset that Java’s String is used in 2460 manners. We discuss the reasons of this observed diversity and the consequences on software engineering knowledge and research.
Reference:
Empirical Evidence of Large-Scale Diversity in API Usage of Object-Oriented Software (Diego Mendez, Benoit Baudry, Martin Monperrus), In Proc. of the Int. Conf. on Source Code Analysis and Manipulation (SCAM), 2013.
Bibtex Entry:
@inproceedings{mendez13,
    keywords = {metrics, ecology, diversity, OOP},
    title = {{Empirical Evidence of Large-Scale Diversity in API Usage of Object-Oriented Software}},
    author = {Mendez, Diego and Baudry, Benoit and Monperrus, Martin},
    abstract = {{In this paper, we study how object-oriented classes are used across thousands of software packages. We concentrate on "usage diversity'", defined as the different statically observable combinations of methods called on the same object. We present empirical evidence that there is a significant usage diversity for many classes. For instance, we observe in our dataset that Java's String is used in 2460 manners. We discuss the reasons of this observed diversity and the consequences on software engineering knowledge and research.}},
    booktitle = {{Proc. of the Int. Conf. on Source Code Analysis and Manipulation (SCAM)}},
    pages = {-},
    address = {Netherlands},
  	X-International-Audience = {yes},
  	X-Language = {EN},
  	x-abbrv = {SCAM},
    year = {2013},
    url = {http://hal.archives-ouvertes.fr/hal-00844753/PDF/article.pdf},
}