论文标题

使用重构和逆向工程在软件产品线中解决代码气味

Resolving code smells in software product line using refactoring and reverse engineering

论文作者

Ouali, Sami

论文摘要

软件产品线SPL被认为是软件开发中重用的成功方法。其目的是降低生产成本。这种方法允许产品在特定特征和限制方面有所不同,以覆盖不同的市场。软件产品线工程是产品线中的生产过程。它利用软件产品之间的共同点,也可以保留改变这些产品之间功能的能力。代码气味被认为是源代码中的问题,可能会影响SPL的衍生产品的质量。由于重复使用,许多来自SPL的衍生产品中可能存在相同的问题。解决此问题的可能解决方案可能是重构,可以改善源代码的内部结构而不改变外部行为。本文提出了一种从源代码构建SPL的方法。它的目的是使用重构源代码在获得的SPL中减少代码气味。该方法的另一部分是基于基于反向工程的SPL设计所获得的其他部分。

Software Product Lines SPL are recognized as a successful approach to reuse in software development.Its purpose is to reduce production costs. This approach allows products to be different with respect of particular characteristics and constraints in order to cover different markets. Software Product Line engineering is the production process in product lines.It exploits the commonalities between software products, but also to preserve the ability to vary the functionality between these products.Sometimes, an inappropriate implementation of SPL during this process can conduct to code smells or code anomalies. Code smells are considered as problems in source code which can have an impact on the quality of the derived products of an SPL. The same problem can be present in many derived products from an SPL due to reuse. A possible solution to this problem can be the refactoring which can improve the internal structure of source code without altering external behavior.This paper proposes an approach for building SPL from source code.Its purpose is to reduce code smells in the obtained SPL using refactoring source code.Another part of the approach consists on obtained SPL's design based on reverse engineering.

扫码加入交流群

加入微信交流群

微信交流群二维码

扫码加入学术交流群,获取更多资源