• Search Research Projects
  • Search Researchers
  • How to Use
  1. Back to project page

2022 Fiscal Year Research-status Report

リファクタリングにより破壊されるテストスイート予測技術の開発:自動修正への挑戦

Research Project

Project/Area Number 21K17725
Research InstitutionNara Institute of Science and Technology

Principal Investigator

柏 祐太郎  奈良先端科学技術大学院大学, 先端科学技術研究科, 助教 (20886650)

Project Period (FY) 2021-04-01 – 2024-03-31
Keywordsテストスイート / リファクタリング / 自動修正
Outline of Annual Research Achievements

近年のソフトウェア開発では,短期間で品質の高いソフトウェアを開発することが求められている.ソフトウェア品質を向上させるためにリファクタリングが広く実施されているが,リファクタリングは多大な時間と労力を要することが多く,開発期間が短く限られている場合は敬遠される傾向にある.開発者にリファクタリングを躊躇させる心理的要因の一つが「リファクタリングによるテストスイートの破壊」である.本応募課題では,どのようなリファクタリングがテストスイートを破壊するかを分析し,リファクタリングによるテストスイートの影響範囲および必要修正箇所の特定技術を確立する.さらに,リファクタリング種別ごとにテストスイート修正パターンを分類し,テストスイートの自動修正を試みる.

本年度では,リファクタリングに伴って破壊されるテストケースや補修必要箇所を予測するモデルを構築した.予測モデルを構築するにあたって,プロダクションコードから様々なメトリクス(リファクタリングの種別,対象クラスの規模数,変更行数等)を取得した.その後,様々な予測アルゴリズム(ランダムフォレスト等)を試行しながら,最も精度の良いアルゴリズムとメトリクスを検討した.また,破壊されたテストを修復するために自動修正モデルを試作した.試作モデルの初期評価を纏め,ソフトウェア工学におけるトップカンファレンス(CORE A)のひとつであるSANERに投稿した結果,論文が採録された.

Current Status of Research Progress
Current Status of Research Progress

1: Research has progressed more than it was originally planned.

Reason

当初の予定であった,リファクタリングの影響箇所の分析や補修箇所の予測に加えて,自動修正モデルの試作まで実施できたため.

Strategy for Future Research Activity

当初の計画通り,テストの自動修正モデルをより多くのデータ(すなわち様々なシナリオ)を用いて評価する.また,国内外の研究会に積極的に参加し,多面的から意見を伺い,より精度の高いモデルの構築を目指す

Causes of Carryover

当初参加を予定していた国際会議論文の投稿を見送ったため,次年度に開催される会議に投稿・参加するため.

  • Research Products

    (8 results)

All 2023 2022 Other

All Int'l Joint Research (3 results) Journal Article (1 results) (of which Int'l Joint Research: 1 results,  Peer Reviewed: 1 results) Presentation (4 results) (of which Int'l Joint Research: 4 results)

  • [Int'l Joint Research] Concordia University(カナダ)

    • Country Name
      CANADA
    • Counterpart Institution
      Concordia University
  • [Int'l Joint Research] Universita della Svizzera italiana(スイス)

    • Country Name
      SWITZERLAND
    • Counterpart Institution
      Universita della Svizzera italiana
  • [Int'l Joint Research] Radboud University(オランダ)

    • Country Name
      NETHERLANDS
    • Counterpart Institution
      Radboud University
  • [Journal Article] An empirical study on self-admitted technical debt in modern code review2022

    • Author(s)
      Kashiwa Yutaro、Nishikawa Ryoma、Kamei Yasutaka、Kondo Masanari、Shihab Emad、Sato Ryosuke、Ubayashi Naoyasu
    • Journal Title

      Information and Software Technology

      Volume: 146 Pages: 106855~106855

    • DOI

      10.1016/j.infsof.2022.106855

    • Peer Reviewed / Int'l Joint Research
  • [Presentation] Empirical Investigation on the Performance of Domain Adaptation for T5 Code Completion2023

    • Author(s)
      Daisuke Fukumoto, Yutaro Kashiwa, Toshiki Hirao, Kenji Fujiwara, Hajimu Iida
    • Organizer
      30th IEEE International Conference on Software Analysis, Evolution and Reengineering (SANER)
    • Int'l Joint Research
  • [Presentation] Hey APR! Integrate Our Fault Localization Skill: Toward Better Automated Program Repair2022

    • Author(s)
      Kyosuke Yamate, Masanari Kondo, Yutaro Kashiwa, Yasutaka Kamei, Naoyasu Ubayashi
    • Organizer
      2022 IEEE 46th Annual Computers, Software, and Applications Conference (COMPSAC)
    • Int'l Joint Research
  • [Presentation] Hey APR! Integrate Our Fault Localization Skill: Toward Better Automated Program Repair2022

    • Author(s)
      Olivier Nourry, Yutaro Kashiwa, Bin Lin, Gabriele Bavota, Michele Lanza, Yasutaka Kamei
    • Organizer
      2022 IEEE International Conference on Software Maintenance and Evolution (ICSME)
    • Int'l Joint Research
  • [Presentation] Do visual issue reports help developers fix bugs?: a preliminary study of using videos and images to report issues on GitHub2022

    • Author(s)
      Hiroki Kuramoto, Masanari Kondo, Yutaro Kashiwa, Yuta Ishimoto, Kaze Shindo, Yasutaka Kamei, Naoyasu Ubayashi:
    • Organizer
      30th IEEE/ACM International Conference on Program Comprehension (ICPC)
    • Int'l Joint Research

URL: 

Published: 2023-12-25  

Information User Guide FAQ News Terms of Use Attribution of KAKENHI

Powered by NII kakenhi