z-logo
open-access-imgOpen Access
Toward a Code-Clone Search through the Entire Lifecycle of a Software Product
Author(s) -
Kamiya, Toshihiro
Publication year - 2024
Publication title -
technische universität berlin – universitätsbibliothek
Language(s) - English
DOI - 10.14279/tuj.eceasst.63.932
Subject(s) - computer science , software engineering , clone (java method) , code (set theory) , software , set (abstract data type) , equivalence (formal languages) , software maintenance , adaptability , programming language , sequence (biology) , product (mathematics) , code refactoring , source code , software development , source lines of code , software system , software tool , software development process , software construction , information system , database , data mining , system lifecycle
This paper presents a clone-detection method/tool currently under development. This tool is useful as a code-clone search through the entire lifecycle of a software product; The tool searches code examples and analyzes of code clones in both preventive and postmortem ways[LRHK10]. The approach is based on a sequence equivalence on execution paths[Kam13] and extends the equivalence to include gaps, thus type-3[BKA+07] clone detection. Each of the detected clones is a sub-sequence of an execution path of a given program, in other words, a set of code fragments of multiple procedures (methods) which can be executed in a run of the program. The approach is relaxed in terms of adaptability to incomplete (not-yetfinished) code, but also makes use of concrete information such as types (including hierarchy) and dynamic dispatch when such information is available.

The content you want is available to Zendy users.

Already have an account? Click here to sign in.
Having issues? You can contact us here
Accelerating Research

Address

John Eccles House
Robert Robinson Avenue,
Oxford Science Park, Oxford
OX4 4GP, United Kingdom