Affiliation:
1. Loyola College Maryland, Baltimore, MD
2. King's College London, UK
Abstract
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.
Publisher
Association for Computing Machinery (ACM)
Reference87 articles.
1. Debugging with dynamic slicing and backtracking
2. Andersen L. O. 1994. Program analysis and specialization for the C programming language. Ph.D. thesis DIKU Rep. 94/19 University of Copenhagen May. Andersen L. O. 1994. Program analysis and specialization for the C programming language. Ph.D. thesis DIKU Rep. 94/19 University of Copenhagen May.
Cited by
54 articles.
订阅此论文施引文献
订阅此论文施引文献,注册后可以免费订阅5篇论文的施引文献,订阅后可以查看论文全部施引文献
1. Efficient software mutation test by clustering the single-line redundant mutants;Data Technologies and Applications;2024-04-24
2. Dynamic Slicing of WebAssembly Binaries;2023 IEEE International Conference on Software Maintenance and Evolution (ICSME);2023-10-01
3. Utilizing Risk Number and Program Slicing to Improve Human-Machine Pair Inspection;2023 27th International Conference on Engineering of Complex Computer Systems (ICECCS);2023-06-14
4. An empirical evaluation of quasi-static executable slices;Journal of Systems and Software;2023-06
5. Reachable Coverage: Estimating Saturation in Fuzzing;2023 IEEE/ACM 45th International Conference on Software Engineering (ICSE);2023-05