2015
DOI: 10.1002/smr.1714
|View full text |Cite
|
Sign up to set email alerts
|

Accounting for data encapsulation in the measurement of object-oriented class cohesion

Abstract: Intuitively, in a certain class, a pair of methods that share an attribute of an object type is potentially more cohesive than those that share an attribute of a primitive type because the attribute of a reference type could implicitly refer to multiple data. Existing class cohesion measures ignore the implicit access to or sharing of attributes due to the encapsulation feature. As a result, the obtained cohesion values can be inaccurate and could lead to incorrect quality indications. This paper aims at demon… Show more

Help me understand this report

Search citation statements

Order By: Relevance

Paper Sections

Select...
1

Citation Types

0
1
0

Year Published

2017
2017
2023
2023

Publication Types

Select...
3
2

Relationship

0
5

Authors

Journals

citations
Cited by 8 publications
(1 citation statement)
references
References 47 publications
0
1
0
Order By: Relevance
“…Coupling metrics. Coupling refers to the degree of interdependence among the components of a software system, and developers always pursue an optimal balance between coupling and cohesion when modularizing the components of their systems. Coupling metrics are widely used in software engineering tasks, such as change propagation prediction, assessing the fault‐proneness of classes, software dependency prediction, and software remodularization .…”
Section: Related Workmentioning
confidence: 99%
“…Coupling metrics. Coupling refers to the degree of interdependence among the components of a software system, and developers always pursue an optimal balance between coupling and cohesion when modularizing the components of their systems. Coupling metrics are widely used in software engineering tasks, such as change propagation prediction, assessing the fault‐proneness of classes, software dependency prediction, and software remodularization .…”
Section: Related Workmentioning
confidence: 99%