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

2022 Fiscal Year Annual Research Report

機械がバグを修正する時代―擬似オラクル生成・適用と自動バグ修正技術の深化

Research Project

Project/Area Number 21H04877
Research InstitutionKyushu University

Principal Investigator

亀井 靖高  九州大学, システム情報科学研究院, 准教授 (10610222)

Co-Investigator(Kenkyū-buntansha) 馬 雷  九州大学, システム情報科学研究院, 准教授 (70842061)
肥後 芳樹  大阪大学, 大学院情報科学研究科, 教授 (70452414)
松本 真佑  大阪大学, 大学院情報科学研究科, 助教 (90583948)
林 晋平  東京工業大学, 情報理工学院, 准教授 (40541975)
Project Period (FY) 2021-04-05 – 2025-03-31
Keywords自動プログラム修正 / テストスイート / 自動生成 / 開発コンテキスト
Outline of Annual Research Achievements

2022年度については,大きく3つのことに取り組んだ.
A. 擬似オラクルの生成方法.自動テストケース生成によって生成されたテストスイートが有用であれば,擬似オラクルの一部として用いることができる.自動プログラム修正に自動テストケース生成を用いる際に,どのクラスを入力として与えるべきかを調査した.失敗テストケースの実行経路に含まれるクラスを考慮し自動生成したテストスイートを自動プログラム修正に用いることで,パッチの生成数は減少するが,正しい修正は増加する場合があることがわかった.また,自動テストケース生成を行う際に,どのようなプログラムの構造が生成されるテストケースの品質に影響を与えるかを分析した.
B. 欠陥限局の高度化にも2021年度より引き続き取り組んだ.例えば,(a) テストの自動改善を視野に入れたテストコード側に含まれる動的スメルの検出技術の確立,(b)情報検索ベースによる欠陥限局の分析,(c)欠陥限局における精度低下の要因調査,などがあげられる.
C. 自動修正技術の高度化にも取り組んだ.例えば,自動修正や欠陥限局の情報源には過去の変更履歴を用いるが,その履歴の中に含まれるリファクタリングの変更履歴がノイズとなりえる.そのため,ノイズを除去するためにリファクタリング検出手法の分析を行った.それ以外にも, (a) ディープニューラルネットワーク(DNN)アーキテクチャの脆弱ブロックを探索し,AIソフトウェアを修正する技術や, (b) 未知の破損を含む可能性のある,収集され誤分類されたいくつかのサンプルを用いて,展開されたDNNの頑健性を強化する技術の開発を行った.

Current Status of Research Progress
Current Status of Research Progress

2: Research has progressed on the whole more than it was originally planned.

Reason

昨年度構築した分散実行環境を活用し,擬似オラクルの自動生成,欠陥限局の高度化,及び,自動修正技術の高度化に関する効率よく研究を進めることができた.また,それぞれの研究成果は研究会や国際会議において発表できており,さらには一部の成果は,論文誌としても採録されている.そのため,研究の進捗として順調に進展していると考える.

Strategy for Future Research Activity

現在までの進捗状況は,おおむね順調に進展している.擬似オラクルの生成,及び,コンテキストの体系化を深堀する予定である.また,大規模言語モデルの急速な技術進化が報告されている.擬似オラクルの生成,欠陥限局,及び,自動修正の部分への適用を検討する.今年度でも行ったように,今後も国内外の研究会に積極的に参加し(オンライン開催を含む),多面的に意見を取り入れることで問題の早期解決を目指す.

  • Research Products

    (58 results)

All 2023 2022 Other

