|
|
%!s(int64=3) %!d(string=hai) anos | |
|---|---|---|
| .. | ||
| src | %!s(int64=3) %!d(string=hai) anos | |
| README.md | %!s(int64=4) %!d(string=hai) anos | |
| pom.xml | %!s(int64=4) %!d(string=hai) anos | |
The dynamic 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 all metamodel elements based on their concrete metaclass. In this module, we thus extract tokens based on a dynamic token set.
To use this module, add the -l emf-metamodel-dynamic flag in the CLI, or use a JPlagOption object set to LanguageOption.EMF_DYNAMIC 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.