@MASTERSTHESIS\{IMM2012-06243, author = "H. Petersen", title = "Clone Detection in Matlab Simulink Models", year = "2012", school = "Technical University of Denmark, {DTU} Informatics, {E-}mail: reception@imm.dtu.dk", address = "Asmussens Alle, Building 305, {DK-}2800 Kgs. Lyngby, Denmark", type = "", note = "Supervised by Associate Professor Flemming Stassen, stassen@imm.dtu.dk, {DTU} Informatics", url = "http://www.imm.dtu.dk/English.aspx", abstract = "A growing amount of embedded software is created by automated code generation from models. As each development project requires a given level of software quality, it is essential for successful projects that a projects quality is monitored and assessed continuously during the development life cycle. While quality assessment tools and processes for conventional software engineering are widely available, quality assessment for models is a fairly young research topic. Clone detection in models is one method to assess and improve a model's maintainability. Matlab Simulink is one of the leading tools for model based software development in the automotive industry. In this thesis a novel clone detection algorithm is proposed. The algorithm was developed by analyzing the structure and characteristics of graph based models in general and Simulink models in particular. In contrary to existing clone detection algorithms the new algorithm follows a top-down approach for identifying potential cloned parts of a model. Further the proposed solution is prototypically implemented in a clone detection tool for Matlab Simulink models." }