All Journal Article (26 results) (of which Int'l Joint Research: 3 results,  Peer Reviewed: 26 results,  Open Access: 22 results) Presentation (31 results) (of which Int'l Joint Research: 5 results) Remarks (1 results)

  • [Journal Article] Towards Privacy Preserving Cross Project Defect Prediction with Federated Learning2023

    • Author(s)
      Hiroki Yamamoto, Dong Wang, Gopi Rajbahadur, Masanari Kondo, Yasutaka Kamei, and Naoyasu Ubayashi
    • Journal Title

      Proceedings of International Conference on Software Analysis, Evolution, and Reengineering

      Volume: 1 Pages: 1--12

    • Peer Reviewed / Open Access / Int'l Joint Research
  • [Journal Article] PAFL: Probabilistic Automaton-based Fault Localization for Recurrent Neural Networks2023

    • Author(s)
      Ishimoto Yuta、Kondo Masanari、Ubayashi Naoyasu、Kamei Yasutaka
    • Journal Title

      Information and Software Technology

      Volume: 155 Pages: 107117~107117

    • DOI

      10.1016/j.infsof.2022.107117

    • Peer Reviewed / Open Access
  • [Journal Article] 実行経路を考慮した自動テストケース生成が自動プログラム修正に与える影響の分析2023

    • Author(s)
      松田 雄河、山手 響介、近藤 将成、柏 祐太郎、亀井 靖高、鵜林 尚靖
    • Journal Title

      コンピュータ ソフトウェア

      Volume: 40 Pages: 1_45~1_56

    • DOI

      10.11309/jssst.40.1_45

    • Peer Reviewed / Open Access
  • [Journal Article] Large-Scale Evaluation of Method-Level Bug Localization with FinerBench4BL2023

    • Author(s)
      Shizuka Tsumita, Shinpei Hayashi, Sousuke Amasaki
    • Journal Title

      Proceedings of the 30th IEEE International Conference on Software Analysis, Evolution and Reengineering

      Volume: 1 Pages: 1--10

    • Peer Reviewed / Open Access
  • [Journal Article] ArchRepair: Block-Level Architecture-Oriented Repairing for Deep Neural Networks2023

    • Author(s)
      Hua Qi, Zhijie Wang, Qing Guo, Jianlang Chen, Felix Juefei-Xu, Lei Ma, Jianjun Zhao
    • Journal Title

      ACM Transactions on Software Engineering and Methodology 2023 (TOSEM)

      Volume: 1 Pages: 1-33

    • Peer Reviewed / Open Access
  • [Journal Article] FalsifAI: Falsification of AI-Enabled Hybrid Control Systems Guided by Time-Aware Coverage Criteria2023

    • Author(s)
      Zhang Zhenya、Lyu Deyun、Arcaini Paolo、Ma Lei、Hasuo Ichiro、Zhao Jianjun
    • Journal Title

      IEEE Transactions on Software Engineering

      Volume: 49 Pages: 1842~1859

    • DOI

      10.1109/TSE.2022.3194640

    • Peer Reviewed / Open Access
  • [Journal Article] AIP: Scalable and Reproducible Execution Traces in Energy Studies on Mobile Devices2022

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

      Proceedings of International Conference on Software Maintenance and Evolution

      Volume: 1 Pages: 1-5

    • DOI

      10.1109/ICSME55016.2022.00057

    • Peer Reviewed / Open Access / Int'l Joint Research
  • [Journal Article] プログラミング初学者のバグ修正履歴を用いたデバッグ問題自動生成の事例研究2022

    • Author(s)
      秋山 楽登、中村 司、近藤 将成、亀井 靖高、鵜林 尚靖
    • Journal Title

      コンピュータ ソフトウェア

      Volume: 39 Pages: 4_10~4_16

    • DOI

      10.11309/jssst.39.4_10

    • Peer Reviewed / Open Access
  • [Journal Article] Hey APR! Integrate Our Fault Localization Skill: Toward Better Automated Program Repair2022

    • Author(s)
      Yamate Kyosuke、Kondo Masanari、Kashiwa Yutaro、Kamei Yasutaka、Ubayashi Naoyasu
    • Journal Title

      Proceedings of Annual Computers, Software, and Applications Conference (COMPSAC)

      Volume: 1 Pages: 1--6

    • DOI

      10.1109/COMPSAC54236.2022.00101

    • Peer Reviewed / Open Access
  • [Journal Article] Evaluating Automated Program Repair Techniques using Introductory Programming Course Datasets2022

    • Author(s)
      Nakamura Tsukasa、Kondo Masanari、Kamei Yasutaka、Ubayashi Naoyasu
    • Journal Title

      Proceedings of Annual Computers, Software, and Applications Conference (COMPSAC)

      Volume: 1 Pages: 1--6

    • DOI

      10.1109/COMPSAC54236.2022.00102

    • Peer Reviewed / Open Access
  • [Journal Article] Do visual issue reports help developers fix bugs?2022

    • Author(s)
      Kuramoto Hiroki、Kondo Masanari、Kashiwa Yutaro、Ishimoto Yuta、Shindo Kaze、Kamei Yasutaka、Ubayashi Naoyasu
    • Journal Title

      Proceedings of International Conference on Program Comprehension (ICPC)

      Volume: 1 Pages: 511--515

    • DOI

      10.1145/3524610.3527882

    • Peer Reviewed / Open Access
  • [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
  • [Journal Article] コンテナ仮想化技術におけるSATDの削除に関する調査2022

    • Author(s)
      新堂 風、近藤 将成、柏 祐太郎、東 英明、松本 真佑、亀井 靖高、鵜林 尚靖
    • Journal Title

      情報処理学会論文誌

      Volume: 63 Pages: 949~959

    • DOI

      10.20729/00217598

    • Peer Reviewed
  • [Journal Article] 木編集距離に着目した類似解答ソースコード検索器における深層学習モデルの性能評価2022

    • Author(s)
      沖野 健太郎、松尾 春紀、山本 大貴、近藤 将成、亀井 靖高、鵜林 尚靖
    • Journal Title

      情報処理学会論文誌

      Volume: 63 Pages: 986~998

    • DOI

      10.20729/00217602

    • Peer Reviewed
  • [Journal Article] Revisiting the effect of branch handling strategies on change recommendation2022

    • Author(s)
      Isemoto Keisuke、Kobayashi Takashi、Hayashi Shinpei
    • Journal Title

      roceedings of the 30th IEEE/ACM International Conference on Program Comprehension

      Volume: 1 Pages: 162-172

    • DOI

      10.1145/3524610.3527870

    • Peer Reviewed / Open Access
  • [Journal Article] Impact of change granularity in refactoring detection2022

    • Author(s)
      Chen Lei、Hayashi Shinpei
    • Journal Title

      Proceedings of the 30th IEEE/ACM International Conference on Program Comprehension

      Volume: 1 Pages: 565-569

    • DOI

      10.1145/3524610.3528386

    • Peer Reviewed / Open Access
  • [Journal Article] Historinc: 細粒度履歴追跡のための増分的なリポジトリ変換ツール2022

    • Author(s)
      柴 駿太、林 晋平
    • Journal Title

      コンピュータ ソフトウェア

      Volume: 39 Pages: 4_75~4_85

    • DOI

      10.11309/jssst.39.4_75

    • Peer Reviewed / Open Access
  • [Journal Article] Empirical Study of Co-Renamed Identifiers2022

    • Author(s)
      Yuki Osumi, Naotaka Umekawa, Hitomi Komata, Shinpei Hayashi
    • Journal Title

      Proceedings of the 29th Asia-Pacific Software Engineering Conference 2022

      Volume: 1 Pages: 71-80

    • Peer Reviewed / Open Access
  • [Journal Article] Classification of Changes Based on API2022

    • Author(s)
      Iriyama Masashi、Higo Yoshiki、Kusumoto Shinji
    • Journal Title

      Proceedings of International Conference on Product-Focused Software Process Improvement

      Volume: 1 Pages: 61~70

    • DOI

      10.1007/978-3-031-21388-5_5

    • Peer Reviewed / Open Access
  • [Journal Article] Are NLP Metrics Suitable for Evaluating Generated Code?2022

    • Author(s)
      Takaichi Riku、Higo Yoshiki、Matsumoto Shinsuke、Kusumoto Shinji、Kurabayashi Toshiyuki、Kirinuki Hiroyuki、Tanno Haruto
    • Journal Title

      Proceedings of International Conference on Product-Focused Software Process Improvement

      Volume: 1 Pages: 531~537

    • DOI

      10.1007/978-3-031-21388-5_38

    • Peer Reviewed / Open Access
  • [Journal Article] Improving Weighted-SBFL by Blocking Spectrum2022

    • Author(s)
      Yoshioka Haruka、Higo Yoshiki、Kusumoto Shinji
    • Journal Title

      Proceedings of International Working Conference on Source Code Analysis and Manipulation (SCAM)

      Volume: 1 Pages: 253-263

    • DOI

      10.1109/SCAM55253.2022.00036

    • Peer Reviewed / Open Access
  • [Journal Article] JTDog: 動的テストスメル検出のためのGradleプラグイン2022

    • Author(s)
      谷口 真幸、松本 真佑、楠本 真二
    • Journal Title

      コンピュータ ソフトウェア

      Volume: 39 Pages: 4_50~4_60

    • DOI

      10.11309/jssst.39.4_50

    • Peer Reviewed / Open Access
  • [Journal Article] 自動プログラム生成に対する多目的遺伝的アルゴリズムの導入:相補的な個体選択を目的として2022

    • Author(s)
      渡辺 大登、松本 真佑、肥後 芳樹、楠本 真二、倉林 利行、切貫 弘之、丹野 治門
    • Journal Title

      情報処理学会論文誌

      Volume: 63 Pages: 1564~1573

    • DOI

      10.20729/00220234

    • Peer Reviewed
  • [Journal Article] Tidy Up Your Source Code! Eliminating Wasteful Statements in Automatically Repaired Source Code2022

    • Author(s)
      Iwase Takumi、Matsumoto Shinsuke、Kusumoto Shinji
    • Journal Title

      Proceedings of International Conference on Product-Focused Software Process Improvement

      Volume: 1 Pages: 544~550

    • DOI

      10.1007/978-3-031-21388-5_40

    • Peer Reviewed / Open Access
  • [Journal Article] When cyber-physical systems meet AI2022

    • Author(s)
      Song Jiayang、Lyu Deyun、Zhang Zhenya、Wang Zhijie、Zhang Tianyi、Ma Lei
    • Journal Title

      Proceedings of the 44th International Conference on Software Engineering: Software Engineering in Practice

      Volume: 1 Pages: 343-352

    • DOI

      10.1145/3510457.3513049

    • Peer Reviewed / Open Access
  • [Journal Article] DARTSRepair: Core-failure-set guided DARTS for network robustness to common corruptions2022

    • Author(s)
      Ren Xuhong、Chen Jianlang、Juefei-Xu Felix、Xue Wanli、Guo Qing、Ma Lei、Zhao Jianjun、Chen Shengyong
    • Journal Title

      Pattern Recognition

      Volume: 131 Pages: 108864~108864

    • DOI

      10.1016/j.patcog.2022.108864

    • Peer Reviewed / Open Access
  • [Presentation] Towards Robust Object Detection Models by Metamorphic Testing2023

    • Author(s)
      Jianhong Wang, Yuta Ishimoto, Masanari Kondo, Yasutaka Kamei, Naoyasu Ubayashi
    • Organizer
      情報処理学会ソフトウェア工学研究会
  • [Presentation] 初学者のPythonコード改善を目的としたコード分析と補助ツールの実装2023

    • Author(s)
      沖野 健太郎, 近藤 将成, 亀井 靖高, 鵜林 尚靖
    • Organizer
      情報処理学会ソフトウェア工学研究会
  • [Presentation] OSS における Java のレコード・クラス利用実態の初期調査2023

    • Author(s)
      杉原 裕太, 近藤 将成, 亀井 靖高, 鵜林 尚靖
    • Organizer
      情報処理学会ソフトウェア工学研究会
  • [Presentation] 自動プログラム修正に対する実行経路を考慮した自動テストケース生成の評価2023

    • Author(s)
      若松 昌宏, 松田 雄河, 近藤 将成, 亀井 靖高, 鵜林 尚靖
    • Organizer
      情報処理学会ソフトウェア工学研究会
  • [Presentation] Dockerfileの開発を支援するインタラクティブツールの提案2023

    • Author(s)
      稲田 司, 石本 優太, 近藤 将成, 亀井 靖高, 鵜林 尚靖
    • Organizer
      電子情報通信学会技術研究報告(SIGSS)
  • [Presentation] プログラム自動修正に向けた行単位のバグ予測手法の提案2023

    • Author(s)
      和田 寛太, 山本 大貴, 森田 一成, 近藤 将成, 亀井 靖高, 鵜林 尚靖
    • Organizer
      電子情報通信学会技術研究報告(SIGSS)
  • [Presentation] 大規模言語モデルを用いた初学者のためのデバッグ作業支援の初期評価2023

    • Author(s)
      宇都宮 魁斗, 秋山 楽登, 近藤 将成, 亀井 靖高, 鵜林 尚靖
    • Organizer
      電子情報通信学会技術研究報告(SIGSS)
  • [Presentation] GitHub Copilotを用いたコード自動生成における入力データ順序の影響調査2023

    • Author(s)
      野口 広太郎, 小柳 慶, 近藤 将成, 亀井 靖高, 鵜林 尚靖
    • Organizer
      電子情報通信学会技術研究報告(KBSE)
  • [Presentation] 初学者支援を目的としたコードエディタにおけるPythonの型プレビュー機能実装2023

    • Author(s)
      友池 真輝, 沖野 健太郎, 近藤 将成, 亀井 靖高, 鵜林 尚靖
    • Organizer
      電子情報通信学会技術研究報告(KBSE)
  • [Presentation] ソースコードの変更差分の学習に基づくリファクタリングコミットの識別2023

    • Author(s)
      青木 俊介, 林 晋平
    • Organizer
      情報処理学会ソフトウェア工学研究会
  • [Presentation] 語形と省略を考慮した一括名前変更リファクタリング支援2023

    • Author(s)
      大住 祐輝, 林 晋平
    • Organizer
      情報処理学会ソフトウェア工学研究会
  • [Presentation] 単語埋め込みによる言語横断バグ箇所検索2023

    • Author(s)
      大柴 昂輝, 林 晋平
    • Organizer
      電子情報通信学会技術研究報告(SIGSS)
  • [Presentation] リファクタリング事例検索システムの設計と実装2023

    • Author(s)
      阿部 元輝, 林 晋平
    • Organizer
      電子情報通信学会技術研究報告(SIGSS)
  • [Presentation] スペクトラムに基づく欠陥限局に適したプログラム構造の再調査2023

    • Author(s)
      久保光生, 肥後芳樹, 楠本真二
    • Organizer
      電子情報通信学会技術研究報告(SIGSS)
  • [Presentation] 事前構文定義を必要としないリファクタリング検出手法の提案2023

    • Author(s)
      古藤寛大, 肥後芳樹, 楠本真二
    • Organizer
      電子情報通信学会技術研究報告(SIGSS)
  • [Presentation] プログラム構造が自動生成テストの網羅率に与える影響の調査2023

    • Author(s)
      渡邉凌雅, 肥後芳樹, 楠本真二
    • Organizer
      電子情報通信学会技術研究報告(SIGSS)
  • [Presentation] Docker における複数環境対応のための Dockerfile プリプロセッサの調査2023

    • Author(s)
      馬渕 航, 松本 真佑, 楠本 真二
    • Organizer
      電子情報通信学会技術研究報告(SIGSS)
  • [Presentation] A Systematic Review of Source Code Coverage Metrics: Preliminary Results2023

    • Author(s)
      谷口 真幸,松本 真佑, 楠本 真二
    • Organizer
      電子情報通信学会技術研究報告(SIGSS)
  • [Presentation] SBFLの欠陥限局精度向上を目的としたSoftアサートの調査2023

    • Author(s)
      三原 公平, 松本 真佑, 楠本 真二
    • Organizer
      電子情報通信学会技術研究報告(SIGSS)
  • [Presentation] DVCリポジトリにおける機械学習パイプラインの進化に関する調査2022

    • Author(s)
      中村 悠人,松田 雄河,松尾 春紀,近藤 将成,亀井 靖高,鵜林 尚靖
    • Organizer
      ソフトウェア工学の基礎ワークショップ(FOSE)
  • [Presentation] Pythonにおける機械学習関連ライブラリの自動推薦手法の評価2022

    • Author(s)
      小柳 慶,秋山 楽登,沖野 健太郎,近藤 将成,亀井 靖高,鵜林 尚靖
    • Organizer
      ソフトウェア工学の基礎ワークショップ(FOSE)
  • [Presentation] 連合学習によるプライバシー保護を考慮したプロジェクト間バグ予測2022

    • Author(s)
      山本 大貴,Rajbahadur Gopi Krishnan,近藤 将成,亀井 靖高,鵜林 尚靖
    • Organizer
      情報処理学会ソフトウェア工学研究会
  • [Presentation] An Empirical Study on Self-Admitted Technical Debt in Modern Code Review2022

    • Author(s)
      Yutaro Kashiwa, Ryoma Nishikawa, Yasutaka Kamei, Masanari Kondo, Emad Shihab, Ryosuke Sato, and Naoyasu Ubayashi
    • Organizer
      International Conference on Software Maintenance and Evolution
    • Int'l Joint Research
  • [Presentation] Evaluating the impact of falsely detected performance bug-inducing changes in JIT models2022

    • Author(s)
      Sophia Quach, Maxime Lamothe, Bram Adams, Yasutaka Kamei, and Weiyi Shang
    • Organizer
      International Conference on Software Engineering
    • Int'l Joint Research
  • [Presentation] The Ghost Commit Problem When Identifying Fix-Inducing Changes: An Empirical Study of Apache Projects2022

    • Author(s)
      Christophe Rezk, Yasutaka Kamei, and Shane McIntosh
    • Organizer
      International Symposium on the Foundations of Software Engineering
    • Int'l Joint Research
  • [Presentation] リポジトリマイニング手法に対する前処理としての履歴書き換えツールの試作2022

    • Author(s)
      柴 駿太, 林 晋平
    • Organizer
      電子情報通信学会技術研究報告(SIGSS)
  • [Presentation] 探索に基づくリファクタリング推薦におけるレビュー工数見積もりの利用2022

    • Author(s)
      陳 磊, 林 晋平
    • Organizer
      電子情報通信学会技術研究報告(SIGSS)
  • [Presentation] リポジトリ変換によるBug Localization手法の細粒度化とその評価2022

    • Author(s)
      積田 静夏, 林 晋平, 天嵜 聡介
    • Organizer
      電子情報通信学会技術研究報告(SIGSS)
  • [Presentation] Ammonia: プロジェクト特有バグパターンの導出法2022

    • Author(s)
      林 晋平
    • Organizer
      第21回情報科学技術フォーラム
    • Int'l Joint Research
  • [Presentation] 不吉な臭いを利用したBug Localization2022

    • Author(s)
      Aoi Takahashi, Natthawute Sae-Lim, Shinpei Hayashi, Motoshi Saeki
    • Organizer
      ソフトウェアエンジニアリングシンポジウム2022
    • Int'l Joint Research
  • [Presentation] 欠陥限局および自動プログラム修正のための自動テスト生成と実行経路を用いたテスト選択2022

    • Author(s)
      入山優, 肥後芳樹, 楠本真二
    • Organizer
      ソフトウェアエンジニアリングシンポジウム2022
  • [Remarks] 研究室ホームページ(PDF公開)

    • URL

      http://posl.ait.kyushu-u.ac.jp/~kamei/publications.html

URL: 

Published: 2023-12-25  

Information User Guide FAQ News Terms of Use Attribution of KAKENHI

Powered by NII kakenhi