Assessing and restructuring of classes based on cohesion

H. Chae, Y. Kwon
{"title":"Assessing and restructuring of classes based on cohesion","authors":"H. Chae, Y. Kwon","doi":"10.1109/APSEC.1996.566742","DOIUrl":null,"url":null,"abstract":"Classes are the fundamental concepts in the object-oriented paradigm. They are the basic units of object-oriented programs, and serve as the units of encapsulation, which promotes their modifiability and reusability. However, improper modeling in the design phase or uncontrolled changes during the maintenance phase can degrade the quality of classes, which leads to programs which are cumbersome to maintain or extend. The paper proposes a method for assessing the quality of classes and restructuring them. The authors define an abstraction as the most cohesive form of a class, and the cohesion indicates the extent to which a class approaches the abstraction. Assessment and restructuring are both based on the notion of class cohesion. Less cohesive classes can be transformed into a form of an abstraction by restructuring them.","PeriodicalId":407476,"journal":{"name":"Proceedings 1996 Asia-Pacific Software Engineering Conference","volume":"50 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"1996-12-04","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"9","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"Proceedings 1996 Asia-Pacific Software Engineering Conference","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1109/APSEC.1996.566742","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 9

Abstract

Classes are the fundamental concepts in the object-oriented paradigm. They are the basic units of object-oriented programs, and serve as the units of encapsulation, which promotes their modifiability and reusability. However, improper modeling in the design phase or uncontrolled changes during the maintenance phase can degrade the quality of classes, which leads to programs which are cumbersome to maintain or extend. The paper proposes a method for assessing the quality of classes and restructuring them. The authors define an abstraction as the most cohesive form of a class, and the cohesion indicates the extent to which a class approaches the abstraction. Assessment and restructuring are both based on the notion of class cohesion. Less cohesive classes can be transformed into a form of an abstraction by restructuring them.
基于内聚的类评估和重构
类是面向对象范式中的基本概念。它们是面向对象程序的基本单元,并作为封装单元,提高了它们的可修改性和可重用性。然而,在设计阶段不适当的建模或在维护阶段不受控制的更改会降低类的质量,从而导致程序难以维护或扩展。本文提出了一种评估课堂质量和重构课堂的方法。作者将抽象定义为类中最具内聚性的形式,内聚性表明类接近抽象的程度。评估和重组都是基于类内聚的概念。内聚性较差的类可以通过重组它们来转换为抽象的形式。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约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学术官方微信