DocumentCode :
2067376
Title :
Automatic online specification mining
Author :
Dianlin, Wang ; Ziying, Dai ; Donghong, Liu ; Xiaoguang, Mao
Author_Institution :
Dept. of Comput. Sci., Nat. Univ. of Defense Technol., Changsha, China
fYear :
2011
fDate :
16-18 Dec. 2011
Firstpage :
253
Lastpage :
258
Abstract :
Dynamic specification inference attempts to infer specifications of software´s correct behaviors from execution traces. Automatic online specification mining (AOSM) automatically infers software specifications from online behaviors of in-field programs. Compared with off-line approaches, AOSM is more challenging. On the one hand, it is necessary to divide the evolving trace into small learning units, which we call scenario identification. On the other hand, if online programs encounter failure, erroneous traces which may make specifications inferred very possibly wrong will be produced. This paper gives the solutions of these two problems. For scenario identification, we extract sub-traces of methods issued by one method execution, and infer a FSM (Finite State Machine) model for each method. For the second problem, we assume that software functions are correct in most cases. So we utilize statistical approach to filter out failed software behavior. Meanwhile, based on such strategies, we present a framework for inferring specifications automatically for in-field software. The experiment result demonstrates that precision and completeness of specifications inferred by AOSM respectively have increases of 25% and 7.2% more than these inferred by off-line approach and that AOSM can effectively deal with software failure.
Keywords :
data mining; formal specification; inference mechanisms; software fault tolerance; statistical analysis; AOSM; automatic online specification mining; dynamic specification inference; execution traces; learning units; online programs; software correct behavior specification; software failure; statistical approach; subtrace extraction; Automata; Collaboration; Computer bugs; Data mining; Instruments; Monitoring; Software; automatic online specification mining; scenario identification; software failure handling; specification inference;
fLanguage :
English
Publisher :
ieee
Conference_Titel :
Transportation, Mechanical, and Electrical Engineering (TMEE), 2011 International Conference on
Conference_Location :
Changchun
Print_ISBN :
978-1-4577-1700-0
Type :
conf
DOI :
10.1109/TMEE.2011.6199191
Filename :
6199191
Link To Document :
بازگشت