2015
DOI: 10.18293/seke2015-64
|View full text |Cite
|
Sign up to set email alerts
|

A metrics-based comparative study on object-oriented programming languages

Abstract: Abstract-There has been a long debate on which programming language can help write better object-oriented programs. However, to date little response is given to this issue with empirical evidence. In this paper, we perform a comparative study on C++, C#, and Java programs by using object-oriented metrics, which comprise measures for class size, complexity, coupling, cohesion, inheritance, encapsulation, polymorphism, and reusability. Our experiment is conducted on 78 tasks in Rosetta Code, a code repository pr… Show more

Help me understand this report

Search citation statements

Order By: Relevance

Paper Sections

Select...
1
1

Citation Types

0
2
0

Year Published

2017
2017
2020
2020

Publication Types

Select...
2

Relationship

0
2

Authors

Journals

citations
Cited by 2 publications
(2 citation statements)
references
References 7 publications
0
2
0
Order By: Relevance
“…The authors defined LCOM metric as measure of cohesion which is the difference of null intersections with non-null intersections of methods in module and concluded that higher cohesion results in higher quality. The authors later revised their definition of LCOM to incorporate Loose and Tight class cohesions (Wu et al, 2015;Kerdoudi et al, 2016), where LCC is the fraction of number of direct connections and number of indirect connections with maximum number of possible connections and TCC is the fraction of number of direct connections with maximum number of possible connections. Goel and Gupta (2017) propose a dynamic approach to measure cohesion of software systems.…”
Section: Review Of Literaturementioning
confidence: 99%
“…The authors defined LCOM metric as measure of cohesion which is the difference of null intersections with non-null intersections of methods in module and concluded that higher cohesion results in higher quality. The authors later revised their definition of LCOM to incorporate Loose and Tight class cohesions (Wu et al, 2015;Kerdoudi et al, 2016), where LCC is the fraction of number of direct connections and number of indirect connections with maximum number of possible connections and TCC is the fraction of number of direct connections with maximum number of possible connections. Goel and Gupta (2017) propose a dynamic approach to measure cohesion of software systems.…”
Section: Review Of Literaturementioning
confidence: 99%
“…They have identified empirical thresholds for object-oriented metrics by conducting case studies on object-oriented programs [8].As code size increases, automatic detection tools [9] are needed to help the developer by finding code smells systematically. Automatic software tools [10] have been introduced for visually locating code smells in source code by highlighting suspicious code snippets. They allow the developer to apply code refactoring techniques for identified code smells.…”
Section: Related Workmentioning
confidence: 99%