| Item type |
SIG Technical Reports(1) |
| 公開日 |
2024-07-18 |
| タイトル |
|
|
タイトル |
テストコード固有のリファクタリングが及ぼす影響調査にむけて |
| タイトル |
|
|
言語 |
en |
|
タイトル |
Toward Investigating the Impact of Test-Specific Refactoring |
| 言語 |
|
|
言語 |
jpn |
| 資源タイプ |
|
|
資源タイプ識別子 |
http://purl.org/coar/resource_type/c_18gh |
|
資源タイプ |
technical report |
| 著者所属 |
|
|
|
奈良先端科学技術大学院大学 |
| 著者所属 |
|
|
|
奈良先端科学技術大学院大学 |
| 著者所属 |
|
|
|
奈良先端科学技術大学院大学 |
| 著者所属 |
|
|
|
奈良女子大学 |
| 著者所属 |
|
|
|
奈良先端科学技術大学院大学 |
| 著者所属(英) |
|
|
|
en |
|
|
Nara Institute of Science and Technology |
| 著者所属(英) |
|
|
|
en |
|
|
Nara Institute of Science and Technology |
| 著者所属(英) |
|
|
|
en |
|
|
Nara Institute of Science and Technology |
| 著者所属(英) |
|
|
|
en |
|
|
Nara Women’s University |
| 著者所属(英) |
|
|
|
en |
|
|
Nara Institute of Science and Technology |
| 著者名 |
堀川, 康生
馬渕, 航
柏, 祐太郎
藤原, 賢二
飯田, 元
|
| 著者名(英) |
Kosei, Horikawa
Wataru, Mabuchi
Yutaro, Kashiwa
Kenji, Fujiwara
Hajimu, Iida
|
| 論文抄録 |
|
|
内容記述タイプ |
Other |
|
内容記述 |
リファクタリングは,内部構造の単純化や可読性の向上を目的として,外部から見た振る舞いを変更せずにプログラムを修正することを指す.その対象はプロダクションコードに留まらず,テストコードに対しても行われる.しかし,テストコードに対するリファクタリングは体系化されておらず,存在するリファクタリングのパターンやその効果が明らかになっていない.そこで,本研究では目視調査を通して,テストコード固有のリファクタリングパターンの特定・分類を行う.また,検出したテスト固有リファクタリングがテストコードにおける潜在的な問題(テストスメル)の解決にどの程度効果を有するかを調査する.調査結果より,100 件中 49 件のコミットで 29 種類のテスト固有リファクタリングが確認できた.また,テスト固有リファクタリング前後のテストスメルを分析した結果,Verification Method では Magic Number Test や Exception Handling を増加させていることが明らかとなった.また,Remove Overzealous Test では,Assertion Roulette を削減していることを確認した. |
| 論文抄録(英) |
|
|
内容記述タイプ |
Other |
|
内容記述 |
Refactoring refers to modifying a program without changing its external behavior to simplify its internal structure or improve its performance. Refactoring is performed not only on production code but also on test code. However, refactoring for test code has not been thoroughly studied, and the test refactoring patterns and their effects are yet to be revealed. In this study, we aim at identifying and classifying refactoring patterns specific to test code through a manual inspection. Additionally, we investigate how each identified test-specific-refactoring addresses potential issues in test code, known as test smells. Our empirical results discovered 29 distinct test-specific refactoring patterns across 48 out of 100 commits. We demonstrated that the Verification Method refactoring increased occurrences of Magic Number Test and Exception Handling. In contrast, the Remove Overzealous Test refactoring was observed to reduce instances of Assertion Roulette. |
| 書誌レコードID |
|
|
収録物識別子タイプ |
NCID |
|
収録物識別子 |
AN10112981 |
| 書誌情報 |
研究報告ソフトウェア工学(SE)
巻 2024-SE-217,
号 17,
p. 1-6,
発行日 2024-07-18
|
| ISSN |
|
|
収録物識別子タイプ |
ISSN |
|
収録物識別子 |
2188-8825 |
| Notice |
|
|
|
SIG Technical Reports are nonrefereed and hence may later appear in any journals, conferences, symposia, etc. |
| 出版者 |
|
|
言語 |
ja |
|
出版者 |
情報処理学会 |