In this work we present an empirical study on the use of inheritance in a curated corpus of Python systems. Replicating a study preformed on Java, we analyzed a collection of 51 software systems written in Python, and investigated how inheritance is effectively used by Python developers in practice through a convenient set of inheritance metrics. Our results suggest that on average fewer classes inherit from other classes than in Java, but more classes are inherited from. We also see a sort of symmetry relating the number of ancestors and the number of descendants in each system.

Orru', M., Tempero, E., Marchesi, M., Tonelli, R. (2016). How do python programs use inheritance? A replication study. In Proceedings - Asia-Pacific Software Engineering Conference, APSEC (pp.309-315). IEEE Computer Society [10.1109/APSEC.2015.51].

How do python programs use inheritance? A replication study

Orru', M;
2016

Abstract

In this work we present an empirical study on the use of inheritance in a curated corpus of Python systems. Replicating a study preformed on Java, we analyzed a collection of 51 software systems written in Python, and investigated how inheritance is effectively used by Python developers in practice through a convenient set of inheritance metrics. Our results suggest that on average fewer classes inherit from other classes than in Java, but more classes are inherited from. We also see a sort of symmetry relating the number of ancestors and the number of descendants in each system.
paper
Empirical Studies; Inheritance; Metrics; Python;
English
22nd Asia-Pacific Software Engineering Conference, APSEC 2015
2015
Sun J.,Reddy Y.R.,Bahulkar A.,Pasala A.
Proceedings - Asia-Pacific Software Engineering Conference, APSEC
978-146739644-8
2016
2016-May
309
315
7467315
reserved
Orru', M., Tempero, E., Marchesi, M., Tonelli, R. (2016). How do python programs use inheritance? A replication study. In Proceedings - Asia-Pacific Software Engineering Conference, APSEC (pp.309-315). IEEE Computer Society [10.1109/APSEC.2015.51].
File in questo prodotto:
File Dimensione Formato  
How Do Python Programs Use Inheritance? A Replication Study .pdf

Solo gestori archivio

Tipologia di allegato: Publisher’s Version (Version of Record, VoR)
Dimensione 183.39 kB
Formato Adobe PDF
183.39 kB Adobe PDF   Visualizza/Apri   Richiedi una copia

I documenti in IRIS sono protetti da copyright e tutti i diritti sono riservati, salvo diversa indicazione.

Utilizza questo identificativo per citare o creare un link a questo documento: https://hdl.handle.net/10281/302125
Citazioni
  • Scopus 4
  • ???jsp.display-item.citation.isi??? 3
Social impact