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

Elif Nur Haner Kirğil, Tülin Erçelebİ Ayyildiz
{"title":"Analysis of Lack of Cohesion in Methods (LCOM): A Case Study","authors":"Elif Nur Haner Kirğil, Tülin Erçelebİ Ayyildiz","doi":"10.1109/iisec54230.2021.9672419","DOIUrl":null,"url":null,"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.","PeriodicalId":344273,"journal":{"name":"2021 2nd International Informatics and Software Engineering Conference (IISEC)","volume":"80 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"2021-12-16","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"2021 2nd International Informatics and Software Engineering Conference (IISEC)","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1109/iisec54230.2021.9672419","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 0

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.
方法衔接缺失分析——以英语为例
随着对软件需求的增加,软件的可维护性成为一个重要的问题,对源代码进行定性研究的需求也随之产生。由于这个原因,我们使用软件质量度量来度量软件质量。此外,对于面向对象的软件开发项目,内聚是一个重要的因素。内聚的主要目的是提供每个类应该服务于单一目的的规则。每个类都应该有一个单独的职责。在本研究中,使用示例Java代码检查并比较了方法中缺乏内聚(LCOM)度量的类型。因此,观察到LCOM5度量给出了最好的结果。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约1分钟内获得全文 求助全文
来源期刊
自引率
0.00%
发文量
0
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
确定
请完成安全验证×
copy
已复制链接
快去分享给好友吧!
我知道了
右上角分享
点击右上角分享
0
联系我们:info@booksci.cn Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。 Copyright © 2023 布克学术 All rights reserved.
京ICP备2023020795号-1
ghs 京公网安备 11010802042870号
Book学术文献互助
Book学术文献互助群
群 号:604180095
Book学术官方微信