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

Building an environment for automated test code generation using a similar source code search technique

Research Project

Project/Area Number 19K20240
Research Category

Grant-in-Aid for Early-Career Scientists

Allocation TypeMulti-year Fund
Review Section Basic Section 60050:Software-related
Research InstitutionKyoto Institute of Technology

Principal Investigator

Choi Eunjong  京都工芸繊維大学, 情報工学・人間科学系, 助教 (90755943)

Project Period (FY) 2019-04-01 – 2023-03-31
Project Status Completed (Fiscal Year 2022)
Budget Amount *help
¥2,730,000 (Direct Cost: ¥2,100,000、Indirect Cost: ¥630,000)
Fiscal Year 2020: ¥1,300,000 (Direct Cost: ¥1,000,000、Indirect Cost: ¥300,000)
Fiscal Year 2019: ¥1,430,000 (Direct Cost: ¥1,100,000、Indirect Cost: ¥330,000)
Keywords類似ソースコード / テストコード自動生成 / ソフトウェア品質 / ソースコード再利用 / ソフトウェア工学 / コード検索 / テストコード生成
Outline of Research at the Start

ソフトウェアのリリースにあたって,ソフトウェアが仕様書通り実装されているかを確認する,あるいは不具合を発見および除外をするためにソフトウェアテストを行うことは不可欠である.しかし,ソフトウェアテストを行うためには,仕様書およびテスト対象のソースコードを正しく理解する必要があり,開発者がテストコードを手作業で記述し作成することはソフトウェア開発の全体の時間およびコストの増加を招く可能性がある.この問題を解決するため,本研究では類似ソースコード検索を用いた単体テスト用のソースコードの自動生成を行う環境を提案し,有効性を評価する.

Outline of Final Research Achievements

This study presents a method and condition for automatically transplanting any given test method while preserving its executability . Furthermore, this study investigates open-source software projects developed in Java. It reveals several relevant findings, including 1,862 projects that can serve as sources for reusing test code, and the majority of test code in the investigated projects have at most two dependencies on the code under test. Based on these findings, this study developed an environment for automated test code generation using a similar source code search technique. Finally, the effectiveness of this environment was evaluated, and its results show that the test code generated using this environment exhibited a smaller number of test failures and higher overall quality.

Academic Significance and Societal Importance of the Research Achievements

本環境を用いることで,開発者はテストコードを再利用し,テストコードを生成することで,開発者が理解しやすいかつ高いカバレッジを持つテストコードを生成できると期待される.また,本緩急を使用することで開発者がより迅速にテストを実施できる.最後に,テストコードの再利用と自動生成により,ソフトウェアの品質向上が期待できる.

Report

(5 results)
  • 2022 Annual Research Report   Final Research Report ( PDF )
  • 2021 Research-status Report
  • 2020 Research-status Report
  • 2019 Research-status Report
  • Research Products

    (28 results)

All 2023 2022 2021 2020 2019

