• DocumentCode
    3773159
  • Title

    How Do Python Programs Use Inheritance? A Replication Study

  • Author

    Orr?;Ewan Tempero;Michele Marchesi;Roberto Tonelli

  • Author_Institution
    Dept. of Electr. &
  • fYear
    2015
  • Firstpage
    309
  • Lastpage
    315
  • 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.
  • Keywords
    "Measurement","Java","Libraries","Software systems","Software engineering","Adaptation models"
  • Publisher
    ieee
  • Conference_Titel
    Software Engineering Conference (APSEC), 2015 Asia-Pacific
  • Electronic_ISBN
    1530-1362
  • Type

    conf

  • DOI
    10.1109/APSEC.2015.51
  • Filename
    7467315