DocumentCode :
657499
Title :
Finding related events for specification mining
Author :
Ziying Dai ; Xiaoguang Mao ; Liqian Chen ; Yan Lei ; Yi Zhang
Author_Institution :
Coll. of Comput., Nat. Univ. of Defense Technol., Changsha, China
fYear :
2013
fDate :
4-7 Nov. 2013
Firstpage :
1
Lastpage :
2
Abstract :
In contemporary software development practice, programmers reuse components by invoking their APIs to construct large systems. These APIs often involve constraints on the temporal order of method calls. For the example of the file usage, a programmer should first open a file, then read and/or write its content, and at last close it. Trying to read a closed file will cause exceptions to be thrown. Such constraints are often represented as a finite state machine (FSM) with a set of related events (typically method calls) as its alphabet. A set of events are related if interactions among them possibly obey some meaningful temporal specifications. In recent years, various specification mining techniques have been developed to automatically mine API specifications from API client programs [1]. A typical API specification miner conceptually has three steps. First, it decide which events are related. Second, different interactions among related events (which are sub-traces and sample strings of the specification FSM) are extracted either from source code of client programs or from their execution traces. Third, extracted interactions are passed to customized or off-the-shelf FSM learners which generalize these sample sub-traces to recover the specification FSM.
Keywords :
application program interfaces; data mining; file organisation; finite state machines; formal specification; software reusability; source code (software); API client programs; FSM; automatic API specification mining; execution traces; file usage; finite state machine; software component reusage; software development; source code; temporal method call order constraints; temporal specification mining techniques; Computers; Context; Data mining; Educational institutions; Electronic mail; Indexes; Logistics; Component interfaces; Related events; Specification mining; Static analysis;
fLanguage :
English
Publisher :
ieee
Conference_Titel :
Software Reliability Engineering Workshops (ISSREW), 2013 IEEE International Symposium on
Conference_Location :
Pasadena, CA
Type :
conf
DOI :
10.1109/ISSREW.2013.6688847
Filename :
6688847
Link To Document :
بازگشت