The Community for Technology Leaders
2017 IEEE 41st Annual Computer Software and Applications Conference (COMPSAC) (2017)
Turin, Italy
July 4, 2017 to July 8, 2017
ISSN: 0730-3157
ISBN: 978-1-5386-0367-3
pp: 67-74
ABSTRACT
Equipped with customized parameters, configurable software is more flexible when facing various hardware platforms and scenario options. The configurability can tailor the source code to different instances. Consequently, it is difficult for developers to enumerate all possible configurations for finding bugs, especially for large-scale configurable software systems. In this paper, we propose a method to efficiently detect bugs of such systems with static analysis techniques. The method takes advantage of combinatorial testing techniques to generate sufficient configurations. It first extracts required parameters and the corresponding constraints from a configure file. The parameters together with constraints are employed to generate configurations with required coverage. Considering the features of configuration options, we further classify the parameters into clusters, according to the tightness of their relations. Inspired from the idea of divide-and-conquer, every cluster can be assigned with a local strength, such that the tightly coupled options can be covered, without incurring other unnecessary options. Such improvement can reduce the number of required configurations, thus improving the efficiency of static analysis. The experimental results over four real-world configurable systems demonstrate the efficiency, scalability and practicality of our method.
INDEX TERMS
Computer bugs, Testing, Software systems, Cost accounting, Hardware, Graphical user interfaces
CITATION

D. Yan, L. Pan, R. Yan, J. Yan and J. Zhang, "Comprehensive Static Analysis for Configurable Software via Combinatorial Instantiation," 2017 IEEE 41st Annual Computer Software and Applications Conference (COMPSAC), Turin, Italy, 2017, pp. 67-74.
doi:10.1109/COMPSAC.2017.91
259 ms
(Ver 3.3 (11022016))