JUST SIMPLIFY: Clone Detection for Simulink Controller Models 2016-01-0026
Huge Simulink controller models often consists of (almost) identical subsystems, very often resulting from copy-and-paste operations and only slight adaptation of the subsystems by the model engineer. Although this “copy-and-paste” approach might help to achieve initial results very fast, in the long-run such subsystem clones can create considerable problems. Like code clones, model clones increase the effort for testing and maintenance. Model clones also tend to influence the code efficiency and code quality in a negative way in case the Simulink model is used as a basis for code generation. JUST SIMPLIFY is an approach for detecting model clones in a Simulink model automatically based on model metrics calculations. This approach has been implemented in our model metrics and complexity measurement tool M-XRAY. JUST SIMPLIFY allows reducing the effort for model refactoring by avoiding time consuming manual search for model clones. As a result, the effort for testing and for maintaining models can be reduced and the code quality can be improved significantly.
Citation: Salecker, E. and Stuermer, I., "JUST SIMPLIFY: Clone Detection for Simulink Controller Models," SAE Int. J. Passeng. Cars – Electron. Electr. Syst. 9(1):52-58, 2016, https://doi.org/10.4271/2016-01-0026. Download Citation
Author(s):
Elke Salecker, Ingo Stuermer
Affiliated:
Model Engineering Solutions
Pages: 7
Event:
SAE 2016 World Congress and Exhibition
ISSN:
1946-4614
e-ISSN:
1946-4622
Also in:
SAE International Journal of Passenger Cars - Electronic and Electrical Systems-V125-7, SAE International Journal of Passenger Cars - Electronic and Electrical Systems-V125-7EJ
Related Topics:
CAD, CAM, and CAE
Tools and equipment
SAE MOBILUS
Subscribers can view annotate, and download all of SAE's content.
Learn More »