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

Developing techniques for estimating the size of test suites broken by refactoring

Research Project

Project/Area Number 21K17725
Research Category

Grant-in-Aid for Early-Career Scientists

Allocation TypeMulti-year Fund
Review Section Basic Section 60050:Software-related
Research InstitutionNara Institute of Science and Technology (2022-2023)
Kyushu University (2021)

Principal Investigator

Yutaro Kashiwa  奈良先端科学技術大学院大学, 先端科学技術研究科, 助教 (20886650)

Project Period (FY) 2021-04-01 – 2024-03-31
Project Status Completed (Fiscal Year 2023)
Budget Amount *help
¥4,550,000 (Direct Cost: ¥3,500,000、Indirect Cost: ¥1,050,000)
Fiscal Year 2023: ¥1,430,000 (Direct Cost: ¥1,100,000、Indirect Cost: ¥330,000)
Fiscal Year 2022: ¥1,430,000 (Direct Cost: ¥1,100,000、Indirect Cost: ¥330,000)
Fiscal Year 2021: ¥1,690,000 (Direct Cost: ¥1,300,000、Indirect Cost: ¥390,000)
Keywordsテストスイート / リファクタリング / 自動修正 / テストコード自動修正
Outline of Research at the Start

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

Outline of Final Research Achievements

Refactoring operations are performed by many practitioners in order to improve software quality. However, developers sometimes hesitate to operate refactorings because refactorings often break the test suites. In this project, we analyzed what kinds of refactoring break test suites, and developed a technique for estimating the size of test suites broken by refactoring. We also implemented an automatic test-suite repairing tool and confirmed that it can repair tests broken by several types of refactoring.

Academic Significance and Societal Importance of the Research Achievements

リファクタリングはソフトウェア品質を向上させるために欠かせない重要な活動である.その一方,リファクタリングを実施することによって,テストスイートが破壊されることが知られている.本研究における学術的意義,テストを破壊するリファクタリングの種類と,その破壊の程度を明らかにしている点である.また,本研究課題で開発した破壊箇所の予測技術および破壊したテストスイートを修復技術は,リファクタリングを実施しやすい環境を実開発者に提供しており,社会的意義が大きいと言える.

Report

(4 results)
  • 2023 Annual Research Report   Final Research Report ( PDF )
  • 2022 Research-status Report
  • 2021 Research-status Report
  • Research Products

    (19 results)

All 2024 2023 2022 2021 Other

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

  • [Int'l Joint Research] Radboud University(オランダ)

    • Related Report
      2023 Annual Research Report
  • [Int'l Joint Research] Waterloo University/Concordia University(カナダ)

    • Related Report
      2023 Annual Research Report
  • [Int'l Joint Research] Luxembourg University(ルクセンブルク)

    • Related Report
      2023 Annual Research Report
  • [Int'l Joint Research] Kasetsart University(タイ)

    • Related Report
      2023 Annual Research Report
  • [Int'l Joint Research] Concordia University(カナダ)

    • Related Report
      2022 Research-status Report
  • [Int'l Joint Research] Universita della Svizzera italiana(スイス)

    • Related Report
      2022 Research-status Report
  • [Int'l Joint Research] Radboud University(オランダ)

    • Related Report
      2022 Research-status Report
  • [Int'l Joint Research] Universita della Svizzera italiana(スイス)

    • Related Report
      2021 Research-status Report
  • [Journal Article] Understanding the Characteristics and the Role of Visual Issue Reports2024

    • Author(s)
      Hiroki Kuramoto、Dong Wang、Masanari Kondo、Yutaro Kashiwa、Yasutaka Kame、Naoyasu Ubayashi
    • Journal Title

      Empirical Software Engineering

      Volume: -

    • Related Report
      2023 Annual Research Report
    • Peer Reviewed
  • [Journal Article] The Human Side of Fuzzing: Challenges Faced by Developers during Fuzzing Activities2023

    • Author(s)
      Nourry Olivier、Kashiwa Yutaro、Lin Bin、Bavota Gabriele、Lanza Michele、Kamei Yasutaka
    • Journal Title

      ACM Transactions on Software Engineering and Methodology

      Volume: 33 Issue: 1 Pages: 1-26

    • DOI

      10.1145/3611668

    • Related Report
      2023 Annual Research Report
    • Peer Reviewed / Open Access / Int'l Joint Research
  • [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

    • Related Report
      2022 Research-status Report
    • Peer Reviewed / Int'l Joint Research
  • [Presentation] A Pilot Study of Testing Infrastructure as Code for Cloud Systems2023

    • Author(s)
      Suwanachote Nabhan、Pornmaneerattanatri Soratouch、Kashiwa Yutaro、Ichikawa Kohei、Leelaprute Pattara、Rungsawang Arnon、Manaskasemsak Bundit、Iida Hajimu
    • Organizer
      The 30th Asia-Pacific Software Engineering Conference (APSEC)
    • Related Report
      2023 Annual Research Report
    • Int'l Joint Research
  • [Presentation] An Empirical Study on the Use of Snapshot Testing2023

    • Author(s)
      Fujita Shun、Kashiwa Yutaro、Lin Bin、Iida Hajimu
    • Organizer
      2023 IEEE International Conference on Software Maintenance and Evolution (ICSME)
    • Related Report
      2023 Annual Research Report
    • Int'l Joint Research
  • [Presentation] TraceJIT: Evaluating the Impact of Behavioral Code Change on Just-In-Time Defect Prediction2023

    • Author(s)
      Issei Morita, Yutaro Kashiwa, Masanari Kondo, Jeongju Sohn, Shane McIntosh, Yasutaka Kamei, Naoyasu Ubayashi
    • Organizer
      The 31th IEEE International Conference on Software Analysis, Evolution and Reengineering
    • Related Report
      2023 Annual Research Report
    • 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)
    • Related Report
      2022 Research-status Report
    • 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)
    • Related Report
      2022 Research-status Report
    • 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)
    • Related Report
      2022 Research-status Report
    • 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)
    • Related Report
      2022 Research-status Report
    • Int'l Joint Research
  • [Presentation] Does Refactoring Break Tests and to What Extent?2021

    • Author(s)
      Yutaro Kashiwa, Kazuki Shimizu, Bin Lin, Gabriele Bavota, Michele Lanza, Yasutaka Kamei, Naoyasu Ubayashi
    • Organizer
      IEEE International Conference on Software Maintenance and Evolution
    • Related Report
      2021 Research-status Report
    • Int'l Joint Research

URL: 

Published: 2021-04-28   Modified: 2025-01-30  

Information User Guide FAQ News Terms of Use Attribution of KAKENHI

Powered by NII kakenhi