Cloning in DSLs: Experiments with OCL

Robert Tairas 1 Jordi Cabot 1
1 ATLANMOD - Modeling Technologies for Software Production, Operation, and Evolution
LINA - Laboratoire d'Informatique de Nantes Atlantique, Département informatique - EMN, Inria Rennes – Bretagne Atlantique
Abstract : Code cloning (i.e., similar code fragments) in general purpose languages has been a major focus of the research community. For domain specific languages (DSLs), cloning related to domain-specific graphical languages has also been considered. This paper focuses on domain-specific textual languages in an effort to evaluate cloning in these DSLs where instances of such DSLs allow for less code to express domain-specific features, but potentially more frequently used code constructs. We suggest potential application scenarios of using clone detection for the maintenance of DSL code. We introduce a clone detection mechanism using a Model Driven Engineering (MDE) based approach to evaluate the extent of cloning in an initial DSL (i.e., the Object Constraint Language (OCL)). The evaluation reveals the existence of cloning in OCL, which suggests the relevance and potential applications of clone detection and analysis in DSLs.
Type de document :
Communication dans un congrès
International Conference on Software Language Engineering, Jul 2011, Braga, Portugal. 2011
Liste complète des métadonnées

https://hal.inria.fr/inria-00619057
Contributeur : Robert Tairas <>
Soumis le : lundi 5 septembre 2011 - 11:18:47
Dernière modification le : vendredi 22 juin 2018 - 09:30:52

Identifiants

  • HAL Id : inria-00619057, version 1

Citation

Robert Tairas, Jordi Cabot. Cloning in DSLs: Experiments with OCL. International Conference on Software Language Engineering, Jul 2011, Braga, Portugal. 2011. 〈inria-00619057〉

Partager

Métriques

Consultations de la notice

364