Designing and implementing a tool for measuring cohesion and coupling of Object-Oriented Systems
Main Article Content
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
Metrics
Article Details
You are free to:
- Share — copy and redistribute the material in any medium or format for any purpose, even commercially.
- Adapt — remix, transform, and build upon the material for any purpose, even commercially.
- The licensor cannot revoke these freedoms as long as you follow the license terms.
Under the following terms:
- Attribution — You must give appropriate credit , provide a link to the license, and indicate if changes were made . You may do so in any reasonable manner, but not in any way that suggests the licensor endorses you or your use.
- No additional restrictions — You may not apply legal terms or technological measures that legally restrict others from doing anything the license permits.
Notices:
You do not have to comply with the license for elements of the material in the public domain or where your use is permitted by an applicable exception or limitation .
No warranties are given. The license may not give you all of the permissions necessary for your intended use. For example, other rights such as publicity, privacy, or moral rights may limit how you use the material.