DocumentCode
2672532
Title
A framework for the evaluation of specification miners based on finite state machines
Author
Pradel, Michael ; Bichsel, Philipp ; Gross, Thomas R.
Author_Institution
Comput. Sci. Dept., ETH Zurich, Zurich, Switzerland
fYear
2010
fDate
12-18 Sept. 2010
Firstpage
1
Lastpage
10
Abstract
Software maintenance tasks, such as testing and program understanding, can benefit from formal specifications that describe how a program should use an API. Recently, there has been increasing interest in specification miners that automatically extract finite state specifications of method ordering constraints from existing software. However, comparing different mining approaches is difficult, because no common ground to evaluate the effectiveness of specification miners has been established yet. We present a framework for evaluating to which extent specification miners find valid finite state descriptions of API usage constraints. The framework helps in creating reference specifications and includes metrics to compare mined specifications to the reference specifications. The metrics are tailored for evaluating specification miners and account for imprecision and incompleteness in mined specifications. We use the framework to compare the effectiveness of three mining approaches and to show their respective benefits.
Keywords
application program interfaces; data mining; finite state machines; formal specification; program testing; reverse engineering; software maintenance; software metrics; API; finite state machines; finite state specification; formal specification; metrics; mining approach; program testing; program understanding; reference specification; software maintenance tasks; specification miner evaluation; Data mining; Focusing; Instruments; Java; Libraries; Measurement; Metrics/Measurement; Mining; Requirements/Specifications;
fLanguage
English
Publisher
ieee
Conference_Titel
Software Maintenance (ICSM), 2010 IEEE International Conference on
Conference_Location
Timisoara
ISSN
1063-6773
Print_ISBN
978-1-4244-8630-4
Electronic_ISBN
1063-6773
Type
conf
DOI
10.1109/ICSM.2010.5609576
Filename
5609576
Link To Document