首页> 外文会议> >Object-oriented cohesion as a surrogate of software comprehension: an empirical study
【24h】

Object-oriented cohesion as a surrogate of software comprehension: an empirical study

机译:面向对象的凝聚力作为软件理解的代名词:一项实证研究

获取原文

摘要

The concept of software cohesion in both the procedural and object-oriented paradigm is well known and documented. What is not so well known or documented is the perception of what empirically constitutes a cohesive 'unit' by software engineers. In this paper, we describe an empirical investigation using object-oriented (OO) classes as a basis. Twenty-four subjects (drawn from IT experienced and IT inexperienced groups) were asked to rate ten classes sampled from two industrial systems in terms of their overall cohesiveness; a class environment was used to carry out the study. Four key results were observed. Firstly, class size (when expressed in terms of number of methods) did not tend to influence the perception of cohesion by any subjects. Secondly, well-commented classes were rated most highly amongst both IT experienced and inexperienced subjects. Thirdly, the empirical study suggests that cohesion comprises a combination of various class factors including low coupling, small numbers of attributes and well-commented methods, rather than any single, individual class feature per se. Finally, the research supports the view that cohesion is a subjective concept reflecting a cognitive combination of class features; as such it is a surrogate for class comprehension.
机译:在过程和面向对象的范式中,软件内聚的概念是众所周知的,并记录在案。尚不为人所知或记载的是软件工程师对凭经验构成凝聚力“单元”的看法。在本文中,我们描述了以面向对象(OO)类为基础的实证研究。要求二十四名受试者(来自有IT经验和没有IT经验的小组)对两个行业系统中的十个类别的整体凝聚力进行评分;使用课堂环境进行研究。观察到四个关键结果。首先,班级人数(以方法数量表示)不会影响任何受试者的凝聚力感知。其次,在IT经验丰富和经验不足的学科中,评分最高的课程获得最高评价。第三,实证研究表明,凝聚力包括各种分类因素的组合,包括低耦合,少量属性和注释良好的方法,而不是任何单个单独的分类特征本身。最后,研究支持这样的观点,即凝聚力是一个主观的概念,反映了阶级特征的认知组合。因此,它是课堂理解的替代品。

著录项

相似文献

  • 外文文献
  • 中文文献
  • 专利
获取原文

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号