All Journal Article (11 results) (of which Peer Reviewed: 11 results,  Open Access: 9 results) Presentation (16 results) (of which Int'l Joint Research: 6 results,  Invited: 2 results) Book (1 results)

  • [Journal Article] Comparing Code Similarity Using Information Retrieval Techniques and Deep Learning2023

    • Author(s)
      横井一輝, 崔恩瀞, 吉田則裕, 松下誠, 井上克郎
    • Journal Title

      電子情報通信学会論文誌D 情報・システム

      Volume: J106-D Issue: 4 Pages: 231-243

    • DOI

      10.14923/transinfj.2022PDP0009

    • ISSN
      1880-4535, 1881-0225
    • Year and Date
      2023-04-01
    • Related Report
      2022 Annual Research Report
    • Peer Reviewed / Open Access
  • [Journal Article] Commit-Based Class-Level Defect Prediction for Python Projects2023

    • Author(s)
      Khine Yin Mon, Masanari Kondo, Eunjong Choi, Osamu Mizuno
    • Journal Title

      IEICE Transactions on Information and Systems

      Volume: E106.D Issue: 2 Pages: 157-165

    • DOI

      10.1587/transinf.2022MPP0003

    • ISSN
      0916-8532, 1745-1361
    • Year and Date
      2023-02-01
    • Related Report
      2022 Annual Research Report
    • Peer Reviewed / Open Access
  • [Journal Article] A Survey of Approaches for Code Clone Search2022

    • Author(s)
      崔 恩瀞、藤原 裕士、吉田 則裕、水野 修
    • Journal Title

      Computer Software

      Volume: 39 Issue: 3 Pages: 3_47-3_59

    • DOI

      10.11309/jssst.39.3_47

    • ISSN
      0289-6540
    • Year and Date
      2022-07-22
    • Related Report
      2022 Annual Research Report
    • Peer Reviewed / Open Access
  • [Journal Article] Determining Cross-Polytope Locality-Sensitive Hashing Parameters for Code Clone Detection2021

    • Author(s)
      徳井 翔梧、吉田 則裕、崔 恩瀞、井上 克郎
    • Journal Title

      Computer Software

      Volume: 38 Issue: 4 Pages: 4_60-4_82

    • DOI

      10.11309/jssst.38.4_60

    • NAID

      130008132031

    • ISSN
      0289-6540
    • Year and Date
      2021-10-22
    • Related Report
      2021 Research-status Report
    • Peer Reviewed / Open Access
  • [Journal Article] Comparing Deep Learning-based Approaches for Source Code Classification2021

    • Author(s)
      藤原 裕士, 崔 恩瀞, 吉田 則裕, 井上 克郎
    • Journal Title

      電子情報通信学会論文誌D 情報・システム

      Volume: J104-D Issue: 8 Pages: 622-635

    • DOI

      10.14923/transinfj.2020JDP7068

    • ISSN
      1880-4535, 1881-0225
    • Year and Date
      2021-08-01
    • Related Report
      2021 Research-status Report
    • Peer Reviewed / Open Access
  • [Journal Article] An Investigation of Transplantable Test Methods toward Automatic Java Test Codes Generation by Reusing Existing Test Codes2021

    • Author(s)
      西浦 生成、水野 修、崔 恩瀞
    • Journal Title

      情報処理学会論文誌

      Volume: 62 Issue: 4 Pages: 1019-1028

    • DOI

      10.20729/00210552

    • NAID

      170000184852

    • Year and Date
      2021-04-15
    • Related Report
      2021 Research-status Report
    • Peer Reviewed
  • [Journal Article] Faulty Interaction Localization Approach for Non-deterministic Failure-inducing Combination Depends on Execution Order2021

    • Author(s)
      西浦 生成、渡辺 大輝、水野 修、崔 恩瀞
    • Journal Title

      情報処理学会論文誌

      Volume: 62 Issue: 4 Pages: 1008-1018

    • DOI

      10.20729/00210551

    • NAID

      170000184851

    • Year and Date
      2021-04-15
    • Related Report
      2021 Research-status Report
    • Peer Reviewed
  • [Journal Article] A Dynamic Improvement of a Training Dataset for Source Code Classification Using Deep Learning2021

    • Author(s)
      藤原 裕士, 崔 恩瀞, 吉田 則裕, 井上 克郎
    • Journal Title

      電子情報通信学会論文誌D 情報・システム

      Volume: J104-D Issue: 4 Pages: 275-284

    • DOI

      10.14923/transinfj.2020PDP0005

    • ISSN
      1880-4535, 1881-0225
    • Year and Date
      2021-04-01
    • Related Report
      2021 Research-status Report
    • Peer Reviewed / Open Access
  • [Journal Article] CCFinderSW: Clone Detection Tool with Flexible Multilingual Tokenization2020

    • Author(s)
      瀬村 雄一、吉田 則裕、崔 恩瀞、井上 克郎
    • Journal Title

      電子情報通信学会論文誌D 情報・システム

      Volume: J103-D Issue: 4 Pages: 215-227

    • DOI

      10.14923/transinfj.2019PDP0025

    • ISSN
      1880-4535, 1881-0225
    • Year and Date
      2020-04-01
    • Related Report
      2020 Research-status Report
    • Peer Reviewed / Open Access
  • [Journal Article] Identifying and predicting key features to support bug reporting2019

    • Author(s)
      Karim Md. Rejaul、Ihara Akinori、Choi Eunjong、Iida Hajimu
    • Journal Title

      Journal of Software: Evolution and Process

      Volume: 31 Issue: 12 Pages: 1-26

    • DOI

      10.1002/smr.2184

    • Related Report
      2019 Research-status Report
    • Peer Reviewed / Open Access
  • [Journal Article] コードクローンのリファクタリング可能性に基づいた削減可能ソースコード量の分析2019

    • Author(s)
      石津 卓也, 吉田 則裕, 崔 恩瀞, 井上 克郎
    • Journal Title

      情報処理学会論文誌

      Volume: 60 Pages: 1051-1062

    • NAID

      170000150281

    • Related Report
      2019 Research-status Report
    • Peer Reviewed / Open Access
  • [Presentation] MSCCD: Grammar Pluggable Clone Detection Based on ANTLR Parser Generation2023

    • Author(s)
      Wenqing Zhu
    • Organizer
      30th IEEE/ACM International Conference on Program Comprehension (ICPC 2022)
    • Related Report
      2022 Annual Research Report
    • Int'l Joint Research
  • [Presentation] Challenges and Future Research Direction for Microtask Programming in Industry2023

    • Author(s)
      Masanari Kondo
    • Organizer
      19th International Conference on Mining Software Repositories
    • Related Report
      2022 Annual Research Report
    • Int'l Joint Research
  • [Presentation] 不具合予測適用に向けた構成管理ツールを用いた開発履歴に対する調査2023

    • Author(s)
      頭川 剛幸
    • Organizer
      電子情報通信学会技術報告 (ソフトウェアサイエンス研究会)
    • Related Report
      2022 Annual Research Report
  • [Presentation] 深層学習を用いたコードクローン検出器のベンチマーク間精度調査2022

    • Author(s)
      福家 範浩
    • Organizer
      第210回ソフトウェア工学研究発表会
    • Related Report
      2021 Research-status Report
  • [Presentation] リモートワークにおけるソフトウェア開発者間のコミュニケーション方法の調査2021

    • Author(s)
      中森 陸斗
    • Organizer
      日本ソフトウェア科学会 第28回ソフトウェア工学の基礎ワークショップ (FOSE 2021)
    • Related Report
      2021 Research-status Report
  • [Presentation] リモートワークにおけるソフトウェア開発者間のコミュニケーション方法の調査2020

    • Author(s)
      近藤 将成
    • Organizer
      ソフトウェアエンジニアリングシンポジウム2020
    • Related Report
      2020 Research-status Report
  • [Presentation] 深層学習を用いたコードクローン検出器の汎化性能に関する調査2020

    • Author(s)
      福家 範浩
    • Organizer
      情第207回ソフトウェア工学研究発表会
    • Related Report
      2020 Research-status Report
  • [Presentation] 類似コード検出ツールを用いたテストコード再利用に向けた調査2020

    • Author(s)
      倉地亮介、崔 恩瀞、飯田元
    • Organizer
      第26回 ソフトウェア工学の基礎ワークショップ
    • Related Report
      2019 Research-status Report
    • Int'l Joint Research
  • [Presentation] Clone Notifier: Developing and Improving the System to Notify Changes of Code Clones2020

    • Author(s)
      Shogo Tokui, Norihiro Yoshida, Eunjong Choi, Katsuro Inoue
    • Organizer
      he 27th IEEE International Conference on Software Analysis, Evolution and Reengineering
    • Related Report
      2019 Research-status Report
    • Int'l Joint Research
  • [Presentation] CCEvovis: A Clone Evolution Visualization System for Software Maintenance2020

    • Author(s)
      Hirotaka Honda, Shogo Tokui, Kazuki Yokoi, Eunjong Choi, Norihiro Yoshida, Katsuro Inoue
    • Organizer
      the IEEE/ACM 27th International Conference on Program Comprehension (ICPC 2019)
    • Related Report
      2019 Research-status Report
    • Invited
  • [Presentation] プログラム解析技術を用いたソフトウェア開発支援2020

    • Author(s)
      崔 恩瀞
    • Organizer
      令和元年 電気関係学会学会関西連合大会
    • Related Report
      2019 Research-status Report
    • Invited
  • [Presentation] Proactive Clone Recommendation System for Extract Method Refactoring2019

    • Author(s)
      Norihiro Yoshida, Seiya Numata, Eunjong Choi, Katsuro Inoue
    • Organizer
      3rd IEEE/ACM International Workshop on Refactoring (IWoR 2019)
    • Related Report
      2019 Research-status Report
    • Int'l Joint Research
  • [Presentation] Identifying and predicting key features to support bug reporting2019

    • Author(s)
      Md. Rejaul Karim, Akinori Ihara, Eunjong Choi, Hajimu Iida
    • Organizer
      35th IEEE International Conference on Software Maintenance and Evolution (ICSME)
    • Related Report
      2019 Research-status Report
    • Int'l Joint Research
  • [Presentation] プロジェクト間クローンに対する変更傾向の調査2019

    • Author(s)
      石津 卓也, 吉田 則裕, 崔 恩瀞, 井上 克郎
    • Organizer
      情報処理学会研究報告
    • Related Report
      2019 Research-status Report
  • [Presentation] OSSプロジェクトにおけるCIツールの変更の影響調査に向けて2019

    • Author(s)
      鐘ヶ江由佳、崔 恩瀞、飯田元
    • Organizer
      第26回 ソフトウェア工学の基礎ワークショップ
    • Related Report
      2019 Research-status Report
  • [Presentation] プロジェクト間クローンに対する変更傾向の調査2019

    • Author(s)
      石津 卓也, 吉田 則裕, 崔 恩瀞, 井上 克郎
    • Organizer
      ソフトウェアエンジニアリングシンポジウム2019
    • Related Report
      2019 Research-status Report
  • [Book] Code Clone Analysis: Research, Tools, and Practices2021

    • Author(s)
      Katsuro Inoue, Chanchal K. Roy 他
    • Total Pages
      246
    • Publisher
      Springer
    • ISBN
      9789811619267
    • Related Report
      2021 Research-status Report

URL: 

Published: 2019-04-18   Modified: 2024-01-30  

Information User Guide FAQ News Terms of Use Attribution of KAKENHI

Powered by NII kakenhi