首页> 外文会议>IEEE International Symposium on Software Reliability Engineering >ORPLocator: Identifying Read Points of Configuration Options via Static Analysis
【24h】

ORPLocator: Identifying Read Points of Configuration Options via Static Analysis

机译:ORPLocator:通过静态分析确定配置选项的读取点

获取原文

摘要

Configuration options are widely used for customizing the behavior and initial settings of software applications, server processes, and operating systems. Their distinctive property is that each option is processed, defined, and described in different parts of a software project - namely in code, in configuration file, and in documentation. This creates a challenge for maintaining project consistency as it evolves. It also promotes inconsistencies leading to misconfiguration issues in production scenarios. We propose an approach for detection of inconsistencies between source code and documentation based on static analysis. Our approach automatically identifies source code locations where options are read, and for each such location retrieves the name of the option. Inconsistencies are then detected by comparing the results against the option names listed in documentation. We evaluated our approach on multiple components of Apache Hadoop, a complex framework with more than 800 options. Our tool ORPLocator was able to successfully locate at least one read point for 93% to 96% of documented options within four Hadoop components. A comparison with a previous state-of-the-art technique shows that our tool produces more accurate results. Moreover, our evaluation has uncovered 4 previously unknown, real-world inconsistencies between documented options and source code.
机译:配置选项广泛用于自定义软件应用程序,服务器进程和操作系统的行为和初始设置。它们的独特特性是,每个选项都在软件项目的不同部分(即代码,配置文件和文档中)进行处理,定义和描述。随着项目的发展,这对保持项目的一致性提出了挑战。它还会导致不一致,从而导致生产方案中的配置错误。我们提出了一种基于静态分析的检测源代码和文档之间不一致的方法。我们的方法会自动识别读取选项的源代码位置,并为每个此类位置检索选项名称。然后通过将结果与文档中列出的选项名称进行比较来检测不一致之处。我们在Apache Hadoop的多个组件上评估了我们的方法,Apache Hadoop是一个具有800多个选项的复杂框架。我们的工具ORPLocator能够成功地为四个Hadoop组件中93%到96%的已记录选项找到至少一个读取点。与现有技术的比较表明,我们的工具可产生更准确的结果。此外,我们的评估还发现了4个以前未知的,真实记录的选项与源代码之间的真实性不一致。

著录项

相似文献

  • 外文文献
  • 中文文献
  • 专利
获取原文

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号