Garcia-Dominguez, Antonio orcid.org/0000-0002-4744-9150 and Kolovos, Dimitrios S. orcid.org/0000-0002-1724-6563 (2016) Models from code or code as a model? In: Proceedings of the 16th International Workshop on OCL and Textual Modelling:CEUR Workshop Proceedings. , pp. 137-148.
Abstract
Many model-driven engineering workflows take the existing code of a system as an input. Some of these include validation and verification, software modernisation or knowledge extraction. Current approaches take the code and produce a standalone model, instead of treating the code itself as a model and navigating through it on demand. For very large codebases this can be quite expensive to produce, and the resulting model can be too large to suit the simplest monolithic file-based stores. In this work we propose reusing a model that is already incrementally built for us and supports fast lookups: the internal indices maintained by our integrated development environments for code analysis and refactoring. In particular, we show an Epsilon driver that exposes the Eclipse JDT indices of one or more Java projects as a model, and compare its performance and usability against MoDisco for validating Java code with regards to a partial UML model.
Metadata
Item Type: | Proceedings Paper |
---|---|
Authors/Creators: |
|
Dates: |
|
Institution: | The University of York |
Academic Units: | The University of York > Faculty of Sciences (York) > Computer Science (York) The University of York |
Depositing User: | Pure (York) |
Date Deposited: | 18 Sep 2018 10:50 |
Last Modified: | 03 Mar 2025 00:09 |
Status: | Published |
Related URLs: | |
Open Archives Initiative ID (OAI ID): | oai:eprints.whiterose.ac.uk:135861 |