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

2023 Fiscal Year Annual Research Report

Rigorous and Efficient Library Compatibility Verification Method based on Runtime Information Analysis of Used Functions

Research Project

Project/Area Number 22K21279
Research InstitutionNara Institute of Science and Technology

Principal Investigator

嶋利 一真  奈良先端科学技術大学院大学, 先端科学技術研究科, 助教 (50964376)

Project Period (FY) 2022-08-31 – 2024-03-31
Keywordsソフトウェアテスト / 動的解析 / 依存関係 / ソフトウェア保守
Outline of Annual Research Achievements

本研究では,ライブラリバージョン更新の迅速な適用を目的として,テストの実行時情報を利用した厳密かつ効率的な互換性検証手法を確立した.具体的には,(1)ライブラリメソッド内での実行の経路と値に基づく実行トレースを基にした厳密な実行トレースの比較による非互換性の検出と,(2)自動テスト生成技術によるユーザが利用しているライブラリの機能に対するテスト生成を実現した.
(1)の非互換性検出については,ライブラリの更新前後で挙動が変化する箇所を,更新されたライブラリのメソッドにおける実行命令列を基にした実行トレースと返り値を基にした実行トレースをマークル木を用いて効率的に比較し,差分が観測された箇所に着目した.これにより,ライブラリの非互換性発生時に確認すべきメソッド候補を,実行されたメソッドを基にして10%から20%程度に削減することが出来た.
(2)のライブラリ機能に対する自動テスト生成については,テスト対象ライブラリがOSSで利用されている事例を収集し,その単体テストを用いることで自動テスト生成を可能とした.具体的には,単体テストの実行トレースを収集し,そこからテスト対象ライブラリに関連する部分を抽出,さらに繰り返し呼出しされている実行についてはフィルタリングした.実OSSへの適用の結果,テスト対象ライブラリのカバレッジの増加を確認し,手法の適用により実際のライブラリ利用状況に基づいたテストケースの生成を行うことが出来た.

  • Research Products

    (8 results)

All 2024 2023

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

  • [Journal Article] Evaluating the effectiveness of size-limited execution trace with near-omniscient debugging2024

    • Author(s)
      Shimari Kazumasa、Ishio Takashi、Kanda Tetsuya、Inoue Katsuro
    • Journal Title

      Science of Computer Programming

      Volume: 236 Pages: 103117~103117

    • DOI

      10.1016/j.scico.2024.103117

    • Peer Reviewed
  • [Journal Article] ROS アプリケーションにおけるトピック通信の記述パターンを用いたデータフロー可視化手法2024

    • Author(s)
      村田 優斗、石尾 隆、嶋利 一真、松本 健一
    • Journal Title

      電子情報通信学会論文誌 D

      Volume: J107-D Pages: -

    • DOI

      10.14923/transinfj.2023JDL8011

    • Peer Reviewed
  • [Journal Article] Reliability Evaluation Framework for Obfuscating Transformations in Program Code.2023

    • Author(s)
      KITAOKA Tetsuya、KANZAKI Yuichiro、ISHIO Takashi、SHIMARI Kazumasa、MATSUMOTO Kenichi
    • Journal Title

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

      Volume: 40 Pages: 4_37~4_46

    • DOI

      10.11309/jssst.40.4_37

    • Peer Reviewed / Open Access
  • [Presentation] Test Case Generation for Python Libraries using Dependent Projects’ Test-Suites2024

    • Author(s)
      Keita Morisaki, Kazumasa Shimari, Takashi Ishio, Kenichi Matsumoto
    • Organizer
      7th Workshop on Validation, Analysis and Evolution of Software Tests
    • Int'l Joint Research
  • [Presentation] Comparing Execution Trace Using Merkle-Tree to Detect Backward Incompatibilities2024

    • Author(s)
      Atsuhito Yamaoka, Teyon son, Kazumasa Shimari, Takashi Ishio, Kenichi Matsumoto
    • Organizer
      International Conference on Software Analysis, Evolution and Reengineering
    • Int'l Joint Research
  • [Presentation] Pythonプログラミング演習におけるプログラミング経験度とエラー修正時間の関係分析2024

    • Author(s)
      篠原 遼太郎,嶋利 一真,福島 和希,田中 慎之佑,石尾 隆,松本 健一
    • Organizer
      第216回ソフトウェア工学研究発表会
  • [Presentation] Towards Assessment of Practicality of Introductory Programming Course Using Vocabulary of Textbooks, Assignments, and Actual Projects2023

    • Author(s)
      Kazuki Fukushima, Takashi Ishio, Kazumasa Shimari, Kenichi Matsumoto
    • Organizer
      35th International Conference on Software Engineering Education and Training
    • Int'l Joint Research
  • [Presentation] 確率モデルを用いた初学者向け構文エラー修正支援手法の検討2023

    • Author(s)
      田中 慎之佑,嶋利 一真,福島 和希,石尾 隆,松本 健一
    • Organizer
      第214回ソフトウェア工学研究発表会

URL: 

Published: 2024-12-25  

Information User Guide FAQ News Terms of Use Attribution of KAKENHI

Powered by NII kakenhi