講演抄録/キーワード |
講演名 |
2015-05-25 16:10
プログラムスライシングに基づくプログラムの木構造表現の提案 米田克久・○芳賀博英(同志社大) KBSE2015-6 |
抄録 |
(和) |
デバッグを効率的に進める方法の中の1つにアルゴリズミックデバッギングという手法がある.
アルゴリズミックデバッギングとは,プログラムの実行過程を実行木と呼ばれる木構造で表し,
バグが存在する範囲を絞り込む手法である.しかし,アルゴリズミックデバッギングで検出
できるのはバグがある関数であり,バグがあるステートメントまでは検出できない.
本論文では,プログラムスライシングを用いて,アルゴリズミックデバッギングのための
木構造表現を提案する.プログラムスライシングでは,あるステートメントのある変数に
影響を与えるステートメントの集合を抽出できるため,その集合を各ノードとした木構造を
生成する.この木構造を用いてデバッグを実行することにより,バグがあるステートメントを
検出できることを示す. |
(英) |
This article proposes a tree structure expression of programs for algorithmic debugging using program slicing.
Program slicing is a method that extract a set of statement that affect or being affected by slicing criterion,
a pair of variable and statement. In proposed method, first, user sets slicing criterion to a variable
that generates incorrect value, and the system computes the slices. Next, the system changes slicing
criterion by traversing edge of a program dependence graph that expresses dependency between statements,
and computes slices. Then, the system computes slices until the system cannot change slicing criterion,
and generates tree structure. We conducted the evaluation experiment using the tree structure
that proposed system generated. The experiment proved that the system could detect the
statement that includes bugs. |
キーワード |
(和) |
アルゴリズミックデバッギング / プログラムスライシング / 木構造表現 / / / / / |
(英) |
Algorithmic Debugging / Program Slicing / Tree Representation / / / / / |
文献情報 |
信学技報, vol. 115, no. 54, KBSE2015-6, pp. 27-32, 2015年5月. |
資料番号 |
KBSE2015-6 |
発行日 |
2015-05-18 (KBSE) |
ISSN |
Print edition: ISSN 0913-5685 Online edition: ISSN 2432-6380 |
著作権に ついて |
技術研究報告に掲載された論文の著作権は電子情報通信学会に帰属します.(許諾番号:10GA0019/12GB0052/13GB0056/17GB0034/18GB0034) |
PDFダウンロード |
KBSE2015-6 |