Generalization-Driven Semantic Clone Detection in CLP

Résultats de recherche: Contribution à un journal/une revueArticle

3 Téléchargements (Pure)


In this work we provide an algorithm capable of searching for semantic clones in CLP program code. Two code fragments are considered semantically cloned (at least to some extent) when they can both be transformed into a single code fragment thus representing the functionality that is shared between the fragments. While the framework of what constitutes such semantic clones has been established before, it is parametrized by a set of admissible program transformations and no algorithm exists that effectively performs the search with a concrete set of allowed transformations. In this work we use the well-known unfolding and slicing transformations to establish such an algorithm, and we show how the generalization of CLP goals can be a driving factor both for controlling the search process (i.e. keeping it finite) as for guiding the search (i.e. choosing what transformation(s) to apply at what moment).
langue originaleAnglais
Pages (de - à)228-242
Nombre de pages15
journalLecture Notes in Computer Science
Les DOIs
Etat de la publicationPublié - 21 avr. 2020

Empreinte digitale Examiner les sujets de recherche de « Generalization-Driven Semantic Clone Detection in CLP ». Ensemble, ils forment une empreinte digitale unique.

  • Activités

    • 1 Participation à une conférence, un congrès
    • 1 Présentation orale

    29th International Symposium on Logic-Based Program Synthesis and Transformation

    Gonzague Yernaux (Participant), & Wim Vanhoof (Participant)

    8 oct. 201910 oct. 2019

    Activité: Types de Participation ou d'organisation d'un événementParticipation à une conférence, un congrès

    Generalization-driven semantic clone detection in CLP

    Gonzague Yernaux (Orateur), & Wim Vanhoof (Orateur)

    9 oct. 2019

    Activité: Types de discours ou de présentationPrésentation orale

    Contient cette citation