Detecting functionally similar code within the same project

Ryo Tajima, Masataka Nagura, Shingo Takada

Research output: Chapter in Book/Report/Conference proceedingConference contribution

3 Citations (Scopus)

Abstract

Multiple developers often take part in a software development project. Although these developers are collaborating towards the development within the same project, each developer creates code on their own. This may lead to duplicate or similar code appearing in different parts of the software. Such code should be removed to improve maintainability. This paper proposes an approach to automatically detect such code, which we shall call functionally similar code. The unit of detection is at the method level, and we focus on input/output and the method structure using program dependence graph. We show the results of applying our approach on open source software.

Original languageEnglish
Title of host publication2018 IEEE 12th International Workshop on Software Clones, IWSC 2018 - Proceedings
PublisherInstitute of Electrical and Electronics Engineers Inc.
Pages51-57
Number of pages7
Volume2018-January
ISBN (Electronic)9781538664308
DOIs
Publication statusPublished - 2018 Mar 27
Event12th IEEE International Workshop on Software Clones, IWSC 2018 - Campobasso, Italy
Duration: 2018 Mar 20 → …

Other

Other12th IEEE International Workshop on Software Clones, IWSC 2018
CountryItaly
CityCampobasso
Period18/3/20 → …

Keywords

  • Functionally similar code detection
  • Program dependence graph
  • Random testing

ASJC Scopus subject areas

  • Software
  • Safety, Risk, Reliability and Quality

Fingerprint Dive into the research topics of 'Detecting functionally similar code within the same project'. Together they form a unique fingerprint.

Cite this