Generalized Observational Slicing for Tree-Represented Modelling Languages

被引:13
作者
Gold, Nicolas E. [1 ]
Binkley, David [2 ]
Harman, Mark [1 ]
Islam, Syed [3 ]
Krinke, Jens [1 ]
Yoo, Shin [4 ]
机构
[1] UCL, Dept Comp Sci, Gower St, London WC1E 6BT, England
[2] Loyola Univ Maryland, Dept Comp Sci, Baltimore, MD 21210 USA
[3] Univ East London, Sch Architecture Comp & Engn ACE, London E16 2RD, England
[4] Korea Adv Inst Sci & Technol, Sch Comp, Daejon 34141, South Korea
来源
ESEC/FSE 2017: PROCEEDINGS OF THE 2017 11TH JOINT MEETING ON FOUNDATIONS OF SOFTWARE ENGINEERING | 2017年
基金
英国工程与自然科学研究理事会;
关键词
Slicing; ORBS; Simulink; MATLAB; Observational Slicing;
D O I
10.1145/3106237.3106304
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
Model-driven software engineering raises the abstraction level making complex systems easier to understand than if written in textual code. Nevertheless, large complicated software systems can have large models, motivating the need for slicing techniques that reduce the size of a model. We present a generalization of observation-based slicing that allows the criterion to be defined using a variety of kinds of observable behavior and does not require any complex dependence analysis. We apply our implementation of generalized observational slicing for tree-structured representations to Simulink models. The resulting slice might be the subset of the original model responsible for an observed failure or simply the sub-model semantically related to a classic slicing criterion. Unlike its predecessors, the algorithm is also capable of slicing embedded Stateflow state machines. A study of nine real-world models drawn from four different application domains demonstrates the effectiveness of our approach at dramatically reducing Simulink model sizes for realistic observation scenarios: for 9 out of 20 cases, the resulting model has fewer than 25% of the original model's elements.
引用
收藏
页码:547 / 558
页数:12
相关论文
共 55 条
[1]  
Acharya M, 2011, 2011 33RD INTERNATIONAL CONFERENCE ON SOFTWARE ENGINEERING (ICSE), P746, DOI 10.1145/1985793.1985898
[2]  
AGRAWAL H, 1990, SIGPLAN NOTICES, V25, P246, DOI 10.1145/93548.93576
[3]  
Alliance for Sustainable Energy, 2015, CAMP EN MOD PROJ
[4]   A Theory of Slicing for Probabilistic Control Flow Graphs [J].
Amtoft, Torben ;
Banerjee, Anindya .
FOUNDATIONS OF SOFTWARE SCIENCE AND COMPUTATION STRUCTURES (FOSSACS 2016), 2016, 9634 :180-196
[5]  
Anderson P., 2001, Proceedings of the 1st Workshop on Inspection in Software Engineering, WISE 2001, P4
[6]   State-Based Model Slicing: A Survey [J].
Androutsopoulos, Kelly ;
Clark, David ;
Harman, Mark ;
Krinke, Jens ;
Tratt, Laurence .
ACM COMPUTING SURVEYS, 2013, 45 (04)
[7]   Amorphous Slicing of Extended Finite State Machines [J].
Androutsopoulos, Kelly ;
Clark, David ;
Harman, Mark ;
Hierons, Robert M. ;
Li, Zheng ;
Tratt, Laurence .
IEEE TRANSACTIONS ON SOFTWARE ENGINEERING, 2013, 39 (07) :892-909
[8]  
Androutsopoulos K, 2011, 2011 33RD INTERNATIONAL CONFERENCE ON SOFTWARE ENGINEERING (ICSE), P291, DOI 10.1145/1985793.1985834
[9]  
[Anonymous], IEEE INT WORKSH PROG
[10]  
[Anonymous], 2014, PROC 29 ACMIEEE INT