Comparing Multiple MATLAB/Simulink Models Using Static Connectivity Matrix Analysis
Authors:
- Alexander SchlieASAlexander Schlie
- Sandro SchulzeSSSandro Schulze
- Ina SchaeferISIna Schaefer
- 1 September 2018
- conference paper
- Published by Institute of Electrical and Electronics Engineers (IEEE)
- p. 160-171
Abstract
Model-based languages such as MATLAB/Simulink are crucial for the development of embedded software systems. To adapt to changing requirements, engineers commonly copy and modify existing systems to create new variants. Commonly referred to as clone-and-own, this reuse strategy is easy to apply and beneficial in the short term, but it entails severe maintenance and consistency issues in the long term, leading to a huge amount of redundant and similar assets. Moreover, a later transition towards structured reuse such as with software product lines inevitably requires the comparison of all existing variants prior to the actual migration. However, current work mostly revolves around the comparison of only two systems and despite approaches proposed that can cope with more, such are not applicable to embedded software systems such as MATLAB/Simulink. In this paper, we bridge this gap and propose Static Connectivity Matrix Analysis (SCMA), a novel comparison procedure that allows for the evaluation of multiple MATLAB/Simulink model variants at once. In particular, we transform models into a matrix form which is used to compare all models and to identify all similar structures between them, even with model parts being completely relocated during clone-and-own. We allow engineers to tailor results and to focus on any arbitrary variant subset, enabling individual reasoning prior to migration. We provide a feasibility study from the automotive domain, showing our matrix representation to be suitable and our technique to be fast and precise.Keywords
This publication has 48 references indexed in Scilit:
- Identifying and Visualising Commonality and Variability in Model Variants2014
- Quality of Merge-Refactorings for Product Lines2013
- Combining Related Products into Product Lines2012
- Knowledge Discovery and Data Mining2012
- Semantic Clone Detection for Model-Based Development of Embedded Systems2011
- Analysis and Design of Descriptor Linear Systems2010
- Case Study of Software Product Line Engineering in Insurance ProductLecture Notes in Computer Science, 2010
- Software Product Lines in Action2007
- Software Product Line Engineering2005
- Dimension Reduction of Large-Scale Systems2005