A set of metrics for characterizing simulink model comprehension
Keywords:Simulink, Metrics, Comprehension, Embedded Systems
Simulink is a powerful tool for Embedded Systems, playing a key role in dynamic systems modeling. However, far too little attention has been paid to quality of Simulink models. In addition, no research has been found linking the relationship between model complexity and its impact in the comprehension quality of Simulink models. The aim of this paper is to define a set of metrics to support the characterization of Simulink models and to investigate their relationship with the model comprehension property. For this study, we performed a controlled experiment using two versions of a robotic Simulink model — one of them was constructed through the ad hoc development approach and the other one through the re-engineered development approach. The results of the experiment show that the re-engineered model is more comprehensible than the ad hoc model. In summary, the set of metrics collected from each version of the Simulink model suggests an inverse relationship with the model comprehension, i.e., the lower the metrics, the greater the model comprehension.
 E. A. Antonio, F. Ferrari, e S. Fabbri, “A Systematic Mapping of Architectures for Embedded Software”, in II Conference on Critical Embedded Systems (CBSEC), Campinas, Brazil, 2012, p. 1–6.
 R. Obermaisser e H. Kopetz, Orgs., GENESYS: An ARTEMIS Cross-Domain Reference Architecture for Embedded Systems. Suedwestdeutscher Verlag fuer Hochschulschriften, 2009.
 M. Olszewska (pląska), Simulink-Specific Design Quality Metrics. Turku Centre for Computer Science, 2011.
 G. Menkhaus e B. Andrich, “Metric suite for directing the failure mode analysis of embedded software systems”, Information Systems Journal, p. 266–273, 2005.
 C. Cu, Y. Jeppu, S. Hariram, N. N. Murthy, e P. R. Apte, “A new inputoutput based model coverage paradigm for control blocks”, in 2011 IEEE Aerospace Conference, 2011, p. 1–12.
 J. Prabhu, “Complexity Analysis of Simulink Models to improve the Quality of Outsourcing in an Automotive Company”, Technical University of Eindhoven (TUE), ago. 2010.
 P. Marwedel, Embedded System Design:Embedded Systems Foundations of Cyber-Physical Systems, 2o ed. 2011.
 K. Petersen, R. Feldt, S. Mujtaba, e M. Mattsson, “Systematic Mapping Studies in Software engineering”, presented at the 12th International Conference on Evaluation and Assessment in Software Engineering, Bari, Italy, 2008, p. 71–80.
 R. Martin, “OO Design Quality Metrics - An Analysis of Dependencies”, in Workshop Pragmatic and Theoretical Directions in Object-Oriented Software Metrics, 1994.
 S. Fujiwara, G. von Bochmann, F. Khendek, M. Amalou, e A. Ghedamsi, “Test Selection Based on Finite State Models”, IEEE Trans. Softw. Eng., vol. 17, no 6, p. 591–603, jun. 1991.
 S. C. Pinto Ferraz Fabbri, M. E. Delamaro, J. C. Maldonado, e P. C. Masiero, “Mutation analysis testing for finite state machines”, in Software Reliability Engineering, 1994. Proceedings., 5th International Symposium on, 1994, p. 220–229.
 S. Henry e D. Kafura, “Software Structure Metrics Based on Information Flow”, IEEE Transactions on Software Engineering, vol. SE-7, no 5, p. 510– 518, set. 1981.
 R. C. Martin, “UML Tutorial: Finite State Machines”, Engineering Notebook Column C++ Report, jun. 1998.
 G. Freire, L. Pedro, E. Antonio, J. Nepomuceno, G. Caurin, e S. Fabbri, “Applying Reengineering on Simulink Model Assisted by UML Statechart”, in Conference on Critical Embedded Systems (CBSEC), São Carlos, Brazil, 2011, p. 1–6.
 C. Wohlin, P. Runeson, M. Host, C. Ohlsson, B. Regnell, e A. Wesslén, Experimentation in Software Engineering: an Introduction. Kluver Academic Publishers, 2000.
 V. Basili, G. Caldiera, e D. Rombach, “The goal question metric approach”, in Encyclopedia of Software Engineering, Wiley, 1994.
 William Navidi, Statistics for Engineers and Scientists, 3o ed. New York: McGraw-Hill, 2010.