Configfile Plus Plus : Automatic Comment Enhancement For Misconfiguration Prevention

Yuanliang Zhang,Shanshan Li,Xiangyang Xu,Xiangke Liao,Shazhou Yang,Yun Xiong
DOI: https://doi.org/10.1109/maltesque.2018.8368457
2018-01-01
Abstract:Nowadays, misconfiguration has become one of the key factors leading to system problems. Most current research on the topic explores misconfiguration diagnosis, but is less concerned with educating users about how to configure correctly in order to prevent misconfiguration before it happens. In this paper, we manually study 22 open source software projects and summarize several observations on the comments of their configuration files, most of which lack sufficient information and are poorly formatted. Based on these observations and the general process of misconfiguration diagnosis, we design and implement a tool called ConfigFile++ that automatically enhances the comment in configuration files. By using name-based analysis and machine learning, ConfigFile++ extracts guiding information about the configuration option from the user manual and source code, and inserts it into the configuration files. The format of insert comment is also designed to make enhanced comments concise and clear. We use real-world examples of misconfigurations to evaluate our tool. The results show that ConfigFile++ can prevent 33 out of 50 misconfigurations.
What problem does this paper attempt to address?