软件功能演进过程中关键内部质量属性感知相关性研究
On the perceived relevance of critical internal quality attributes when evolving software features
AI总结:
本研究通过两项工业在线焦点小组案例,调查开发者对六种类级关键内部质量属性在软件功能演进时的相关性感知,明确了各属性的相关程度、原因及属性间关联,填补了相关认知空白。
摘要:
在软件功能演进过程中开展的多项重构工作,旨在提升内聚性、复杂度等内部质量属性。实际上,当内部属性的测量值出现异常时,它们就会成为关键属性。然而,目前关于开发者在功能演进过程中如何感知关键内部属性的相关性的认知仍较为匮乏。本定性研究调查了开发者在功能演进时对关键内部属性相关性的感知,聚焦六个类级关键属性:低内聚、高复杂度、高耦合、大继承深度、大继承广度和大规模。我们基于在线焦点小组会议开展了两项工业案例研究,开发者们讨论了在添加或增强功能时,关键属性的相关性程度及背后原因。我们分别从个体层面和相对层面评估了关键属性的相关性、每个关键属性具备相关性的原因,以及关键属性之间的相互关系。研究发现,低内聚和高复杂度被认为相关性极高,因为它们常会导致功能演进困难,同时还会增加故障追踪和功能添加的难度。其余关键属性在复用代码或采用设计模式时,被认为相关性较低。感知到的属性间相互关系的一个典型例子是高复杂度会导致高耦合。
英文摘要:
Several refactorings performed while evolving software features aim to improve internal quality attributes like cohesion and complexity. Indeed, internal attributes can become critical if their measurements assume anomalous values. Yet, current knowledge is scarce on how developers perceive the relevance of critical internal attributes while evolving features. This qualitative study investigates the developers' perception of the relevance of critical internal attributes when evolving features. We target six class-level critical attributes: low cohesion, high complexity, high coupling, large hierarchy depth, large hierarchy breadth, and large size. We performed two industrial case studies based on online focus group sessions. Developers discussed how much (and why) critical attributes are relevant when adding or enhancing features. We assessed the relevance of critical attributes individually and relatively, the reasons behind the relevance of each critical attribute, and the interrelations of critical attributes. Low cohesion and high complexity were perceived as very relevant because they often make evolving features hard while tracking failures and adding features. The other critical attributes were perceived as less relevant when reusing code or adopting design patterns. An example of perceived interrelation is high complexity leading to high coupling.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。