Designing and implementing a tool for measuring cohesion and coupling of Object-Oriented Systems

Main Article Content

Atica M. Altaie

Abstract

Cohesion and coupling are considered essential elements of an object-oriented system's internal quality. The class diagram represents an important part of the design phase of the development life cycle of the software. Measurement of metrics early in the design phase will lead to enhancing the quality of design and source code and minimize the efforts required to build software. This tool calculates coupling and cohesion for class diagrams using design metrics. The metrics of the tool gather the data and information after analyzing the XMI file created by the UML tools. Then, we specify the cohesion of the class and the relationships of coupling via matching tokens of a specific class with tokens of other classes. The proposed methodology extracts tokens based on metrics for cohesion and coupling. Finally, the results lead to a suitableassessment of the software quality in terms of its cohesion and coupling measures. The values of DCH and DC metrics range from 0 to 1, the high cohesion and low coupling are better for the measure of maintainability, testability, readability, reliability, and reuse

Downloads

Download data is not yet available.

Metrics

Metrics Loading ...

Article Details

How to Cite
Atica M. Altaie. (2022). Designing and implementing a tool for measuring cohesion and coupling of Object-Oriented Systems. Turkish Journal of Computer and Mathematics Education (TURCOMAT), 13(2), 368–375. https://doi.org/10.17762/turcomat.v13i2.12235
Section
Research Articles