DocumentCode
647207
Title
Leveraging specifications of subcomponents to mine precise specifications of composite components
Author
Ziying Dai ; Xiaoguang Mao ; Yan Lei ; Liqian Chen
Author_Institution
Coll. of Comput., Nat. Univ. of Defense Technol., Changsha, China
fYear
2013
fDate
14-17 Oct. 2013
Firstpage
162
Lastpage
171
Abstract
Specifications play an important role in many software engineering activities. Despite their usefulness, formal specifications are often unavailable in practice. Specification mining techniques try to automatically recover specifications from existing programs. Unfortunately, mined specifications are often overly general, which hampers their applications in the downstream analysis and testing. Nowadays, programmers develop software systems by utilizing existing components that usually have some available specifications. However, benefits of these available specifications are not explored by current specification miners. In this paper, we propose an approach to leverage available specifications of subcomponents to improve the precision of specifications of the composite component mined by state-based mining techniques. We monitor subcomponents against their specifications during the mining process and use states that are reached to construct abstract states of the composite component. Our approach makes subcomponents´ states encoded within their specifications visible to their composite component, and improves the precision of mined specifications by effectively increasing the number of their states. The empirical evaluation shows that our approach can significantly improve the precision of mined specifications by removing erroneous behavior without noticeable loss of recall.
Keywords
data mining; formal specification; composite component precise specification mining technique; downstream analysis; downstream testing; formal specifications; software engineering activities; state-based mining techniques; subcomponent specification; Abstracts; Concrete; Java; Libraries; Monitoring; Object oriented modeling; Training;
fLanguage
English
Publisher
ieee
Conference_Titel
Reverse Engineering (WCRE), 2013 20th Working Conference on
Conference_Location
Koblenz
Type
conf
DOI
10.1109/WCRE.2013.6671291
Filename
6671291
Link To Document