1. How do python programs use inheritance? A replication study
- Author
-
Sun J.,Reddy Y.R.,Bahulkar A.,Pasala A., Orru', M, Tempero, E, Marchesi, M, Tonelli, R, Sun J.,Reddy Y.R.,Bahulkar A.,Pasala A., Orru', M, Tempero, E, Marchesi, M, and Tonelli, R
- 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.
- Published
- 2016