Scenario-based and value-based specification mining: better together

被引:0
作者
David Lo
Shahar Maoz
机构
[1] Singapore Management University,School of Information Systems
[2] RWTH Aachen University,Dept. of Computer Science 3, Software Engineering
来源
Automated Software Engineering | 2012年 / 19卷
关键词
Specification mining; Dynamic analysis; Live sequence charts; Value-based invariants;
D O I
暂无
中图分类号
学科分类号
摘要
Specification mining takes execution traces as input and extracts likely program invariants, which can be used for comprehension, verification, and evolution related tasks. In this work we integrate scenario-based specification mining, which uses a data-mining algorithm to suggest ordering constraints in the form of live sequence charts, an inter-object, visual, modal, scenario-based specification language, with mining of value-based invariants, which detects likely invariants holding at specific program points. The key to the integration is a technique we call scenario-based slicing, running on top of the mining algorithms to distinguish the scenario-specific invariants from the general ones. The resulting suggested specifications are rich, consisting of modal scenarios annotated with scenario-specific value-based invariants, referring to event parameters and participating object properties.
引用
收藏
页码:423 / 458
页数:35
相关论文
共 31 条
[1]  
Damm W.(2001)LSCs: breathing life into message sequence charts Form. Methods Syst. Des. 19 45-80
[2]  
Harel D.(2001)Dynamically discovering likely program invariants to support program evolution IEEE Trans. Softw. Eng. 27 99-123
[3]  
Ernst M.(2007)The Daikon system for dynamic detection of likely invariants Sci. Comput. Program. 69 35-45
[4]  
Cockrell J.(2000)Mining frequent patterns by pattern-growth: methodology and implications ACM SIGKDD Explor. 2 14-20
[5]  
Griswold W.(2001)From play-in scenarios to code: an achievable dream Computer 34 53-60
[6]  
Notkin D.(2008)Assert and negate revisited: modal semantics for UML sequence diagrams Softw. Syst. Model. 7 237-252
[7]  
Ernst M.D.(2011)On tracing reactive systems Softw. Syst. Model. 10 447-468
[8]  
Perkins J.H.(2011)A compiler for multimodal scenarios: transforming LSCs into AspectJ ACM Trans. Softw. Eng. Methodol. 20 18-280
[9]  
Guo P.J.(1990)Cecil: a sequencing constraint language for automatic static analysis generation IEEE Trans. Softw. Eng. 16 268-292
[10]  
McCamant S.(2011)Mining temporal specifications from object usage Autom. Softw. Eng. 18 263-42