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.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.