This paper conducts an empirical study of a Control Flow Graphs (CFG) visualizer from which various test coverages can be exercised directly. First, we demonstrate how control structures are extracted from bytecode and compound conditions are decomposed into simple multi-level conditions in Java bytecode. Then, we visualize the decomposed compound conditions in CFG. The layout of a CFG is calculated by extending a force-directed drawing algorithm. Each control node of CFG represents a simple condition. The empirical study shows that (1) the tool successfully decomposes a compound condition into simple multi-level conditions and (2) the extended force-based layout algorithm produces the best layout for visualizing CFG.
CITATION STYLE
Xu, W., El Ariss, O., & Liu, Y. (2018). An empirical study of control flow graphs for unit testing. In Advances in Intelligent Systems and Computing (Vol. 558, pp. 545–553). Springer Verlag. https://doi.org/10.1007/978-3-319-54978-1_69
Mendeley helps you to discover research relevant for your work.