Model-Driven Retrieval of Model Repositories Politecnico di Milano POLO TERRITORIALE DI COMO Master of Science in Computer Engineering Supervisor: Prof. Marco Brambilla Assistant Supervisor: Prof. Alessandro Bozzon Master graduation thesis by: Stefano Celentano, ID: 755287
Model-Driven Development (MDD) is a software development methodology that focuses on the creation and maintenance of domain models as the primary form of expression in the development cycle. One of the fundamental characteristics of such approach is the reuse of software artifacts through their model representation. However, software reuse is impaired by the fact that current systems lack an efficient way to search through the model repositories as many of the current solutions don't tackle the relationships between model artifacts. These relationships are instead important to better satisfy the user information need in a model-driven development scenario.
This thesis aims to define a model-driven methodology for creating model search engines. As opposed to many related works, this methodology is metamodel-independent and exploits the metamodel of the searched project models in order to obtain more precise results. A prototype has been implemented to support such methodology. We address two case studies that deal with the indexing and the retrieving of models from two different collections of UML and WebML projects respectively. Each case study involves several experiments adopting different indexing strategies. Finally, after having manually built the ground truth for each repository, we performed various tests using established Information Retrieval measures like DCG, MRR, MAP, Precision and Recall in order to evaluate the results.
Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Model-Driven Retrieval of Model Repositories
Politecnico di MilanoPOLO TERRITORIALE DI COMO
Master of Science in Computer Engineering
Supervisor: Prof. Marco BrambillaAssistant Supervisor: Prof. Alessandro Bozzon
Multi-field Assigned according to the metamodel concept
Experiment D* Metamodel concept
Multi-field Assigned according to the metamodel concept
* The indexing phase includes a graph-based algorithm that enriches the document representation of a model element with information that are extracted from its neighboring elements.
Model-Driven Retrieval of Model Repositories 9
Prototype Architecture
Data Source
Router Listener BPEL pipeline
Analyzers
Index
Queue
BPELProcessor
Apache Solr
Configurator
• Based on SMILA: an extensible framework for building search solutions to access unstructured information.
• UML Class Diagram• 84 meta-models from AtlanMod• Small size• General purpose
• WebML• 12 real-life industrial projects• Large size• Large quantity of concepts• Domain specific
Model-Driven Retrieval of Model Repositories 12
UML Case Study: Experiment A
location commentsBefore commentsAfter entries predicates name type allFields fields predicate name expression field value LocatedElement Query Entry Field Predicate Expression