This content is not included in your SAE MOBILUS subscription, or you are not logged in.
JUST SIMPLIFY: Clone Detection for Simulink Controller Models
- Journal Article
- DOI: https://doi.org/10.4271/2016-01-0026
ISSN: 1946-4614, e-ISSN: 1946-4622
Published April 5, 2016 by SAE International in United States
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.
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.