2015 IEEE 23rd International Conference on Program Comprehension 2015
DOI: 10.1109/icpc.2015.29
|View full text |Cite
|
Sign up to set email alerts
|

Polymorphism in the Spotlight: Studying Its Prevalence in Java and Smalltalk

Abstract: Abstract-Subtype polymorphism is a cornerstone of objectoriented programming. By hiding variability in behavior behind a uniform interface, polymorphism decouples clients from providers and thus enables genericity, modularity and extensibility. At the same time, however, it scatters the implementation of the behavior over multiple classes thus potentially hampering program comprehension.The extent to which polymorphism is used in real programs and the impact of polymorphism on program comprehension are not ver… Show more

Help me understand this report

Search citation statements

Order By: Relevance

Paper Sections

Select...
3
2

Citation Types

0
6
0

Year Published

2015
2015
2023
2023

Publication Types

Select...
4
2
1

Relationship

4
3

Authors

Journals

citations
Cited by 7 publications
(6 citation statements)
references
References 24 publications
0
6
0
Order By: Relevance
“…The actual type of the variable at run time is ColorForm, which is a subclass of Form. However, this is a common situation in object-oriented languages, due to a heavy use of polymorphism [41].…”
Section: Motivationmentioning
confidence: 99%
“…The actual type of the variable at run time is ColorForm, which is a subclass of Form. However, this is a common situation in object-oriented languages, due to a heavy use of polymorphism [41].…”
Section: Motivationmentioning
confidence: 99%
“…The only available information is that this variable needs to understand messages with 100 selectors methodClass and selector. Polymorphic selectors are frequently used in Smalltalk [21] which means that a large number of methods implement these selectors. In the Pharo image 4 we used for our experiments, there are 20 methods with selector methodClass and 67 methods with selector selector.…”
Section: Motivationmentioning
confidence: 99%
“…In the past he has been interested in assessing the prevalence of reuse by inheritance and invocation of software in different languages [1]. Currently he wants to expand his analysis to subtype polymorphism [2]. He believes that although polymorphism can be an elegant solution for modelling variability, it can make systems more difficult to understand.…”
Section: Introductionmentioning
confidence: 99%
“…This could represent an excellent candidate for applying the Goal-Question-Metric paradigm (GQM) [5]. GQM provides a three-step framework in which one must: (1) define a goal, (2) derive questions to determine if the goal is met, and (3) decide what metrics are suitable to answer the questions.…”
Section: Introductionmentioning
confidence: 99%
See 1 more Smart Citation