Supporting Prefactoring Using Feature Location Results

Bibliographic Information

Other Title
  • 機能捜索結果を利用したプレファクタリング支援(リファクタリング)

Search this article

Description

In order to find the opportunities for applying refactoring, several techniques for detecting bad smells in source code have been proposed. However, existing smell detectors are not suitable for developers who are trying to implement a specific feature because the detectors detect too many smells from the whole source code. In this paper, we propose a technique to detect bad smells specific to the focused feature for supporting prefactoring to improve the extendibility of the program before implementing the feature. In order to estimate the effect of the feature introduction before implementing it, dummy code imitating the deterioration of the design quality is inserted to the modules obtained using the result of a feature location technique. Comparing the detected smells in source code before and after inserting dummy code, we can specify which smells are strongly related to the target feature. Several preliminary evaluations indicated the effectiveness of our technique.

Journal

  • Technical report of IEICE. KBSE

    Technical report of IEICE. KBSE 114 (128), 109-114, 2014-07-02

    The Institute of Electronics, Information and Communication Engineers

Details 詳細情報について

  • CRID
    1574231877642011392
  • NII Article ID
    110009947692
  • NII Book ID
    AN10386841
  • Text Lang
    ja
  • Data Source
    • CiNii Articles

Report a problem

Back to top