https://www.mdu.se/

mdu.sePublications
Planned maintenance
A system upgrade is planned for 10/12-2024, at 12:00-13:00. During this time DiVA will be unavailable.
Change search
CiteExportLink to record
Permanent link

Direct link
Cite
Citation style
  • apa
  • ieee
  • modern-language-association-8th-edition
  • vancouver
  • Other style
More styles
Language
  • de-DE
  • en-GB
  • en-US
  • fi-FI
  • nn-NO
  • nn-NB
  • sv-SE
  • Other locale
More languages
Output format
  • html
  • text
  • asciidoc
  • rtf
CLONE DETECTION IN MODEL-BASED DESIGN: AN EVALUATION IN THE SAFETY-CRITICAL RAILWAY DOMAIN
Mälardalen University, School of Innovation, Design and Engineering, Embedded Systems.
2021 (English)Independent thesis Advanced level (degree of Master (Two Years)), 20 credits / 30 HE creditsStudent thesis
Abstract [en]

Introduction: Software reuse by copying and modifying components to fit new systems is common in industrial settings. However, it can lead to multiple variants that complicate testing and maintenance. Therefore, it is beneficial to detect the variants in existing codebases to document or incorporate them into a systematic reuse process. For this purpose, model-based clone detection and variability management can be used. Unfortunately, current tools have too high computational complexity to process multiple Simulink models while finding commonalities and differences between them. Therefore, we explore a novel approach called MatAdd that aims to enable large-scale industrial codebases to be processed.

Objective: The primary objective is to process large-scale industrial Simulink codebases to detect the commonalities and differences between the models.

Context and method: The work was conducted in collaboration with Addiva and Alstom to detect variants in Alstom's codebase of Simulink models. Alstom has specific modeling guidelines and conventions that the developers follow. Therefore, we used an exploratory case study to change the research direction depending on Alstom's considerations.

Results and Conclusions: The results show that MatAdd can process large-scale industrial Simulink codebases and detect the commonalities and differences between its models. MatAdd processed Alstom's codebase that contained 157 Simulink models with 7820 blocks and 9627 lines in approximately 90 seconds and returned some type-1, type-2, and type-3 clones. However, current limitations cause some signals to be missed, and a more thorough evaluation is needed to assess its future potential. MatAdd's current state assists developers in finding clones to manually encapsulate into reusable library components or find variants to document to facilitate maintenance.

Place, publisher, year, edition, pages
2021. , p. 41
National Category
Embedded Systems Computer Sciences
Identifiers
URN: urn:nbn:se:mdh:diva-54936OAI: oai:DiVA.org:mdh-54936DiVA, id: diva2:1568943
External cooperation
Addiva; Alstom
Subject / course
Computer Science
Supervisors
Examiners
Available from: 2021-06-18 Created: 2021-06-18 Last updated: 2021-06-18Bibliographically approved

Open Access in DiVA

fulltext(2318 kB)722 downloads
File information
File name FULLTEXT01.pdfFile size 2318 kBChecksum SHA-512
79ec39c9a08eb69d88c35dba3b9179500e37e988a2e9288909a7250dc43b89ca6d7e84514f4dd8c2dace94f214435eb4a83dae30ed1fe30fe737c2d08070e015
Type fulltextMimetype application/pdf

Search in DiVA

By author/editor
Parkkila, Christoffer
By organisation
Embedded Systems
Embedded SystemsComputer Sciences

Search outside of DiVA

GoogleGoogle Scholar
Total: 722 downloads
The number of downloads is the sum of all downloads of full texts. It may include eg previous versions that are now no longer available

urn-nbn

Altmetric score

urn-nbn
Total: 521 hits
CiteExportLink to record
Permanent link

Direct link
Cite
Citation style
  • apa
  • ieee
  • modern-language-association-8th-edition
  • vancouver
  • Other style
More styles
Language
  • de-DE
  • en-GB
  • en-US
  • fi-FI
  • nn-NO
  • nn-NB
  • sv-SE
  • Other locale
More languages
Output format
  • html
  • text
  • asciidoc
  • rtf