An empirical study of static program slice size

ACM Trans. Softw. Eng. Methodol.(2007)

引用 140|浏览13
暂无评分
摘要
This article presents results from a study of all slices from 43 programs, ranging up to 136,000 lines of code in size. The study investigates the effect of five aspects that affect slice size. Three slicing algorithms are used to study two algorithmic aspects: calling-context treatment and slice granularity. The remaining three aspects affect the upstream dependencies considered by the slicer. These include collapsing structure fields, removal of dead code, and the influence of points-to analysis. The results show that for the most precise slicer, the average slice contains just under one-third of the program. Furthermore, ignoring calling context causes a 50% increase in slice size, and while (coarse-grained) function-level slices are 33% larger than corresponding statement-level slices, they may be useful predictors of the (finer-grained) statement-level slice size. Finally, upstream analyses have an order of magnitude less influence on slice size.
更多
查看译文
关键词
statement-level slice size,dead code,precise slicer,static program slice size,average slice,empirical study,slice granularity,corresponding statement-level slice,function-level slice,upstream dependency,slice size,additional keywords and phrases: program slicing,upstream analysis,graph,measurement,lines of code,pointer analysis,program slicing,algorithms
AI 理解论文
溯源树
样例
生成溯源树,研究论文发展脉络
Chat Paper
正在生成论文摘要