Technical Meeting
プレファクタリングのための不吉な臭いの検出結果の優先順位付け
Toward Prioritizing Code Smell Detection Results for Prefactoring
電子情報通信学会技術研究報告, vol. 115, no. 153, pp. 33–38, 札幌市教育文化会館, 北海道, July 2015.
平成27年度電子情報通信学会ソフトウェアサイエンス研究会研究奨励賞 IEICE/SS Research Award
Abstract
プレファクタリングの適用箇所を特定するため,ソースコード中の不吉な臭いの検出器が提案されている.しかし,既存の不吉な臭い検出器は,開発者の現在の開発コンテキストを考慮せず,関連する臭いと関連しない臭いを混在させて出力するため,特定のコンテキストに従っている開発者には適さない.その結果,開発者は適する臭いを特定するための時間を必要とするという課題がある.本稿では,不吉な臭いを開発者の持つコンテキストに従い優先順位付けする手法を提案する.我々は,イシュー管理システムに登録された,次のリリースまでに解決すべきイシューの一覧を開発のコンテキストと見なす.提案手法では,イシューの説明文に対して機能捜索手法を適用して得た結果のモジュール一覧を用いて,コンテキストに関連付く臭いを特定する.コンテキストに関連付く度合いによる優先順位に基づき,不吉な臭い検出器の出力を並べ替えて出力する.本稿では,オープンソースプロジェクトを用いて行った提案手法の予備評価についても述べる.
Abstract (English)
In order to find the opportunities for applying prefactoring, several techniques for detecting bad smells in source code have been proposed. However, existing smell detectors are often not suitable for developers who have a specific context because these detectors do not consider their current context and output the results that are mixed with both smells that are and are not related to such context. Consequently, the developers have to spend a considerable amount of time identifying relevant smells. In this paper, we propose a technique to prioritize bad code smells by using developers' context, i.e., a list of issues in an issue tracking system that needs to be implemented before next release. We applied feature location technique to the list of issues and used the results to specify which smells are associated with the context. Thus, our approach can provide the developers with a list of prioritized bad code smells that is related to their current context. Several preliminary evaluations using open source project indicated the effectiveness of our technique.
BibTeX
@article{natthawute-sigss201507,
author = {セーリム ナッタウット and 林 晋平 and 佐伯 元司},
title = {プレファクタリングのための不吉な臭いの検出結果の優先順位付け},
journal = {電子情報通信学会技術研究報告},
volume = 115,
number = 153,
pages = {33--38},
year = 2015,
}
- Type
- Technical Meeting
- Location
- 札幌市教育文化会館, 北海道
- Presented
- July 22, 2015
- Volume / Pages
- vol. 115, no. 153, pp. 33–38