arrow
Return

Observation-based approximate dependency modeling and its use for program slicing

delete2021-09-01
delete6
delete
OA
AI
S
Seongmin Lee *
D
David Binkley
R
Robert Feldt
N
Nicolas Gold
S
Shin Yoo
DOI:10.1016/j.jss.2021.110988delete
deleteOriginal
deleteShare
deleteSave
View PDF
Abstract

Abstract

En 中文
While dependency analysis is foundational to much program analysis, many techniques have limited scalability and handle only monolingual systems. We present a novel dependency analysis technique that aims to approximate program dependency from a relatively small number of perturbed executions. Our technique, MOAD (Modeling Observation-based Approximate Dependency), reformulates program dependency as the likelihood that one program element is dependent on another (instead of a Boolean relationship). MOAD generates program variants by deleting parts of the source code and executing them while observing the impact. MOAD thus infers a model of program dependency that captures the relationship between the modification and observation points. We evaluate MOAD using program slices obtained from the resulting probabilistic dependency models. Compared to the existing observation-based backward slicing technique, ORBS, MOAD requires only 18.6% of the observations, while the resulting slices are only 12% larger on average. Furthermore, we introduce the notion of the observation-based forward slices. Unlike ORBS, which inherently computes backward slices, MOAD's model's dependences can be traversed in either direction allowing us to easily compute forward slices. In comparison to the static forward slice, MOAD only misses deleting 0-6 lines (median 0), while excessively deleting 0-37 lines (median 8) from the slice. (C) 2021 Elsevier Inc. All rights reserved.
Keywords:
Dependency analysis
Program slicing
Model learning
MOAD
AI Summary

AI Summary

Key information extracted from the uploaded paper, including a brief overview, abstract, background, key highlights, visual analysis, and future outlook.

Journal

Journal of Systems and Software cover
Journal of Systems and Software
IF:
4.1
Papers:
5.5K
Citations:
8.4K

Organization

C
chalmers university of technology
Scholars:
1.5W
Papers: 1.6W
Citations: 10
U
University College London
Scholars:
7.9W
Papers: 6.2W
Citations: 15.7W
U
university of london
Scholars:
21.5W
Papers: 19.7W
Citations: 305
researcher View more organizations
Cited Papers

Cited Papers

State dependency probabilistic model for fault localization
err2015-01-01
err21
PREAI
errGong Dandan; Su Xiaohong; Wang Tiantian; Ma Peijun; Wang Yu
errShare
errSave
errShare
errSave
errShare
errSave
Observational slicing based on visual semantics
err2017-07-01
err7
PREAI
errYoo, Shin; Binkley, David; Eastman, Roger
errShare
errSave
errShare
errSave
Characterization of a T-DNA promoter trap line of Arabidopsis thaliana uncovers a cryptic bi-directional promoter
errGene
IF0
err2013-07-01
err0
PREAI
errPritu Pratibha; Sunil Kumar Singh; Isha Sharma; Ravi Kumar; Ramamurthy Srinivasan; Shripad Ramachandra Bhat; Paramvir Singh Ahuja; Yelam Sreenivasulu
errShare
errSave
Evaluating lexical approximation of program dependence
err2020-02-01
err6
errOAAI
errLee, Seongmin; Binkley, David; Gold, Nicolas; Islam, Syed; Krinke, Jens; Yoo, Shin
errShare
errSave
FIRST STAGES OF MICROSPORE REPROGRAMMING TO EMBRYOGENESIS THROUGH ISOLATED MICROSPORE CULTURE IN LOQUAT
err2011-01-01
err0
PREAI
errD. Padoan; B. Chiancone; M.A. Germanà; P.S.S.V. Khan; I. Barany; M.C. Risueño; P.S. Testillano
errShare
errSave
researcher View more