DocumentCode :
1995952
Title :
Early Filtering of Polluting Method Calls for Mining Temporal Specifications
Author :
Zhong, Hao ; Zhang, Lu ; Mei, Hong
Author_Institution :
Key Lab. of High Confidence Software Technol., China
fYear :
2008
fDate :
3-5 Dec. 2008
Firstpage :
9
Lastpage :
16
Abstract :
Temporal specifications can describe the legal call sequences of API libraries. With these specifications, verification tools can find defects in existing clients automatically. However, temporal specifications are often not provided due to the high cost of writing them manually or being out-of-date due to the rapid evolution of software. As API clients contain many usages of libraries including temporal rules, various approaches have been proposed to automatically mine temporal specifications from these clients. Typically, only a small part of the mined specifications are real specifications because the generated traces from clients are quite large and polluted. In this paper, we analyze four types of unwanted method calls that are not useful for mining, and we refer to these method calls as polluting method calls. As these method calls are not useful for mining, it is desirable to filter out them as early as possible. To address the problem, we develop a tool, named mining accurate temporal specifications (MATS), that filters out most of the preceding polluting method calls before traces are generated. Our experiments show that with these filtering techniques, the specifications mined by MATS are more accurate than without these filtering techniques. Our experiments also show the detailed impacts of MATS¿s filtering techniques. The results provide further insight on how and why MATS improves existing specification mining.
Keywords :
application program interfaces; data mining; formal specification; program control structures; program diagnostics; program verification; API library; MATS tool; accurate temporal specification mining; defect detection; legal call sequence; polluted method call filtering; software evolution; trace generation; verification tool; Costs; Educational technology; Filtering; Filters; Inspection; Laboratories; Law; Pollution; Software engineering; Software libraries;
fLanguage :
English
Publisher :
ieee
Conference_Titel :
Software Engineering Conference, 2008. APSEC '08. 15th Asia-Pacific
Conference_Location :
Beijing
ISSN :
1530-1362
Print_ISBN :
978-0-7695-3446-6
Type :
conf
DOI :
10.1109/APSEC.2008.53
Filename :
4724526
Link To Document :
بازگشت