Tailoring complexity metrics for simulink models

The size and complexity of Simulink models is constantly increasing, just as the systems which they represent. Therefore, it is beneficial to control them already at the design phase. In this paper we establish a set of complexity metrics for Simulink models to capture diverse aspects of complexity by proposing new and redefining existing metrics. To evaluate the applicability of our metrics, we compare them with the closed-source metric proposed by Mathworks. Moreover, through a case study from the automotive domain, we relate such metrics to quality attributes as determined by domain experts, and correlate them to known faults. Preliminary assessment suggests that complexity is closely related to analysability, understandability, and testability.

[1]  Anas N. Al-Rabadi,et al.  A comparison of modified reconstructability analysis and Ashenhurst‐Curtis decomposition of Boolean functions , 2004 .

[2]  Robert L. Glass,et al.  Measuring software design quality , 1990 .

[3]  Sallie M. Henry,et al.  Predicting source-code complexity at the design stage , 1990, IEEE Software.

[4]  Charles W. Butler,et al.  Design complexity measurement and testing , 1989, CACM.

[5]  Alexander Serebrenik,et al.  Simulink models are also software: modularity assessment , 2013, QoSA '13.

[6]  Alexander Serebrenik,et al.  Automotive ADLS: a study on enforcing consistency through multiple architectural levels , 2012, QoSA '12.

[7]  Franz Wotawa,et al.  A Novel Industry Grade Dataset for Fault Prediction Based on Model-Driven Developed Automotive Embedded Software , 2015, 2015 IEEE/ACM 12th Working Conference on Mining Software Repositories.

[8]  Manfred Broy,et al.  Automotive software engineering , 2003, 25th International Conference on Software Engineering, 2003. Proceedings..

[9]  Stephen H. Kan,et al.  Metrics and Models in Software Quality Engineering , 1994, SOEN.

[10]  Maurice H. Halstead,et al.  Elements of software science (Operating and programming systems series) , 1977 .

[11]  Bill Curtis,et al.  Third time charm: Stronger prediction of programmer performance by software complexity metrics , 1979, ICSE 1979.

[12]  Marta Olszewska On the impact of rigorous approaches on the quality of development , 2011 .

[13]  Martin Shepperd,et al.  Derivation and Validation of Software Metrics , 1993 .

[14]  Alain Abran,et al.  Software Metrics and Software Metrology , 2010 .

[15]  Yanja Dajsuren,et al.  On the design of an architecture framework and quality evaluation for automotive software systems , 2015 .

[16]  G. D. Frewin,et al.  M.H. Halstead's Software Science - a critical examination , 1982, ICSE '82.

[17]  Rgm Rudolf Huisman,et al.  A quality framework for evaluating automotive architecture , 2014 .

[18]  Andy P. Field,et al.  Discovering Statistics Using SPSS , 2000 .

[19]  Franz Wotawa,et al.  Testing methods used in the automotive industry: results from a survey , 2014, JAMAICA 2014.