Communication publiée dans un ouvrage (Colloques, congrès, conférences scientifiques et actes)
FaCoY - A Code-to-Code Search Engine
KIM, Kisub; KIM, Dongsun; BISSYANDE, Tegawendé François D Assise et al.
2018In International Conference on Software Engineering (ICSE 2018)
Peer reviewed
 

Documents


Texte intégral
ICSE2018-FaCoY.pdf
Postprint Éditeur (1.11 MB)
Télécharger

Tous les documents dans ORBilu sont protégés par une licence d'utilisation.

Envoyer vers



Détails



Mots-clés :
code search; code to code; code translation
Résumé :
[en] Code search is an unavoidable activity in software development. Various approaches and techniques have been explored in the literature to support code search tasks. Most of these approaches focus on serving user queries provided as natural language free-form input. However, there exists a wide range of use-case scenarios where a code-to-code approach would be most beneficial. For example, research directions in code transplantation, code diversity, patch recommendation can leverage a code-to-code search engine to find essential ingredients for their techniques. In this paper, we propose FaCoY, a novel approach for statically finding code fragments which may be semantically similar to user input code. FaCoY implements a query alternation strategy: instead of directly matching code query tokens with code in the search space, FaCoY first attempts to identify other tokens which may also be relevant in implementing the functional behavior of the input code. With various experiments, we show that (1) FaCoY is more effective than online code-to-code search engines; (2) FaCoY can detect more semantic code clones (i.e., Type-4) in BigCloneBench than the state-of-theart; (3) FaCoY, while static, can detect code fragments which are indeed similar with respect to runtime execution behavior; and (4) FaCoY can be useful in code/patch recommendation.
Disciplines :
Sciences informatiques
Auteur, co-auteur :
KIM, Kisub ;  University of Luxembourg > Interdisciplinary Centre for Security, Reliability and Trust (SNT)
KIM, Dongsun ;  University of Luxembourg > Interdisciplinary Centre for Security, Reliability and Trust (SNT)
BISSYANDE, Tegawendé François D Assise  ;  University of Luxembourg > Interdisciplinary Centre for Security, Reliability and Trust (SNT)
Choi, Eunjong
Li, Li
KLEIN, Jacques  ;  University of Luxembourg > Interdisciplinary Centre for Security, Reliability and Trust (SNT) > Computer Science and Communications Research Unit (CSC)
LE TRAON, Yves ;  University of Luxembourg > Faculty of Science, Technology and Communication (FSTC) > Computer Science and Communications Research Unit (CSC)
Co-auteurs externes :
yes
Langue du document :
Anglais
Titre :
FaCoY - A Code-to-Code Search Engine
Date de publication/diffusion :
27 mai 2018
Nom de la manifestation :
40th International Conference on Software Engineering
Lieu de la manifestation :
Gothernberg, Suède
Date de la manifestation :
27-05-2018 to 03-06-2018
Titre de l'ouvrage principal :
International Conference on Software Engineering (ICSE 2018)
Peer reviewed :
Peer reviewed
Focus Area :
Computational Sciences
Disponible sur ORBilu :
depuis le 22 août 2018

Statistiques


Nombre de vues
352 (dont 39 Unilu)
Nombre de téléchargements
1081 (dont 24 Unilu)

citations Scopus®
 
110
citations Scopus®
sans auto-citations
98

Bibliographie


Publications similaires



Contacter ORBilu