ORPLocator: Identifying read points of configuration options via static analysis
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...
Saved in:
Main Authors: | , , , |
---|---|
Format: | text |
Language: | English |
Published: |
Institutional Knowledge at Singapore Management University
2016
|
Subjects: | |
Online Access: | https://ink.library.smu.edu.sg/sis_research/3613 |
Tags: |
Add Tag
No Tags, Be the first to tag this record!
|
Institution: | Singapore Management University |
Language: | English |
id |
sg-smu-ink.sis_research-4614 |
---|---|
record_format |
dspace |
spelling |
sg-smu-ink.sis_research-46142017-04-10T02:12:07Z ORPLocator: Identifying read points of configuration options via static analysis DONG, Zhen ANDRZEJAK, Artur David LO, COSTA, Diego 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 2016-10-27T07:00:00Z text https://ink.library.smu.edu.sg/sis_research/3613 info:doi/10.1109/ISSRE.2016.37 Research Collection School Of Computing and Information Systems eng Institutional Knowledge at Singapore Management University Configuration options Empirical study Inconsistency detection Static analysis Computer Sciences Software Engineering |
institution |
Singapore Management University |
building |
SMU Libraries |
continent |
Asia |
country |
Singapore Singapore |
content_provider |
SMU Libraries |
collection |
InK@SMU |
language |
English |
topic |
Configuration options Empirical study Inconsistency detection Static analysis Computer Sciences Software Engineering |
spellingShingle |
Configuration options Empirical study Inconsistency detection Static analysis Computer Sciences Software Engineering DONG, Zhen ANDRZEJAK, Artur David LO, COSTA, Diego ORPLocator: Identifying read points of configuration options via static analysis |
description |
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 |
format |
text |
author |
DONG, Zhen ANDRZEJAK, Artur David LO, COSTA, Diego |
author_facet |
DONG, Zhen ANDRZEJAK, Artur David LO, COSTA, Diego |
author_sort |
DONG, Zhen |
title |
ORPLocator: Identifying read points of configuration options via static analysis |
title_short |
ORPLocator: Identifying read points of configuration options via static analysis |
title_full |
ORPLocator: Identifying read points of configuration options via static analysis |
title_fullStr |
ORPLocator: Identifying read points of configuration options via static analysis |
title_full_unstemmed |
ORPLocator: Identifying read points of configuration options via static analysis |
title_sort |
orplocator: identifying read points of configuration options via static analysis |
publisher |
Institutional Knowledge at Singapore Management University |
publishDate |
2016 |
url |
https://ink.library.smu.edu.sg/sis_research/3613 |
_version_ |
1770573347366633472 |