sky 1c01e1de78 fork & optimize: 从github上获取官方源码,并进行了一些优化(不过不保证完全没问题) hace 3 años
..
src 1c01e1de78 fork & optimize: 从github上获取官方源码,并进行了一些优化(不过不保证完全没问题) hace 3 años
README.md ecee03f394 Update README.md hace 3 años
pom.xml 9422dec832 Move to new structure hace 4 años

README.md

EMF metamodel language module

The EMF metamodel language module allows the use of JPlag with metamodel submissions. It is based on the EMF API.

EMF specification compatibility

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.

Token Extraction

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.

Usage

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 Info

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.