|
|
hace 3 años | |
|---|---|---|
| .. | ||
| src | hace 3 años | |
| README.md | hace 3 años | |
| pom.xml | hace 4 años | |
The EMF metamodel language module allows the use of JPlag with metamodel submissions. It is based on the EMF API.
This module is based on the EMF dependencies available on maven central. These might not be the newest versions of EMF. For details, the JPlag aggregator pom.
For the token extraction, we visit the containment tree of the metamodel and extract tokens for certain metamodel elements based on their metaclass. In this module, we extract tokens based on a handcrafted token set. Note that not for all concrete metaclasses tokens are extracted. EFactory, EGenericType, and EObject are ignored. Moreover, for some metaclasses, multiple token types are extracted. Finally, some references are also used for token extraction.
To use this module, add the -l emf-metamodel flag in the CLI, or use a JPlagOption object set to LanguageOption.EMF in the Java API as described in the usage information in the readme of the main project and in the wiki.
More information can be found in the paper "Token-based Plagiarism Detection for Metamodels" (MODELS-C'22). A short summary can be found on Kudos.