Logo Goletty

Java Method Calls in the Hierarchy – Uncovering Yet another Inheritance Foible
Journal Title CIT. Journal of Computing and Information Technology
Journal Abbreviation CIT
Publisher Group University of Zagreb
Website http://cit.srce.unizg.hr/index.php/CIT
PDF (168 kb)
   
Title Java Method Calls in the Hierarchy – Uncovering Yet another Inheritance Foible
Authors Counsell, Steve; Nasseri, Emal
Abstract This paper describes an empirical investigation into method calls between classes at each level of the inheritance hierarchy in four, Java, open source systems. We distinguish between method calls made to super classes in the hierarchy and external method calls made outside the line of super classes to the root. The premise on which the research rests is that classes should predominantly make use of super class functionality (as theory suggests) and relatively infrequent use of functionality outside those super classes. Results revealed that the most method calls were made to the methods of the classes where the majority of functionality resided (at shallow hierarchical levels) and not necessarily to the super classes of a class. The evidence presented therefore implies that developers are not using inheritance in the spirit originally intended and lends weight to the growing belief that OO inheritance has more practical foibles than theoretically stated advantages.  
Publisher University of Zagreb, University Computing Centre - SRCE
Date 2010-07-16
Source Journal of Computing and Information Technology Vol 18, No 2 (2010): The Overseas Contribution to the ITI Conference, including some 2009 Conferenc
Rights CIT. Journal of Computing and Information Technology is an open access journal.Authors who publish with this journal agree to the following terms:Authors retain copyright and grant the journal right of first publication with the work simultaneously licensed under a Creative Commons Attribution License that allows others to share the work with an acknowledgement of the work´s authorship and initial publication in this journal.Authors are able to enter into separate, additional contractual arrangements for the non-exclusive distribution of the journal´s published version of the work (e.g., post it to an institutional repository or publish it in a book), with an acknowledgement of its initial publication in this journal.Authors are permitted and encouraged to post their work online (e.g., in institutional repositories or on their website) prior to and during the submission process, as it can lead to productive exchanges, as well as earlier and greater citation of published work (See The Effect of Open Access).

 

See other article in the same Issue


Goletty © 2024