Analysis of Lack of Cohesion in Methods (LCOM): A Case Study

No Thumbnail Available

Date

2021

Journal Title

Journal ISSN

Volume Title

Publisher

Abstract

As the need for software has increased, the maintainability of software has become an important issue and the need for the qualitative study of source codes has arisen. For this reason, we used software quality metrics to measure software quality. Moreover, for object-oriented software development projects, cohesion is an important factor. The main purpose of cohesion is to provide the rule that each class should serve a single purpose. Every class should have a single responsibility. In this study, types of Lack of Cohesion in Methods (LCOM) metrics were examined and compared using a sample Java code. As a result, it was observed that the LCOM5 metric gave the best result.

Description

Keywords

software quality, software quality metrics, cohesion, lack of cohesion, LCOM

Citation

Endorsement

Review

Supplemented By

Referenced By